CVE-2025-68788

fsnotify: do not generate ACCESS/MODIFY events on child for special files

State
Published
Severity
Not scored
Published
Jan 13, 2026
Updated
Oct 19, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

fsnotify: do not generate ACCESS/MODIFY events on child for special files

inotify/fanotify do not allow users with no read access to a file to subscribe to events (e.g. IN_ACCESS/IN_MODIFY), but they do allow the same user to subscribe for watching events on children when the user has access to the parent directory (e.g. /dev).

Users with no read access to a file but with read access to its parent directory can still stat the file and see if it was accessed/modified via atime/mtime change.

The same is not true for special files (e.g. /dev/null). Users will not generally observe atime/mtime changes when other users read/write to special files, only when someone sets atime/mtime via utimensat().

Align fsnotify events with this stat behavior and do not generate ACCESS/MODIFY events to parent watchers on read/write of special files. The events are still generated to parent watchers on utimensat(). This closes some side-channels that could be possibly used for information exfiltration [1].

[1] https://snee.la/pdf/pubs/file-notification-attacks.pdf

Scores

The record has no CVSS score.

Weaknesses

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected Products

ProductVersions
LinuxLinux
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before df2711544b050aba703e6da418c53c7dc5d443caAffected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before 859bdf438f01d9aa7f84b09c1202d548c7cad9e8Affected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before 6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91Affected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before e0643d46759db8b84c0504a676043e5e341b6c81Affected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before 82f7416bcbd951549e758d15fc1a96a5afc2e900Affected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before 7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6Affected
  • 72acc854427948efed7a83da27f7dc3239ac9afc to before 635bc4def026a24e071436f4f356ea08c0eed6ffAffected
LinuxLinux
  • 2.6.36Affected
  • before 2.6.36Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.3 through 6.18.*Not affected
  • 6.19 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.