{"id":"CVE-2026-74605","aliases":["CVE-2026-74605"],"related":[],"kind":"vulnerability","state":"published","title":"eventfs: Use children field for rcu head and add memory barriers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\neventfs: Use children field for rcu head and add memory barriers\n\nWhen an eventfs inode is freed, it sets ei->is_freed and then uses its\nei->list to add it to the srcu link list as the list field is a union with\nthe rcu list head. As the ei->list is used to iterate over an SRCU\nprotected list without taking the eventfs_mutex, there's nothing stopping\nthe iteration over that list to see the ei->rcu instead of the ei->list\nand it will read a corrupt target.\n\nTo fix this, change the union of the rcu list head with the children list.\nOn freeing the eventfs inode, set the is_free and execute a smp_wmb()\nbefore adding the eventfs inode to the SRCU list.\n\nOn iteration of the ei->children list, at the start, execute a smp_rmb()\nand then read the is_freed of the ei to see if the children list is still\nvalid. If is_freed is set, then the ei_child read is not valid and the\nloop should exit immediately.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\neventfs: Use children field for rcu head and add memory barriers\n\nWhen an eventfs inode is freed, it sets ei->is_freed and then uses its\nei->list to add it to the srcu link list as the list field is a union with\nthe rcu list head. As the ei->list is used to iterate over an SRCU\nprotected list without taking the eventfs_mutex, there's nothing stopping\nthe iteration over that list to see the ei->rcu instead of the ei->list\nand it will read a corrupt target.\n\nTo fix this, change the union of the rcu list head with the children list.\nOn freeing the eventfs inode, set the is_free and execute a smp_wmb()\nbefore adding the eventfs inode to the SRCU list.\n\nOn iteration of the ei->children list, at the start, execute a smp_rmb()\nand then read the is_freed of the ei to see if the children list is still\nvalid. If is_freed is set, then the ei_child read is not valid and the\nloop should exit immediately.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\neventfs: Usar el campo children para la cabecera rcu y añadir barreras de memoria\n\nCuando un inodo eventfs es liberado, establece ei -> is_freed y luego usa su ei -> list para añadirlo a la lista de enlaces srcu ya que el campo list es una unión con la cabecera de la lista rcu. Como el ei -> list se usa para iterar sobre una lista protegida por SRCU sin tomar el eventfs_mutex, no hay nada que impida que la iteración sobre esa lista vea el ei -> rcu en lugar del ei -> list y leerá un objetivo corrupto.\n\nPara solucionar esto, cambiar la unión de la cabecera de la lista rcu con la lista children. Al liberar el inodo eventfs, establecer el is_free y ejecutar un smp_wmb() antes de añadir el inodo eventfs a la lista SRCU.\n\nEn la iteración de la lista ei -> children, al inicio, ejecutar un smp_rmb() y luego leer el is_freed del ei para ver si la lista children sigue siendo válida. Si is_freed está establecido, entonces la lectura de ei_child no es válida y el bucle debería salir inmediatamente.","source":"nvd"}],"published":"2026-08-22T15:31:53.063Z","modified":"2026-10-21T13:19:47.930Z","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":"f3f41f444b321ec393edbc251e024fd62658ce55","fixed":"25d27d5fa8645ab61018c3efec5c69f49280ca7d","status":"affected"},{"type":"git","introduced":"704f960dbee2f1634f4b4e16f208cb16eaf41c1e","fixed":"1b95382da85cff3bf0f922ff0275f186abdadfce","status":"affected"},{"type":"git","introduced":"704f960dbee2f1634f4b4e16f208cb16eaf41c1e","fixed":"2b80707b9e27671e10840d17c6f8f774c4ad9847","status":"affected"},{"type":"git","introduced":"704f960dbee2f1634f4b4e16f208cb16eaf41c1e","fixed":"004f7232e49730448f91665e76bdd7dff8e0c638","status":"affected"},{"type":"git","introduced":"704f960dbee2f1634f4b4e16f208cb16eaf41c1e","fixed":"f0ece16ffca7384787b692431961ce202907acf5","status":"affected"},{"type":"git","version":"305c4e4d80aca2c2d9cf2ebdea56e2eca6d3a6aa","status":"affected"},{"type":"semver","introduced":"6.6.18","fixed":"6.6.160","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.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","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/25d27d5fa8645ab61018c3efec5c69f49280ca7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b95382da85cff3bf0f922ff0275f186abdadfce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b80707b9e27671e10840d17c6f8f774c4ad9847","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/004f7232e49730448f91665e76bdd7dff8e0c638","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0ece16ffca7384787b692431961ce202907acf5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74605","url":"https://www.cve.org/CVERecord?id=CVE-2026-74605","licence":"CVE Terms of Use","modified":"2026-10-21T12:46:03.903Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74605","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74605","licence":"Public domain","modified":"2026-10-21T13:19:47.930Z"}],"updatedAt":"2026-11-25T22:59:34.892Z","epss":{"score":0.00129,"percentile":0.02718,"date":"2026-12-01T12:00:22.000Z"}}