Skip to main content
← All vulnerabilities
CVE-2024-40996

bpf: Avoid splat in pskb_pull_reason

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.96, 6.6.36, 6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.1.86 · fixed in 6.1.96; From 6.6.27 · fixed in 6.6.36; From 6.8.6 · fixed in 6.9

  • Linux Linux

    6.9

References 4

git.kernel.org