In the Linux kernel, the following vulnerability has been resolved: configfs_lookup(): don't leave ->s_dentry dangling on failure Normally… (CVE-2026-74359)
A use-after-free vulnerability in the Linux kernel's configfs_lookup() function was resolved. The issue occurs because the ->s_dentry pointer is left dangling on inode allocation failure, leading to potential dereferencing of freed memory during directory reads. This bug has existed since 2006 and was fixed by ensuring the pointer is properly cleared on failure.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel configfs_lookup() function arises from improper handling of the ->s_dentry pointer when inode allocation fails. Normally, ->s_dentry is cleared when the dentry it points to becomes negative (evicted). However, if inode allocation fails, the dentry never becomes positive, so the cleanup function d_iput() is not called, leaving ->s_dentry dangling. Subsequent getdents(2) system calls dereference this dangling pointer, causing a use-after-free condition. The minimal fix clears ->s_dentry on failure to prevent this. The root cause is a longstanding bug dating back to 2006 related to the timing of setting the linkage between dentry and configfs_dirent.
Potential Impact
This vulnerability can lead to use-after-free memory access in the Linux kernel when reading directory entries via getdents(2) in configfs. Such memory corruption could potentially cause kernel crashes or undefined behavior. No known exploits in the wild have been reported. The impact is limited to systems using the affected configfs code path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is in the Linux kernel, monitor official Linux kernel release notes and security advisories for the fix. Until patched, avoid untrusted use of configfs features that trigger this code path if possible.
In the Linux kernel, the following vulnerability has been resolved: configfs_lookup(): don't leave ->s_dentry dangling on failure Normally… (CVE-2026-74359)
Description
A use-after-free vulnerability in the Linux kernel's configfs_lookup() function was resolved. The issue occurs because the ->s_dentry pointer is left dangling on inode allocation failure, leading to potential dereferencing of freed memory during directory reads. This bug has existed since 2006 and was fixed by ensuring the pointer is properly cleared on failure.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel configfs_lookup() function arises from improper handling of the ->s_dentry pointer when inode allocation fails. Normally, ->s_dentry is cleared when the dentry it points to becomes negative (evicted). However, if inode allocation fails, the dentry never becomes positive, so the cleanup function d_iput() is not called, leaving ->s_dentry dangling. Subsequent getdents(2) system calls dereference this dangling pointer, causing a use-after-free condition. The minimal fix clears ->s_dentry on failure to prevent this. The root cause is a longstanding bug dating back to 2006 related to the timing of setting the linkage between dentry and configfs_dirent.
Potential Impact
This vulnerability can lead to use-after-free memory access in the Linux kernel when reading directory entries via getdents(2) in configfs. Such memory corruption could potentially cause kernel crashes or undefined behavior. No known exploits in the wild have been reported. The impact is limited to systems using the affected configfs code path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is in the Linux kernel, monitor official Linux kernel release notes and security advisories for the fix. Until patched, avoid untrusted use of configfs features that trigger this code path if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w2rw-4pc9-v672
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74359"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b69bf8831d5394f600f
Added to database: 08/15/2026, 15:53:13 UTC
Last enriched: 08/15/2026, 16:03:27 UTC
Last updated: 08/15/2026, 16:03:27 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.