VDB

CVE-2026-74359

CVE-2026-74359 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-develAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
perfAmazon Linux1:6.1.180-225.360.amzn2023
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.1.180-225.360Amazon Linux1:1.0-0.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d
LinuxLinux2.6.16, 0, 5.15.212
amazon:2023perf6.180
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
amazon:2023kernel-devel0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023perf0
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel2.6.16, 2.6.16, 2.6.16
LinuxLinux3d0f89bb169482d26d5aa4e82e763077e7e9bc4d, 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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›