CVE-2026-72427
bpf: Fix effective prog array index with BPF_F_PREORDER
Check your servers for CVE-2026-72427
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72427 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.13% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bc8023ef3b11410682e5d4990e05e5bc2d3e1c94, before 525e408c27ae714e538b8c608c3a974df3ab6c92 affected from 555c0b713ca83968d3c843cb15485b9ba3367b1b, before 41b4320b84fdafe1ab586b06453d30d50415db59 affected from 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, before 9697db03e010391c55ae75192cbdf30c5a72c114 affected from 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, before b584f107ab90222bd825dcb4c5977326ff684109 affected from 4b82b181a26cff8bf7adc3a85a88d121d92edeaf, before f08aaee3152d0dfc578b3f2586932d82062701dd affected 4707ad649cf662add3058bff47430817811b048d affected from 6.6.93, before 6.6.145 affected from 6.12.31, before 6.12.97 affected from 6.14.9, before 6.15
Other versions: unaffected
|
| Linux |
affected 6.15 unaffected before 6.15 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72427 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72427
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72427
trivy image --scanners vuln IMAGE | grep CVE-2026-72427
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/525e408c27ae714e538b8c608c3a974df3ab6c92 git.kernel.org
- https://git.kernel.org/stable/c/41b4320b84fdafe1ab586b06453d30d50415db59 git.kernel.org
- https://git.kernel.org/stable/c/9697db03e010391c55ae75192cbdf30c5a72c114 git.kernel.org
- https://git.kernel.org/stable/c/b584f107ab90222bd825dcb4c5977326ff684109 git.kernel.org
- https://git.kernel.org/stable/c/f08aaee3152d0dfc578b3f2586932d82062701dd git.kernel.org
Source: the record CVE-2026-72427 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse