In the Linux kernel, the following vulnerability has been resolved: eventfs: Fix use-after-free in eventfs_remove_rec() eventfs_remove_rec()… (CVE-2026-74606)
A use-after-free vulnerability in the Linux kernel's eventfs subsystem was resolved. The flaw involved the eventfs_remove_rec() function, which recursively removes child entries but improperly handled list iteration after removal, potentially accessing freed memory. This was due to the use of list_for_each_entry() instead of the safer list_for_each_entry_safe() to preserve the next pointer before recursive removal. The issue could lead to unsafe memory access during the SRCU callback queuing process.
AI Analysis
Technical Summary
CVE-2026-74606 is a use-after-free vulnerability in the Linux kernel's eventfs subsystem. The eventfs_remove_rec() function recursively removes child entries, but after a recursive call, it advances the list iterator by reading from a child that may have been freed. Specifically, if free_ei() drops the final reference, release_ei() reuses the list/rcu union to queue an SRCU callback, and the child may be freed before list_for_each_entry() reads the next pointer. The eventfs_mutex protects list updates but does not keep the removed child alive or prevent the SRCU callback from running. The fix replaces list_for_each_entry() with list_for_each_entry_safe(), which saves the next sibling pointer before recursive removal, preventing use-after-free.
Potential Impact
This vulnerability could cause the kernel to access freed memory, potentially leading to kernel crashes or undefined behavior. No direct evidence of exploitation in the wild is reported. The impact is limited to kernel stability and security, possibly allowing local privilege escalation or denial of service if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by changing the list iteration method in eventfs_remove_rec() to use list_for_each_entry_safe(). Users should apply the official kernel updates that include this fix. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the official Linux kernel advisories or distributions for the specific patched versions.
In the Linux kernel, the following vulnerability has been resolved: eventfs: Fix use-after-free in eventfs_remove_rec() eventfs_remove_rec()… (CVE-2026-74606)
Description
A use-after-free vulnerability in the Linux kernel's eventfs subsystem was resolved. The flaw involved the eventfs_remove_rec() function, which recursively removes child entries but improperly handled list iteration after removal, potentially accessing freed memory. This was due to the use of list_for_each_entry() instead of the safer list_for_each_entry_safe() to preserve the next pointer before recursive removal. The issue could lead to unsafe memory access during the SRCU callback queuing process.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-74606 is a use-after-free vulnerability in the Linux kernel's eventfs subsystem. The eventfs_remove_rec() function recursively removes child entries, but after a recursive call, it advances the list iterator by reading from a child that may have been freed. Specifically, if free_ei() drops the final reference, release_ei() reuses the list/rcu union to queue an SRCU callback, and the child may be freed before list_for_each_entry() reads the next pointer. The eventfs_mutex protects list updates but does not keep the removed child alive or prevent the SRCU callback from running. The fix replaces list_for_each_entry() with list_for_each_entry_safe(), which saves the next sibling pointer before recursive removal, preventing use-after-free.
Potential Impact
This vulnerability could cause the kernel to access freed memory, potentially leading to kernel crashes or undefined behavior. No direct evidence of exploitation in the wild is reported. The impact is limited to kernel stability and security, possibly allowing local privilege escalation or denial of service if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by changing the list iteration method in eventfs_remove_rec() to use list_for_each_entry_safe(). Users should apply the official kernel updates that include this fix. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the official Linux kernel advisories or distributions for the specific patched versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qfq9-8c5m-346x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74606"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f3acd9273b499bc870
Added to database: 08/22/2026, 22:51:31 UTC
Last enriched: 08/22/2026, 23:26:28 UTC
Last updated: 08/23/2026, 00:30:52 UTC
Views: 3
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.