CVE-2026-74359
configfs_lookup(): don't leave ->s_dentry dangling on failure
Reported by linux · Published August 15, 2026
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...
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-livepatch-6.18.41-94.142 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-livepatch-6.1.180-225.360 | Amazon Linux | 1:1.0-0.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d |
| Linux | Linux | 2.6.16, 0, 5.15.212 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| linux | linux_kernel | 2.6.16, 2.6.16, 2.6.16 |
| Linux | Linux | 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 7.1.5, 7.2 |
…and 18 more
Timeline
- Aug 15, 2026 CVE Published
- Aug 16, 2026 EPSS Score (9 in total, the first dated here)
- Aug 19, 2026 Security Advisory
- Oct 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74359
vulnetix vdb fixes CVE-2026-74359
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74359/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart