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.
Author | Note |
---|---|
sbeattie | TODO: double-check that CONFIG_DEBUG_NET is not enabled in all Ubuntu kernels; that seems to be the case for bionic, focal, and jammy kernels. |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-gcp | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-gke | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-ibm | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-intel | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-lowlatency | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-nvidia | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-oem-6.8 | < any | UNKNOWN |
git.kernel.org/linus/2bbe3e5a2f4ef69d13be54f1cf895b4658287080 (6.10-rc5)
git.kernel.org/stable/c/2bbe3e5a2f4ef69d13be54f1cf895b4658287080
git.kernel.org/stable/c/5e90258303a358e88737afb5048bee9113beea3a
git.kernel.org/stable/c/7f9644782c559635bd676c12c59389a34ed7c866
git.kernel.org/stable/c/dacc15e9cb248d19e5fc63c54bef0b9b55007761
launchpad.net/bugs/cve/CVE-2024-40996
nvd.nist.gov/vuln/detail/CVE-2024-40996
security-tracker.debian.org/tracker/CVE-2024-40996
www.cve.org/CVERecord?id=CVE-2024-40996