# CVE-2026-74359: configfs\_lookup(): don't leave -\>s\_dentry dangling on failure

> 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-26)
- **Published:** 2026-08-15T05:58:43.456Z
- **Modified:** 2026-10-16T19:17:41.620Z

## Who should check

- Anyone running Linux \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 3e83b2203aa59bd279e4f677ec793d49dc9d019e; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< b6e9c82522ddaa3ac0706b295ff4a71975d4f883; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< eee07d769da5ac4e4f7bd0bc17828646a318d499; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 9c747dcee164ead300de90550ad9e4122f0d1bbb; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< c3b073a209a9baa691b744318ac929fecdd8847c; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 57088b06109f3222963c639d8d743f42c2899b13; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 10da12d352b7b2bb330a8609fdda9a58bf0e9856
- Anyone running Linux 2.6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

configfs\_lookup(): don't leave -\>s\_dentry dangling on failure

Normally -\>s\_dentry is cleared when dentry it's pointing to becomes
negative (on eviction, realistically).  However, that only happens
if dentry gets to be positive in the first place; in case of inode
allocation failure dentry never becomes positive, so -\>d\_iput()
is not called at all.

We do part of what normally would've been done by configfs\_d\_iput()
(dropping the reference to configfs\_dirent) manually, but we do
not clear -\>s\_dentry there.  Sloppy as it is, it does not matter in
case of configfs\_create\_{dir,link}() - there configfs\_dirent does
not survive dropping the sole reference to it.

However, for configfs\_lookup() it \*does\* survive, with a dangling
pointer to soon to be freed dentry sitting it its -\>s\_dentry.

Subsequent getdents(2) in that directory will end up dereferencing
that pointer in order to pick the inode number.  Use after free...

This is the minimal fix; the right approach is to set the linkage
between dentry and configfs\_dirent only after we know that we have
an inode, but that takes more surgery and the bug had been there
since 2006, so...

## Affected and fixed versions

- Linux: \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 3e83b2203aa59bd279e4f677ec793d49dc9d019e; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< b6e9c82522ddaa3ac0706b295ff4a71975d4f883; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< eee07d769da5ac4e4f7bd0bc17828646a318d499; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 9c747dcee164ead300de90550ad9e4122f0d1bbb; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< c3b073a209a9baa691b744318ac929fecdd8847c; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 57088b06109f3222963c639d8d743f42c2899b13; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 10da12d352b7b2bb330a8609fdda9a58bf0e9856 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 10da12d352b7b2bb330a8609fdda9a58bf0e9856 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74359.md
Affected: Linux >= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, < 3e83b2203aa59bd279e4f677ec793d49dc9d019e; >= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, < b6e9c82522ddaa3ac0706b295ff4a71975d4f883; >= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, < eee07d769da5ac4e4f7bd0bc17828646a318d499; >= 3d0f89bb169482d26d5aa4e…
Fixed in: Linux 3e83b2203aa59bd279e4f677ec793d49dc9d019e, Linux 9c747dcee164ead300de90550ad9e4122f0d1bbb, Linux 57088b06109f3222963c639d8d743f42c2899b13, Linux 10da12d352b7b2bb330a8609fdda9a58bf0e9856

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-74359 being exploited?

There is no confirmed exploitation: CVE-2026-74359 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-74359?

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

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

Linux \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 3e83b2203aa59bd279e4f677ec793d49dc9d019e; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< b6e9c82522ddaa3ac0706b295ff4a71975d4f883; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< eee07d769da5ac4e4f7bd0bc17828646a318d499; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 9c747dcee164ead300de90550ad9e4122f0d1bbb; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< c3b073a209a9baa691b744318ac929fecdd8847c; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 57088b06109f3222963c639d8d743f42c2899b13; \>= 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, \< 10da12d352b7b2bb330a8609fdda9a58bf0e9856; Linux 2.6.16.

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

Yes. Fixed in Linux 3e83b2203aa59bd279e4f677ec793d49dc9d019e, Linux 9c747dcee164ead300de90550ad9e4122f0d1bbb, Linux 57088b06109f3222963c639d8d743f42c2899b13, Linux 10da12d352b7b2bb330a8609fdda9a58bf0e9856. Upgrade Linux to 10da12d352b7b2bb330a8609fdda9a58bf0e9856 or later.

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

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/3e83b2203aa59bd279e4f677ec793d49dc9d019e>
- other: <https://git.kernel.org/stable/c/b6e9c82522ddaa3ac0706b295ff4a71975d4f883>
- other: <https://git.kernel.org/stable/c/eee07d769da5ac4e4f7bd0bc17828646a318d499>
- other: <https://git.kernel.org/stable/c/9c747dcee164ead300de90550ad9e4122f0d1bbb>
- other: <https://git.kernel.org/stable/c/c3b073a209a9baa691b744318ac929fecdd8847c>
- other: <https://git.kernel.org/stable/c/57088b06109f3222963c639d8d743f42c2899b13>
- other: <https://git.kernel.org/stable/c/10da12d352b7b2bb330a8609fdda9a58bf0e9856>

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

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