{"id":"CVE-2025-68788","aliases":["CVE-2025-68788"],"related":[],"kind":"vulnerability","state":"published","title":"fsnotify: do not generate ACCESS/MODIFY events on child for special files","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsnotify: do not generate ACCESS/MODIFY events on child for special files\n\ninotify/fanotify do not allow users with no read access to a file to\nsubscribe to events (e.g. IN_ACCESS/IN_MODIFY), but they do allow the\nsame user to subscribe for watching events on children when the user\nhas access to the parent directory (e.g. /dev).\n\nUsers with no read access to a file but with read access to its parent\ndirectory can still stat the file and see if it was accessed/modified\nvia atime/mtime change.\n\nThe same is not true for special files (e.g. /dev/null). Users will not\ngenerally observe atime/mtime changes when other users read/write to\nspecial files, only when someone sets atime/mtime via utimensat().\n\nAlign fsnotify events with this stat behavior and do not generate\nACCESS/MODIFY events to parent watchers on read/write of special files.\nThe events are still generated to parent watchers on utimensat(). This\ncloses some side-channels that could be possibly used for information\nexfiltration [1].\n\n[1] https://snee.la/pdf/pubs/file-notification-attacks.pdf","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsnotify: do not generate ACCESS/MODIFY events on child for special files\n\ninotify/fanotify do not allow users with no read access to a file to\nsubscribe to events (e.g. IN_ACCESS/IN_MODIFY), but they do allow the\nsame user to subscribe for watching events on children when the user\nhas access to the parent directory (e.g. /dev).\n\nUsers with no read access to a file but with read access to its parent\ndirectory can still stat the file and see if it was accessed/modified\nvia atime/mtime change.\n\nThe same is not true for special files (e.g. /dev/null). Users will not\ngenerally observe atime/mtime changes when other users read/write to\nspecial files, only when someone sets atime/mtime via utimensat().\n\nAlign fsnotify events with this stat behavior and do not generate\nACCESS/MODIFY events to parent watchers on read/write of special files.\nThe events are still generated to parent watchers on utimensat(). This\ncloses some side-channels that could be possibly used for information\nexfiltration [1].\n\n[1] https://snee.la/pdf/pubs/file-notification-attacks.pdf","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nfsnotify: no generar eventos ACCESS/MODIFY en el hijo para archivos especiales\n\ninotify/fanotify no permiten a los usuarios sin acceso de lectura a un archivo suscribirse a eventos (p. ej., IN_ACCESS/IN_MODIFY), pero sí permiten al mismo usuario suscribirse para observar eventos en los hijos cuando el usuario tiene acceso al directorio padre (p. ej., /dev).\n\nLos usuarios sin acceso de lectura a un archivo pero con acceso de lectura a su directorio padre aún pueden hacer stat al archivo y ver si fue accedido/modificado a través de un cambio en atime/mtime.\n\nLo mismo no es cierto para archivos especiales (p. ej., /dev/null). Los usuarios generalmente no observarán cambios en atime/mtime cuando otros usuarios leen/escriben en archivos especiales, solo cuando alguien establece atime/mtime a través de utimensat().\n\nAlinear los eventos de fsnotify con este comportamiento de stat y no generar eventos ACCESS/MODIFY a los observadores padre en la lectura/escritura de archivos especiales. Los eventos aún se generan a los observadores padre en utimensat(). Esto cierra algunos canales laterales que podrían ser posiblemente utilizados para la exfiltración de información [1].\n\n[1] https://snee.la/pdf/pubs/file-notification-attacks.pdf","source":"nvd"}],"published":"2026-01-13T15:29:01.270Z","modified":"2026-11-10T13:18:00.127Z","severities":[],"cwes":["CWE-200"],"affected":[{"ranges":[{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"df2711544b050aba703e6da418c53c7dc5d443ca","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"859bdf438f01d9aa7f84b09c1202d548c7cad9e8","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"e0643d46759db8b84c0504a676043e5e341b6c81","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"82f7416bcbd951549e758d15fc1a96a5afc2e900","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6","status":"affected"},{"type":"git","introduced":"72acc854427948efed7a83da27f7dc3239ac9afc","fixed":"635bc4def026a24e071436f4f356ea08c0eed6ff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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/df2711544b050aba703e6da418c53c7dc5d443ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/859bdf438f01d9aa7f84b09c1202d548c7cad9e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0643d46759db8b84c0504a676043e5e341b6c81","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82f7416bcbd951549e758d15fc1a96a5afc2e900","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/635bc4def026a24e071436f4f356ea08c0eed6ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T16:22:25.274Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68788","url":"https://www.cve.org/CVERecord?id=CVE-2025-68788","licence":"CVE Terms of Use","modified":"2026-11-10T12:38:30.831Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68788","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68788","licence":"Public domain","modified":"2026-11-10T13:18:00.127Z"}],"updatedAt":"2026-11-25T22:59:10.532Z","epss":{"score":0.00275,"percentile":0.2134,"date":"2026-12-01T12:00:22.000Z"}}