CVE-2026-72427
bpf: Fix effective prog array index with BPF_F_PREORDER
Mitigation
- Upgrade Linux to 6.15 or later.
Who should check
- Anyone running Linux >= bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, < 525e408c27ae714e538b8c608c3a974df3ab6c92; >= 555c0b713ca83968d3c843cb15485b9ba3367b1b, < 41b4320b84fdafe1ab586b06453d30d50415db59; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < 9697db03e010391c55ae75192cbdf30c5a72c114; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < b584f107ab90222bd825dcb4c5977326ff684109; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < f08aaee3152d0dfc578b3f2586932d82062701dd; 4707ad649cf662add3058bff47430817811b048d; >= 6.6.93, < 6.6.145; >= 6.12.31, < 6.12.97; >= 6.14.9, < 6.15
- Anyone running Linux 6.15
Vulnerability facts
- Affected
- Linux >= bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, < 525e408c27ae714e538b8c608c3a974df3ab6c92; >= 555c0b713ca83968d3c843cb15485b9ba3367b1b, < 41b4320b84fdafe1ab586b06453d30d50415db59; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < 9697db03e010391c55ae75192cbdf30c5a72c114; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < b584f107ab90222bd825dcb4c5977326ff684109; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < f08aaee3152d0dfc578b3f2586932d82062701dd; 4707ad649cf662add3058bff47430817811b048d; >= 6.6.93, < 6.6.145; >= 6.12.31, < 6.12.97; >= 6.14.9, < 6.15; Linux 6.15
- Fixed in
- Linux 525e408c27ae714e538b8c608c3a974df3ab6c92, Linux 41b4320b84fdafe1ab586b06453d30d50415db59, Linux 9697db03e010391c55ae75192cbdf30c5a72c114, Linux 6.6.145, Linux 6.12.97, Linux 6.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix effective prog array index with BPF_F_PREORDER replace_effective_prog() and purge_effective_progs() located the slot in the effective array by walking the program hlist and counting entries linearly. That count does not match the array layout: compute_effective_ progs() places BPF_F_PREORDER programs at the front (ancestor cgroup first, attach order within a cgroup) and the rest after them (descendant cgroup first). So when a preorder program is present, the linear hlist position no longer equals the program's index in the effective array. For replace_effective_prog() (bpf_link_update()) this overwrote the wrong slot, corrupting the effective order. For purge_effective_progs(), it could dummy out a slot belonging to a different program and leave the detached program in the array while bpf_prog_put() drops its reference, i.e. a use-after-free. Fix both by replaying compute_effective_progs()'s placement (including the per-cgroup preorder reversal) in a shared effective_prog_pos() helper. Identify the entry by its struct bpf_prog_list pointer rather than by (prog, link) value, so the lookup resolves to exactly the attachment the syscall selected even when the same bpf_prog is attached to several cgroups in the hierarchy.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, < 525e408c27ae714e538b8c608c3a974df3ab6c92; >= 555c0b713ca83968d3c843cb15485b9ba3367b1b, < 41b4320b84fdafe1ab586b06453d30d50415db59; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < 9697db03e010391c55ae75192cbdf30c5a72c114; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < b584f107ab90222bd825dcb4c5977326ff684109; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < f08aaee3152d0dfc578b3f2586932d82062701dd; 4707ad649cf662add3058bff47430817811b048d; >= 6.6.93, < 6.6.145; >= 6.12.31, < 6.12.97; >= 6.14.9, < 6.15 | — | cvelist |
| Linux | 6.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-72427. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72427.md Affected: Linux >= bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, < 525e408c27ae714e538b8c608c3a974df3ab6c92; >= 555c0b713ca83968d3c843cb15485b9ba3367b1b, < 41b4320b84fdafe1ab586b06453d30d50415db59; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < 9697db03e010391c55ae75192cbdf30c5a72c114; >= 4b82b181a26cff8bf7adc3a… Fixed in: Linux 525e408c27ae714e538b8c608c3a974df3ab6c92, Linux 41b4320b84fdafe1ab586b06453d30d50415db59, Linux 9697db03e010391c55ae75192cbdf30c5a72c114, Linux 6.6.145, Linux 6.12.97, Linux 6.15 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/525e408c27ae714e538b8c608c3a974df3ab6c92
- https://git.kernel.org/stable/c/41b4320b84fdafe1ab586b06453d30d50415db59
- https://git.kernel.org/stable/c/9697db03e010391c55ae75192cbdf30c5a72c114
- https://git.kernel.org/stable/c/b584f107ab90222bd825dcb4c5977326ff684109
- https://git.kernel.org/stable/c/f08aaee3152d0dfc578b3f2586932d82062701dd
FAQ
Is CVE-2026-72427 being exploited?
There is no confirmed exploitation: CVE-2026-72427 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72427?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-72427?
Linux >= bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, < 525e408c27ae714e538b8c608c3a974df3ab6c92; >= 555c0b713ca83968d3c843cb15485b9ba3367b1b, < 41b4320b84fdafe1ab586b06453d30d50415db59; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < 9697db03e010391c55ae75192cbdf30c5a72c114; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < b584f107ab90222bd825dcb4c5977326ff684109; >= 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, < f08aaee3152d0dfc578b3f2586932d82062701dd; 4707ad649cf662add3058bff47430817811b048d; >= 6.6.93, < 6.6.145; >= 6.12.31, < 6.12.97; >= 6.14.9, < 6.15; Linux 6.15.
Is there a fix for CVE-2026-72427?
Yes. Fixed in Linux 525e408c27ae714e538b8c608c3a974df3ab6c92, Linux 41b4320b84fdafe1ab586b06453d30d50415db59, Linux 9697db03e010391c55ae75192cbdf30c5a72c114, Linux 6.6.145, Linux 6.12.97, Linux 6.15. Upgrade Linux to 6.15 or later.
How do I check if I'm affected by CVE-2026-72427?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.