VDB

CVE-2024-40996

CVE-2024-40996 PUBLISHED

bpf: Avoid splat in pskb_pull_reason

Reported by linux · Published July 12, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.96-102.177.amzn2023
kernelAmazon Linux6.1.96-102.177.amzn2023
kernel-headersAmazon Linux6.1.96-102.177.amzn2023
bpftoolAmazon Linux6.1.96-102.177.amzn2023
kernel-libbpfAmazon Linux6.1.96-102.177.amzn2023
python3-perfAmazon Linux6.1.96-102.177.amzn2023
kernel-livepatch-6.1.96-102.177Amazon Linux1.0-0.amzn2023
linux_kernellinux6.9.7, 6.6.36, 6.1.96

Affected products

VendorProductVersions
LinuxLinux8af60bb2b215f478b886f1d6d302fefa7f0b917d, 1b2b26595bb09febf14c5444c873ac4ec90a5a77, 219eee9c0d16f1b754a8b85275854ab17df0850a
LinuxLinux6.9, 0, 6.1.96
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023bpftool0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.96-102.1770
linuxlinux_kernel6.8.6, 6.1.86, 6.6.27
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
LinuxLinux8af60bb2b215f478b886f1d6d302fefa7f0b917d, 1b2b26595bb09febf14c5444c873ac4ec90a5a77, 219eee9c0d16f1b754a8b85275854ab17df0850a

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 7, 2026 Security Advisory (271 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (174 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40996
vulnetix vdb fixes CVE-2024-40996

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40996/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›