CVE-2025-38339: Linux kernel · powerpc/bpf: fix JIT code size calculation of bpf trampoline
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 13 Nov 2026, 20:01 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 13 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to correct the JIT code size calculation by accounting for the maximum possible instructions during the dummy pass. Users should update to the fixed kernel version once available. No other specific mitigations are indicated.
Description
CVE-2025-38339 is a vulnerability in the Linux kernel's powerpc architecture related to the BPF trampoline JIT code size calculation. The function arch_bpf_trampoline_size() calculates the JIT code size before allocating the buffer, but the actual number of instructions emitted can vary depending on the final image location. This mismatch can cause a warning due to potential buffer overflow risks during JIT compilation.