{"id":"CVE-2025-68788","revision":"131c4986d1d840b18ce38e493f8e40a4","records":[{"revision":"131c4986d1d840b18ce38e493f8e40a4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-68788","aliases":[],"title":"fsnotify: do not generate ACCESS/MODIFY events on child for special files","description":"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","state":0,"publishedAt":"2026-01-13T15:29:01.27+00:00","modifiedAt":"2026-10-19T18:05:07.258+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/notify/fsnotify.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"df2711544b050aba703e6da418c53c7dc5d443ca\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"859bdf438f01d9aa7f84b09c1202d548c7cad9e8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"e0643d46759db8b84c0504a676043e5e341b6c81\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"82f7416bcbd951549e758d15fc1a96a5afc2e900\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"72acc854427948efed7a83da27f7dc3239ac9afc\",\n                            \"lessThan\": \"635bc4def026a24e071436f4f356ea08c0eed6ff\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/notify/fsnotify.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.36\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.36\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.248\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.198\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.160\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.120\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.64\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.3\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.19\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/df2711544b050aba703e6da418c53c7dc5d443ca","https://git.kernel.org/stable/c/859bdf438f01d9aa7f84b09c1202d548c7cad9e8","https://git.kernel.org/stable/c/6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91","https://git.kernel.org/stable/c/e0643d46759db8b84c0504a676043e5e341b6c81","https://git.kernel.org/stable/c/82f7416bcbd951549e758d15fc1a96a5afc2e900","https://git.kernel.org/stable/c/7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6","https://git.kernel.org/stable/c/635bc4def026a24e071436f4f356ea08c0eed6ff"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-68788","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-68788","identifiers":["CVE-2025-68788"]},"retained":false,"historicalAffected":[]}],"coverage":[]}