Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-41003

published high CVSS 3.1 · 7.8

bpf: Fix reg_set_min_max corruption of fake_reg

Published
12 Jul 2024, 12:44:39 UTC
Updated
05 Aug 2026, 11:34:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux67420501e8681ae18f9f0ea0a69cd2f432100e70 to < 41e8ab428a9964df378fa45760a660208712145b · 67420501e8681ae18f9f0ea0a69cd2f432100e70 to < 92424801261d1564a0bb759da3cf3ccd69fdf5a2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.9.7 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu jammy linux-buildinfo-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-buildinfo-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-buildinfo-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-buildinfo-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-buildinfo-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-buildinfo-6.8.0-45-generic-64k Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-cloud-tools-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-cloud-tools-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-headers-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-headers-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-headers-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-headers-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-headers-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-headers-6.8.0-45-generic-64k Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-45 Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-45 Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-45 Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-image-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-image-unsigned-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-image-unsigned-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-image-unsigned-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-image-unsigned-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-image-unsigned-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-image-unsigned-6.8.0-45-generic-64k Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-44 Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-44 Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-44 Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-modules-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-modules-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-modules-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-modules-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-modules-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-modules-6.8.0-45-generic-64k Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-modules-extra-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-modules-extra-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-modules-ipu6-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-modules-iwlwifi-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-modules-usbio-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-nvidia-6.8 Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-nvidia-6.8-headers-6.8.0-1013 Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-nvidia-6.8-tools-6.8.0-1013 Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-tools-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-tools-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14~22.04.1 USN-7005-2
Ubuntu jammy linux-tools-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-tools-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1~22.04.1 USN-7008-1
Ubuntu jammy linux-tools-6.8.0-45-generic Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu jammy linux-tools-6.8.0-45-generic-64k Advisory build 6.8.0-45.45~22.04.1 USN-7029-1
Ubuntu noble linux Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-aws Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-aws-cloud-tools-6.8.0-1015 Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-aws-headers-6.8.0-1015 Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-aws-tools-6.8.0-1015 Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-azure Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-azure-cloud-tools-6.8.0-1014 Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-azure-headers-6.8.0-1014 Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-azure-tools-6.8.0-1014 Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-buildinfo-6.8.0-1010-gke Advisory build 6.8.0-1010.13 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1011-raspi Advisory build 6.8.0-1011.12 USN-6999-2
Ubuntu noble linux-buildinfo-6.8.0-1012-ibm Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1012-oem Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1012-oracle Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1012-oracle-64k Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14 USN-7005-1
Ubuntu noble linux-buildinfo-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14 USN-7005-1
Ubuntu noble linux-buildinfo-6.8.0-1013-nvidia-lowlatency Advisory build 6.8.0-1013.14.1 USN-7005-1
Ubuntu noble linux-buildinfo-6.8.0-1013-nvidia-lowlatency-64k Advisory build 6.8.0-1013.14.1 USN-7005-1
Ubuntu noble linux-buildinfo-6.8.0-1014-azure Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-buildinfo-6.8.0-1014-gcp Advisory build 6.8.0-1014.16 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-1015-aws Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-44-generic Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-44-generic-64k Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1 USN-6999-1
Ubuntu noble linux-buildinfo-6.8.0-44-lowlatency-64k Advisory build 6.8.0-44.44.1 USN-6999-1
Ubuntu noble linux-cloud-tools-6.8.0-1014-azure Advisory build 6.8.0-1014.16 USN-7004-1
Ubuntu noble linux-cloud-tools-6.8.0-1015-aws Advisory build 6.8.0-1015.16 USN-6999-1
Ubuntu noble linux-cloud-tools-6.8.0-44 Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-cloud-tools-6.8.0-44-generic Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-cloud-tools-6.8.0-44-lowlatency Advisory build 6.8.0-44.44.1 USN-6999-1
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-44.44 USN-6999-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1014.16 USN-6999-1
Ubuntu noble linux-gcp-headers-6.8.0-1014 Advisory build 6.8.0-1014.16 USN-6999-1
Ubuntu noble linux-gcp-tools-6.8.0-1014 Advisory build 6.8.0-1014.16 USN-6999-1
Ubuntu noble linux-gke Advisory build 6.8.0-1010.13 USN-6999-1
Ubuntu noble linux-gke-headers-6.8.0-1010 Advisory build 6.8.0-1010.13 USN-6999-1
Ubuntu noble linux-gke-tools-6.8.0-1010 Advisory build 6.8.0-1010.13 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1010-gke Advisory build 6.8.0-1010.13 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1011-raspi Advisory build 6.8.0-1011.12 USN-6999-2
Ubuntu noble linux-headers-6.8.0-1012-ibm Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1012-oem Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1012-oracle Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1012-oracle-64k Advisory build 6.8.0-1012.12 USN-6999-1
Ubuntu noble linux-headers-6.8.0-1013-nvidia Advisory build 6.8.0-1013.14 USN-7005-1
Ubuntu noble linux-headers-6.8.0-1013-nvidia-64k Advisory build 6.8.0-1013.14 USN-7005-1
Ubuntu noble linux-headers-6.8.0-1013-nvidia-lowlatency Advisory build 6.8.0-1013.14.1 USN-7005-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix reg_set_min_max corruption of fake_reg Juan reported that after doing some changes to buzzer [0] and implementing a new fuzzing strategy guided by coverage, they noticed the following in one of the probes: [...] 13: (79) r6 = *(u64 *)(r0 +0) ; R0=map_value(ks=4,vs=8) R6_w=scalar() 14: (b7) r0 = 0 ; R0_w=0 15: (b4) w0 = -1 ; R0_w=0xffffffff 16: (74) w0 >>= 1 ; R0_w=0x7fffffff 17: (5c) w6 &= w0 ; R0_w=0x7fffffff R6_w=scalar(smin=smin32=0,smax=umax=umax32=0x7fffffff,var_off=(0x0; 0x7fffffff)) 18: (44) w6 |= 2 ; R6_w=scalar(smin=umin=smin32=umin32=2,smax=umax=umax32=0x7fffffff,var_off=(0x2; 0x7ffffffd)) 19: (56) if w6 != 0x7ffffffd goto pc+1 REG INVARIANTS VIOLATION (true_reg2): range bounds violation u64=[0x7fffffff, 0x7ffffffd] s64=[0x7fffffff, 0x7ffffffd] u32=[0x7fffffff, 0x7ffffffd] s32=[0x7fffffff, 0x7ffffffd] var_off=(0x7fffffff, 0x0) REG INVARIANTS VIOLATION (false_reg1): range bounds violation u64=[0x7fffffff, 0x7ffffffd] s64=[0x7fffffff, 0x7ffffffd] u32=[0x7fffffff, 0x7ffffffd] s32=[0x7fffffff, 0x7ffffffd] var_off=(0x7fffffff, 0x0) REG INVARIANTS VIOLATION (false_reg2): const tnum out of sync with range bounds u64=[0x0, 0xffffffffffffffff] s64=[0x8000000000000000, 0x7fffffffffffffff] u32=[0x0, 0xffffffff] s32=[0x80000000, 0x7fffffff] var_off=(0x7fffffff, 0x0) 19: R6_w=0x7fffffff 20: (95) exit from 19 to 21: R0=0x7fffffff R6=scalar(smin=umin=smin32=umin32=2,smax=umax=smax32=umax32=0x7ffffffe,var_off=(0x2; 0x7ffffffd)) R7=map_ptr(ks=4,vs=8) R9=ctx() R10=fp0 fp-24=map_ptr(ks=4,vs=8) fp-40=mmmmmmmm 21: R0=0x7fffffff R6=scalar(smin=umin=smin32=umin32=2,smax=umax=smax32=umax32=0x7ffffffe,var_off=(0x2; 0x7ffffffd)) R7=map_ptr(ks=4,vs=8) R9=ctx() R10=fp0 fp-24=map_ptr(ks=4,vs=8) fp-40=mmmmmmmm 21: (14) w6 -= 2147483632 ; R6_w=scalar(smin=umin=umin32=2,smax=umax=0xffffffff,smin32=0x80000012,smax32=14,var_off=(0x2; 0xfffffffd)) 22: (76) if w6 s>= 0xe goto pc+1 ; R6_w=scalar(smin=umin=umin32=2,smax=umax=0xffffffff,smin32=0x80000012,smax32=13,var_off=(0x2; 0xfffffffd)) 23: (95) exit from 22 to 24: R0=0x7fffffff R6_w=14 R7=map_ptr(ks=4,vs=8) R9=ctx() R10=fp0 fp-24=map_ptr(ks=4,vs=8) fp-40=mmmmmmmm 24: R0=0x7fffffff R6_w=14 R7=map_ptr(ks=4,vs=8) R9=ctx() R10=fp0 fp-24=map_ptr(ks=4,vs=8) fp-40=mmmmmmmm 24: (14) w6 -= 14 ; R6_w=0 [...] What can be seen here is a register invariant violation on line 19. After the binary-or in line 18, the verifier knows that bit 2 is set but knows nothing about the rest of the content which was loaded from a map value, meaning, range is [2,0x7fffffff] with var_off=(0x2; 0x7ffffffd). When in line 19 the verifier analyzes the branch, it splits the register states in reg_set_min_max() into the registers of the true branch (true_reg1, true_reg2) and the registers of the false branch (false_reg1, false_reg2). Since the test is w6 != 0x7ffffffd, the src_reg is a known constant. Internally, the verifier creates a "fake" register initialized as scalar to the value of 0x7ffffffd, and then passes it onto reg_set_min_max(). Now, for line 19, it is mathematically impossible to take the false branch of this program, yet the verifier analyzes it. It is impossible because the second bit of r6 will be set due to the prior or operation and the constant in the condition has that bit unset (hex(fd) == binary(1111 1101). When the verifier first analyzes the false / fall-through branch, it will compute an intersection between the var_off of r6 and of the constant. This is because the verifier creates a "fake" register initialized to the value of the constant. The intersection result later refines both registers in regs_refine_cond_op(): [...] t = tnum_intersect(tnum_subreg(reg1->var_off), tnum_subreg(reg2->var_off)); reg1->var_o ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached only through the `bpf(BPF_PROG_LOAD)` syscall, which requires local access to the system; the verifier corruption occurs entirely during local program verification. No remote or adjacent network input reaches `check_cond_jmp_op()`. AC:L - The attacker fully authors the BPF instruction sequence that triggers the aliasing (a `JMP32|JNE|K` on a register with a known bit pattern), so the trigger is deterministic and 100% reproducible with no race, timing, or memory-layout dependency. PR:L - Any local unprivileged user can load `BPF_PROG_TYPE_SOCKET_FILTER`/`CGROUP_SKB` programs with zero capabilities when `kernel.unprivileged_bpf_disabled=0`, and otherwise `bpf_token_capable(CAP_BPF)` reduces to `ns_capable()` in a delegated user namespace. UI:N - The attacker loads and triggers their own BPF program end to end; no victim action, mount, or file open is required. S:U - The corrupted verifier state and the resulting memory corruption are both within the kernel's own security authority — standard local privilege escalation with no VM, IOMMU, or sandbox boundary crossed. C:H - The verifier/runtime scalar divergence can be amplified into an out-of-bounds read off a map_value or stack pointer, yielding an arbitrary kernel-memory read primitive that discloses arbitrary kernel data and defeats KASLR. I:H - The same divergence produces an unmasked out-of-bounds write — via an `ARG_CONST_SIZE` helper such as `bpf_skb_load_bytes()`, or via unsanitized pointer ALU on `bpf_capable()` loads — giving attacker-controlled kernel memory corruption and full privilege escalation. A:H - Out-of-bounds kernel reads and writes from a mis-verified program readily corrupt adjacent heap or stack objects, causing oops or panic even in a failed exploitation attempt.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 67420501e8681ae18f9f0ea0a69cd2f432100e70 to < 41e8ab428a9964df378fa45760a660208712145b (affected · git)67420501e8681ae18f9f0ea0a69cd2f432100e70 to < 92424801261d1564a0bb759da3cf3ccd69fdf5a2 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.9.7 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

bpf: Fix reg_set_min_max corruption of fake_reg

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ad6db0627888888587db7fb9352349ce4dbf264cc12a63575aec5e3c8d495b8f
Ingested
23 Sep 2026, 08:26:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected