CVE-2026-74606

eventfs: Fix use-after-free in eventfs_remove_rec()

State
Published
Severity
7.8 High
Published
Aug 22, 2026
Updated
Aug 25, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5dfb04100326f70e3b2d2872c2476ed20b804837 to before b77581b25e213e83b79ce11eb30024e55ceeb3e9Affected
  • 43aa6f97c2d03a52c1ddb86768575fc84344bdbb to before f161d7861a0bfdf10af6b738b3b57636204661fbAffected
  • 43aa6f97c2d03a52c1ddb86768575fc84344bdbb to before 5635211b44969f4816e29ec4d5f8665fb39535d0Affected
  • 43aa6f97c2d03a52c1ddb86768575fc84344bdbb to before 74bb1eaf72d185a78c879eb2678ea500f82f46a8Affected
  • 43aa6f97c2d03a52c1ddb86768575fc84344bdbb to before fd73b691702170d37d66f4b0278530cea8ed419aAffected
  • 5a43badefe0eccca0c26144c0a44b8d417ce8103Affected
  • 6.6.18 to before 6.6.152Affected
  • 6.7.6 to before 6.8Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.6.152 through 6.6.*Not affected
  • 6.12.104 through 6.12.*Not affected
  • 6.18.45 through 6.18.*Not affected
  • 7.1.9 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.