Skip to main content
VulnerabilityPublished

CVE-2026-138942: Linux kernel · powerpc64/bpf: fix percpu private stack leak on JIT failure

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138942

Not known to be exploited : upgrade to 67511cced5a1b9e4f1787b0ea1e53ca076f42639 or 24affb84d98e6b37b276aa57e5dd25ad93458cea when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 67511cced5a1b9e4f1787b0ea1e53ca076f42639, 24affb84d98e6b37b276aa57e5dd25ad93458cea

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to 67511cced5a1b9e4f1787b0ea1e53ca076f42639 or 24affb84d98e6b37b276aa57e5dd25ad93458cea.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 156d985123b6d6e5189cfd0286b93c12167ae798, < 67511cced5a1b9e4f1787b0ea1e53ca076f42639
Fixed in
  • 67511cced5a1b9e4f1787b0ea1e53ca076f42639
LinuxLinuxAffected
  • ≥ 156d985123b6d6e5189cfd0286b93c12167ae798, < 24affb84d98e6b37b276aa57e5dd25ad93458cea
Fixed in
  • 24affb84d98e6b37b276aa57e5dd25ad93458cea
LinuxLinuxAffected
  • =7.1
Fixed in–

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.

References

Community reviews

Loading reviews…