# CVE-2026-74363: bpf: fix UAF by restoring RCU-delayed inode freeing in bpffs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-08-15T05:58:46.220Z
- **Modified:** 2026-10-16T19:17:41.930Z

## Who should check

- Anyone running Linux \>= e28616ca3d67e745ecb2f10eba4a626e1fc9a203, \< ea1c243c39e32b7fc1c2edfe32081ff7e30a877c; \>= 743a620c661994c7f0938e6dd32fb0883fb1e0ea, \< 5fecb71c10c28aef276ba49c718dc961745fdcf0; \>= b6e9645be9eb93f7aff3ca887f8edb6f1d63358f, \< c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2; \>= ee04cff9ed4d6bb25802f5cecfcd0750500410f3, \< 53649846e0437d1d9b7cb993cfe54c367addf7ae; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 61f19729728243c82476dee31315143ed3275e7f; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 0497ff765746d9b2d17445c8f7cc737b36c0152a; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< b93c55b4932dd7e32dca8cf34a3443cc87a02906; de2d2baecc84cc7fca52eec2b9b55d89c93e3565; \>= 5.15.195, \< 5.15.212; \>= 6.1.157, \< 6.1.178; …
- Anyone running Linux 6.18

## 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

## Affected and fixed versions

- Linux: \>= e28616ca3d67e745ecb2f10eba4a626e1fc9a203, \< ea1c243c39e32b7fc1c2edfe32081ff7e30a877c; \>= 743a620c661994c7f0938e6dd32fb0883fb1e0ea, \< 5fecb71c10c28aef276ba49c718dc961745fdcf0; \>= b6e9645be9eb93f7aff3ca887f8edb6f1d63358f, \< c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2; \>= ee04cff9ed4d6bb25802f5cecfcd0750500410f3, \< 53649846e0437d1d9b7cb993cfe54c367addf7ae; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 61f19729728243c82476dee31315143ed3275e7f; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 0497ff765746d9b2d17445c8f7cc737b36c0152a; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< b93c55b4932dd7e32dca8cf34a3443cc87a02906; de2d2baecc84cc7fca52eec2b9b55d89c93e3565; \>= 5.15.195, \< 5.15.212; \>= 6.1.157, \< 6.1.178; … (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74363. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74363.md
Affected: Linux >= e28616ca3d67e745ecb2f10eba4a626e1fc9a203, < ea1c243c39e32b7fc1c2edfe32081ff7e30a877c; >= 743a620c661994c7f0938e6dd32fb0883fb1e0ea, < 5fecb71c10c28aef276ba49c718dc961745fdcf0; >= b6e9645be9eb93f7aff3ca887f8edb6f1d63358f, < c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2; >= ee04cff9ed4d6bb25802f5c…
Fixed in: Linux 5fecb71c10c28aef276ba49c718dc961745fdcf0, Linux 53649846e0437d1d9b7cb993cfe54c367addf7ae, Linux 61f19729728243c82476dee31315143ed3275e7f, Linux 0497ff765746d9b2d17445c8f7cc737b36c0152a, Linux 5.15.212, Linux 6.1.178

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.
```

## FAQ

### Is CVE-2026-74363 being exploited?

There is no confirmed exploitation: CVE-2026-74363 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-28).

### How serious is CVE-2026-74363?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74363?

Linux \>= e28616ca3d67e745ecb2f10eba4a626e1fc9a203, \< ea1c243c39e32b7fc1c2edfe32081ff7e30a877c; \>= 743a620c661994c7f0938e6dd32fb0883fb1e0ea, \< 5fecb71c10c28aef276ba49c718dc961745fdcf0; \>= b6e9645be9eb93f7aff3ca887f8edb6f1d63358f, \< c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2; \>= ee04cff9ed4d6bb25802f5cecfcd0750500410f3, \< 53649846e0437d1d9b7cb993cfe54c367addf7ae; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 61f19729728243c82476dee31315143ed3275e7f; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< 0497ff765746d9b2d17445c8f7cc737b36c0152a; \>= 4f375ade6aa9f37fd72d7a78682f639772089eed, \< b93c55b4932dd7e32dca8cf34a3443cc87a02906; de2d2baecc84cc7fca52eec2b9b55d89c93e3565; \>= 5.15.195, \< 5.15.212; \>= 6.1.157, \< 6.1.178; …; Linux 6.18.

### Is there a fix for CVE-2026-74363?

Yes. Fixed in Linux 5fecb71c10c28aef276ba49c718dc961745fdcf0, Linux 53649846e0437d1d9b7cb993cfe54c367addf7ae, Linux 61f19729728243c82476dee31315143ed3275e7f, Linux 0497ff765746d9b2d17445c8f7cc737b36c0152a, Linux 5.15.212, Linux 6.1.178. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74363?

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.

## References

- other: <https://git.kernel.org/stable/c/ea1c243c39e32b7fc1c2edfe32081ff7e30a877c>
- other: <https://git.kernel.org/stable/c/5fecb71c10c28aef276ba49c718dc961745fdcf0>
- other: <https://git.kernel.org/stable/c/c70d0f9114c3cc156f6029a400c4eb7e6f7c82b2>
- other: <https://git.kernel.org/stable/c/53649846e0437d1d9b7cb993cfe54c367addf7ae>
- other: <https://git.kernel.org/stable/c/61f19729728243c82476dee31315143ed3275e7f>
- other: <https://git.kernel.org/stable/c/0497ff765746d9b2d17445c8f7cc737b36c0152a>
- other: <https://git.kernel.org/stable/c/b93c55b4932dd7e32dca8cf34a3443cc87a02906>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74363>

HTML: <https://flawdb.com/CVE-2026-74363> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74363>
