Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138942

published

powerpc64/bpf: fix percpu private stack leak on JIT failure

Published
30 Nov 2026, 13:26:24 UTC
Updated
30 Nov 2026, 13:26:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux156d985123b6d6e5189cfd0286b93c12167ae798 to < 67511cced5a1b9e4f1787b0ea1e53ca076f42639 · 156d985123b6d6e5189cfd0286b93c12167ae798 to < 24affb84d98e6b37b276aa57e5dd25ad93458cea · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc64/bpf: fix percpu private stack leak on JIT failure The existing conditional statement in bpf_int_jit_compile() frees the percpu private stack at out_addrs only when the image buffer was never allocated. If bpf_jit_build_body() fails during a code-generation pass, the image buffer has already been allocated, so !image is false and the percpu stack is not freed. Because JIT compilation failed, fp->jited remains at 0. The subsequent bpf_jit_free() path only frees priv_stack_ptr when fp->jited is set, so freeing is skipped here too, leaking the percpu allocation. Fix implements freeing the private stack whenever fp->jited was not set, i.e. compilation did not succeed, instead of keying off !image. !fp->jited already covers the !image case, since image is only NULL on early-failure paths where fp->jited is likewise 0.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 156d985123b6d6e5189cfd0286b93c12167ae798 to < 67511cced5a1b9e4f1787b0ea1e53ca076f42639 (affected · git)156d985123b6d6e5189cfd0286b93c12167ae798 to < 24affb84d98e6b37b276aa57e5dd25ad93458cea (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

powerpc64/bpf: fix percpu private stack leak on JIT failure

Provenance

Schema
5.2
Searchable
yes
Content hash
4c9180621758fcd2122790c3cfbf82a99e51226cfe914c2cc72ecffe7cd5e032
Ingested
30 Nov 2026, 13:36:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected