CVE-2026-74359
configfs_lookup(): don't leave ->s_dentry dangling on failure
Check your servers for CVE-2026-74359
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-74359 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:
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...
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 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before 3e83b2203aa59bd279e4f677ec793d49dc9d019e affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before b6e9c82522ddaa3ac0706b295ff4a71975d4f883 affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before eee07d769da5ac4e4f7bd0bc17828646a318d499 affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before 9c747dcee164ead300de90550ad9e4122f0d1bbb affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before c3b073a209a9baa691b744318ac929fecdd8847c affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before 57088b06109f3222963c639d8d743f42c2899b13 affected from 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, before 10da12d352b7b2bb330a8609fdda9a58bf0e9856
Other versions: unaffected
|
| Linux |
affected 2.6.16 unaffected before 2.6.16 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-74359 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74359
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-74359
trivy image --scanners vuln IMAGE | grep CVE-2026-74359
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/3e83b2203aa59bd279e4f677ec793d49dc9d019e git.kernel.org
- https://git.kernel.org/stable/c/b6e9c82522ddaa3ac0706b295ff4a71975d4f883 git.kernel.org
- https://git.kernel.org/stable/c/eee07d769da5ac4e4f7bd0bc17828646a318d499 git.kernel.org
- https://git.kernel.org/stable/c/9c747dcee164ead300de90550ad9e4122f0d1bbb git.kernel.org
- https://git.kernel.org/stable/c/c3b073a209a9baa691b744318ac929fecdd8847c git.kernel.org
- https://git.kernel.org/stable/c/57088b06109f3222963c639d8d743f42c2899b13 git.kernel.org
- https://git.kernel.org/stable/c/10da12d352b7b2bb330a8609fdda9a58bf0e9856 git.kernel.org
Source: the record CVE-2026-74359 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