CVEBrief

Home / Linux / Linux / CVE-2026-138941

CVE-2026-138941: is it exploited, and which versions of Linux are affected and fixed?

CVE-2026-138941 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Linux from 5.18 until the fixed versions (CVE record by Linux). Fixed in 6.1.193, 6.6.163, 6.12.118, 6.18.64 and 2 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 30, 2026, 13:35 UTC and NVD November 30, 2026, 15:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
Linux from 5.18 until the fixed versions
CVE record by Linux
Fixed in
6.1.193, 6.6.163, 6.12.118, 6.18.64 and 2 more
CVE record by Linux
Exploit odds (EPSS)
0.22% in 30 days
higher than 14% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-138941?

In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: fix buffer overflow in JIT for large BPF programs During size calculation in pass-0, exit_addr is 0 since addrs[fp->len] is not yet populated. bpf_jit_emit_exit_insn() treats a zero exit_addr as in-range and skips bpf_jit_build_epilogue(), so the alternate inline epilogue instructions are not counted in alloclen. In later passes, if the real exit_addr falls outside the 32MB branch range, the full inline epilogue is emitted into the already-allocated buffer, writing past its end and corrupting adjacent memory. Fix by ensuring exit_addr is non-zero before treating it as in-range, so pass-0 always falls through to bpf_jit_build_epilogue() and conservatively accounts for all epilogue instructions in alloclen. Also range check alt_exit_addr directly in the else-if condition. Since exit_addr handling now falls through to the epilogue, two related issues in bpf_int_jit_compile() must also be addressed: 1. Reset cgctx.alt_exit_addr before the second size-calculation pass. Without this, a stale alt_exit_addr from the first pass causes the second pass to emit a single jump instead of the full epilogue, undercounting alloclen and reintroducing the overflow. 2. Recompute addrs[fp->len] at the end of each code-generation pass. The larger pass-0 body can shrink in later passes as out-of-range exits settle into in-range jumps; a stale addrs[fp->len] would leave exit branches targeting past the real (shrunken) epilogue. Because shrinkage in a later pass can move the epilogue offset, the fixed two-pass loop is no longer sufficient: an exit that was out of range in an earlier pass may fall in range once the epilogue offset shrinks, shrinking the body further and overwriting the start of the epilogue. Convert the code-generation loop to iterate until the program size converges, bounded by CODEGEN_MAX_PASSES, and fail the JIT if it does not converge.

From the CVE record by Linux, last updated November 30, 2026, 13:26 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 5.18 until the fixed versions6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1

As the CVE record by Linux states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Is CVE-2026-138941 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.22% probability of exploitation activity in the next 30 days, percentile 13.8 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 30, 2026
Published
November 30, 2026, 13:26 UTC
CVE record updated
November 30, 2026, 13:26 UTC by Linux
NVD
Received, last modified November 30, 2026, 14:17 UTC
Last checked
CVE list November 30, 2026, 13:35 UTC; NVD November 30, 2026, 15:09 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2026-138941

Is CVE-2026-138941 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2026-138941?

Linux from 5.18 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2026-138941?

6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4 and 7.4-rc1, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2026-138941?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.