{"id":"CVE-2026-74606","aliases":["CVE-2026-74606"],"related":[],"kind":"vulnerability","state":"published","title":"eventfs: Fix use-after-free in eventfs_remove_rec()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\neventfs: Fix use-after-free in eventfs_remove_rec()\n\neventfs_remove_rec() recursively removes the child at the current loop\nposition. After the recursive call returns, list_for_each_entry() advances\nby reading list.next from the removed child.\n\nIf free_ei() drops the final reference, release_ei() reuses the list/rcu\nunion to queue an SRCU callback. The child may be freed before that read.\nThe eventfs_mutex serializes list updates, but it does not keep the removed\nchild alive or prevent the SRCU callback from running.\n\nUse list_for_each_entry_safe() to save the next sibling before recursively\nremoving the current child.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\neventfs: Fix use-after-free in eventfs_remove_rec()\n\neventfs_remove_rec() recursively removes the child at the current loop\nposition. After the recursive call returns, list_for_each_entry() advances\nby reading list.next from the removed child.\n\nIf free_ei() drops the final reference, release_ei() reuses the list/rcu\nunion to queue an SRCU callback. The child may be freed before that read.\nThe eventfs_mutex serializes list updates, but it does not keep the removed\nchild alive or prevent the SRCU callback from running.\n\nUse list_for_each_entry_safe() to save the next sibling before recursively\nremoving the current child.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\neventfs: Solución para el uso después de liberación en eventfs_remove_rec()\n\neventfs_remove_rec() elimina recursivamente el hijo en la posición actual del bucle. Después de que la llamada recursiva regresa, list_for_each_entry() avanza leyendo list.next del hijo eliminado.\n\nSi free_ei() libera la referencia final, release_ei() reutiliza la unión list/rcu para encolar una llamada de retorno SRCU. El hijo puede ser liberado antes de esa lectura. El eventfs_mutex serializa las actualizaciones de la lista, pero no mantiene vivo al hijo eliminado ni evita que se ejecute la llamada de retorno SRCU.\n\nUtilizar list_for_each_entry_safe() para guardar el siguiente hermano antes de eliminar recursivamente el hijo actual.","source":"nvd"}],"published":"2026-08-22T15:31:53.819Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5dfb04100326f70e3b2d2872c2476ed20b804837","fixed":"b77581b25e213e83b79ce11eb30024e55ceeb3e9","status":"affected"},{"type":"git","introduced":"43aa6f97c2d03a52c1ddb86768575fc84344bdbb","fixed":"f161d7861a0bfdf10af6b738b3b57636204661fb","status":"affected"},{"type":"git","introduced":"43aa6f97c2d03a52c1ddb86768575fc84344bdbb","fixed":"5635211b44969f4816e29ec4d5f8665fb39535d0","status":"affected"},{"type":"git","introduced":"43aa6f97c2d03a52c1ddb86768575fc84344bdbb","fixed":"74bb1eaf72d185a78c879eb2678ea500f82f46a8","status":"affected"},{"type":"git","introduced":"43aa6f97c2d03a52c1ddb86768575fc84344bdbb","fixed":"fd73b691702170d37d66f4b0278530cea8ed419a","status":"affected"},{"type":"git","version":"5a43badefe0eccca0c26144c0a44b8d417ce8103","status":"affected"},{"type":"semver","introduced":"6.6.18","fixed":"6.6.152","status":"affected"},{"type":"semver","introduced":"6.7.6","fixed":"6.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b77581b25e213e83b79ce11eb30024e55ceeb3e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f161d7861a0bfdf10af6b738b3b57636204661fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5635211b44969f4816e29ec4d5f8665fb39535d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74bb1eaf72d185a78c879eb2678ea500f82f46a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd73b691702170d37d66f4b0278530cea8ed419a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74606","url":"https://www.cve.org/CVERecord?id=CVE-2026-74606","licence":"CVE Terms of Use","modified":"2026-08-25T05:40:31.060Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74606","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74606","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.893Z","epss":{"score":0.00125,"percentile":0.02388,"date":"2026-12-01T12:00:22.000Z"}}