Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-40996
HistoryJul 12, 2024 - 12:00 a.m.

CVE-2024-40996

2024-07-1200:00:00
ubuntu.com
ubuntu.com
1
linux kernel
bpf vulnerability
cve-2024-40996
debug hint
pskb_pull_reason
config_debug_net

AI Score

7.3

Confidence

Low

EPSS

0

Percentile

5.0%

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.

Notes

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.

AI Score

7.3

Confidence

Low

EPSS

0

Percentile

5.0%