CVE-2024-40996
JSON

7.8high

bpf: Avoid splat in pskb_pull_reason

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid splat in pskb_pull_reason syzkaller builds (CONFIG_DEBUG_NET=y) frequently trigger a debug hint in pskb_may_pull. We'd like to retain this debug check because it might hint at integer overflows and other issues (kernel code should pull headers, not huge value). In bpf case, this splat isn't interesting at all: such (nonsensical) bpf programs are typically generated by a fuzzer anyway. Do what Eric suggested and suppress such warning. For CONFIG_DEBUG_NET=n we don't need the extra check because pskb_may_pull will do the right thing: return an error without the WARN() backtrace.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 8af60bb2b215f478b886f1d6d302fefa7f0b917d before dacc15e9cb248d19e5fc63c54bef0b9b55007761, from 1b2b26595bb09febf14c5444c873ac4ec90a5a77 before 7f9644782c559635bd676c12c59389a34ed7c866, from 219eee9c0d16f1b754a8b85275854ab17df0850a before 5e90258303a358e88737afb5048bee9113beea3a, from 219eee9c0d16f1b754a8b85275854ab17df0850a before 2bbe3e5a2f4ef69d13be54f1cf895b4658287080, fff05b2b004d9a8a2416d08647f3dc9068e357c8, from 6.1.86 before 6.1.96, from 6.6.27 before 6.6.36, from 6.8.6 before 6.9 and 1 more
Not affected: before 6.9, from 6.1.96 up to 6.1.*, from 6.6.36 up to 6.6.*, from 6.9.7 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 6.1.86 before 6.1.96, from 6.6.27 before 6.6.36, from 6.9 before 6.9.7, 6.10NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid splat in pskb_pull_reason syzkaller builds (CONFIG_DEBUG_NET=y) frequently trigger a debug hint in pskb_may_pull. We'd like to retain this debug check because it might hint at integer overflows and other issues (kernel code should pull headers, not huge value). In bpf case, this splat isn't interesting at all: such (nonsensical) bpf programs are typically generated by a fuzzer anyway. Do what Eric suggested and suppress such warning. For CONFIG_DEBUG_NET=n we don't need the extra check because pskb_may_pull will do the right thing: return an error without the WARN() backtrace.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: evitar splat en pskb_pull_reason compilaciones de syzkaller (CONFIG_DEBUG_NET=y) frecuentemente activa una sugerencia de depuración en pskb_may_pull. Nos gustaría conservar esta verificación de depuración porque podría indicar desbordamientos de enteros y otros problemas (el código del kernel debe extraer encabezados, no valores enormes). En el caso de bpf, este símbolo no es nada interesante: estos programas bpf (sin sentido) normalmente son generados por un fuzzer de todos modos. Haga lo que Eric sugirió y suprima esa advertencia. Para CONFIG_DEBUG_NET=n no necesitamos la verificación adicional porque pskb_may_pull hará lo correcto: devolver un error sin el rastreo WARN().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-40996 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-40996 changed 2026-06-17Public domain