CVE-2026-74363
bpf: fix UAF by restoring RCU-delayed inode freeing in bpffs
Check your servers for CVE-2026-74363
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-74363 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 UAF by restoring RCU-delayed inode freeing in bpffs
commit 4f375ade6aa9 ("bpf: Avoid RCU context warning when unpinning htab with internal structs") moved inode cleanup from ->free_inode() into ->destroy_inode() to avoid sleeping in RCU context when calling bpf_any_put(). However this removed the RCU delay on freeing the inode itself and the cached symlink body (i_link), both of which can be accessed by RCU pathwalk (pick_link, may_lookup etc.).
This causes a use-after-free when a concurrent unlinkat() drops the last inode reference and destroy_inode() frees the inode immediately, while another task is still walking the path in RCU mode and reads inode->i_opflags (offset +2) inside current_time() -> is_mgtime().
KASAN reports: BUG: KASAN: slab-use-after-free in is_mgtime include/linux/fs.h:2313 Read of size 2 at addr ffff8880407e4282 (offset +2 = i_opflags)
The rules (per Al Viro): ->destroy_inode() called immediately, can sleep, use for blocking cleanup e.g. bpf_any_put() ->free_inode() called after RCU grace period, use for freeing inode and anything RCU-accessible e.g. i_link
Fix: split the two concerns properly: - keep bpf_any_put() in bpf_destroy_inode() since it is blocking and needs to run promptly - introduce bpf_free_inode() to handle kfree(i_link) and free_inode_nonrcu() with proper RCU delay, preventing the UAF
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 2.43% 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 e28616ca3d67e745ecb2f10eba4a626e1fc9a203, before ea1c243c39e32b7fc1c2edfe32081ff7e30a877c affected from 743a620c661994c7f0938e6dd32fb0883fb1e0ea, before 5fecb71c10c28aef276ba49c718dc961745fdcf0 affected from b6e9645be9eb93f7aff3ca887f8edb6f1d63358f, before c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2 affected from ee04cff9ed4d6bb25802f5cecfcd0750500410f3, before 53649846e0437d1d9b7cb993cfe54c367addf7ae affected from 4f375ade6aa9f37fd72d7a78682f639772089eed, before 61f19729728243c82476dee31315143ed3275e7f affected from 4f375ade6aa9f37fd72d7a78682f639772089eed, before 0497ff765746d9b2d17445c8f7cc737b36c0152a affected from 4f375ade6aa9f37fd72d7a78682f639772089eed, before b93c55b4932dd7e32dca8cf34a3443cc87a02906 affected de2d2baecc84cc7fca52eec2b9b55d89c93e3565 affected from 5.15.195, before 5.15.212 affected from 6.1.157, before 6.1.178 affected from 6.6.113, before 6.6.145 affected from 6.12.54, before 6.12.97 affected from 6.17.4, before 6.18
Other versions: unaffected
|
| Linux |
affected 6.18 unaffected before 6.18 unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* 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-74363 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74363
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-74363
trivy image --scanners vuln IMAGE | grep CVE-2026-74363
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/ea1c243c39e32b7fc1c2edfe32081ff7e30a877c git.kernel.org
- https://git.kernel.org/stable/c/5fecb71c10c28aef276ba49c718dc961745fdcf0 git.kernel.org
- https://git.kernel.org/stable/c/c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2 git.kernel.org
- https://git.kernel.org/stable/c/53649846e0437d1d9b7cb993cfe54c367addf7ae git.kernel.org
- https://git.kernel.org/stable/c/61f19729728243c82476dee31315143ed3275e7f git.kernel.org
- https://git.kernel.org/stable/c/0497ff765746d9b2d17445c8f7cc737b36c0152a git.kernel.org
- https://git.kernel.org/stable/c/b93c55b4932dd7e32dca8cf34a3443cc87a02906 git.kernel.org
Source: the record CVE-2026-74363 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