CVE-2026-74606
eventfs: Fix use-after-free in eventfs_remove_rec()
Description
In the Linux kernel, the following vulnerability has been resolved: eventfs: Fix use-after-free in eventfs_remove_rec() eventfs_remove_rec() recursively removes the child at the current loop position. After the recursive call returns, list_for_each_entry() advances by reading list.next from the removed child. If free_ei() drops the final reference, release_ei() reuses the list/rcu union to queue an SRCU callback. The child may be freed before that read. The eventfs_mutex serializes list updates, but it does not keep the removed child alive or prevent the SRCU callback from running. Use list_for_each_entry_safe() to save the next sibling before recursively removing the current child.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Aug. 22, 2026, 4:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Use list_for_each_entry_safe to manage list traversal.
- Update the Linux kernel to the patched version.
- Review eventfs_remove_rec() for safe list handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74606.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74606 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74606
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74606 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74606 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5dfb04100326f70e3b2d2872c2476ed20b804837', 'lessThan': 'b77581b25e213e83b79ce11eb30024e55ceeb3e9', 'versionType': 'git'}, {'status': 'affected', 'version': '43aa6f97c2d03a52c1ddb86768575fc84344bdbb', 'lessThan': 'f161d7861a0bfdf10af6b738b3b57636204661fb', 'versionType': 'git'}, {'status': 'affected', 'version': '43aa6f97c2d03a52c1ddb86768575fc84344bdbb', 'lessThan': '5635211b44969f4816e29ec4d5f8665fb39535d0', 'versionType': 'git'}, {'status': 'affected', 'version': '43aa6f97c2d03a52c1ddb86768575fc84344bdbb', 'lessThan': '74bb1eaf72d185a78c879eb2678ea500f82f46a8', 'versionType': 'git'}, {'status': 'affected', 'version': '43aa6f97c2d03a52c1ddb86768575fc84344bdbb', 'lessThan': 'fd73b691702170d37d66f4b0278530cea8ed419a', 'versionType': 'git'}, {'status': 'affected', 'version': '5a43badefe0eccca0c26144c0a44b8d417ce8103', 'versionType': 'git'}, {'status': 'affected', 'version': '6.6.18', 'lessThan': '6.6.152', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.7.6', 'lessThan': '6.8', 'versionType': 'semver'}], 'programFiles': ['fs/tracefs/event_inode.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/tracefs/event_inode.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: eventfs: Fix use-after-free in eventfs_remove_rec() eventfs_remove_rec() recursively removes the child at the current loop position. After the recursive call returns, list_for_each_entry() advances by reading list.next from the removed child. If free_ei() drops the final reference, release_ei() reuses the list/rcu union to queue an SRCU callback. The child may be freed before that read. The eventfs_mutex serializes list updates, but it does not keep the removed child alive or prevent the SRCU callback from running. Use list_for_each_entry_safe() to save the next sibling before recursively removing the current child. Added Reference https://git.kernel.org/stable/c/5635211b44969f4816e29ec4d5f8665fb39535d0 Added Reference https://git.kernel.org/stable/c/74bb1eaf72d185a78c879eb2678ea500f82f46a8 Added Reference https://git.kernel.org/stable/c/b77581b25e213e83b79ce11eb30024e55ceeb3e9 Added Reference https://git.kernel.org/stable/c/f161d7861a0bfdf10af6b738b3b57636204661fb Added Reference https://git.kernel.org/stable/c/fd73b691702170d37d66f4b0278530cea8ed419a