CVE-2025-68788
fsnotify: do not generate ACCESS/MODIFY events on child for special files
Check your servers for CVE-2025-68788
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68788 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before df2711544b050aba703e6da418c53c7dc5d443ca affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before 859bdf438f01d9aa7f84b09c1202d548c7cad9e8 affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before 6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91 affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before e0643d46759db8b84c0504a676043e5e341b6c81 affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before 82f7416bcbd951549e758d15fc1a96a5afc2e900 affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before 7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6 affected from 72acc854427948efed7a83da27f7dc3239ac9afc, before 635bc4def026a24e071436f4f356ea08c0eed6ff
Other versions: unaffected
|
| Linux |
affected 2.6.36 unaffected before 2.6.36 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68788 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68788
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68788
trivy image --scanners vuln IMAGE | grep CVE-2025-68788
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/df2711544b050aba703e6da418c53c7dc5d443ca git.kernel.org
- https://git.kernel.org/stable/c/859bdf438f01d9aa7f84b09c1202d548c7cad9e8 git.kernel.org
- https://git.kernel.org/stable/c/6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91 git.kernel.org
- https://git.kernel.org/stable/c/e0643d46759db8b84c0504a676043e5e341b6c81 git.kernel.org
- https://git.kernel.org/stable/c/82f7416bcbd951549e758d15fc1a96a5afc2e900 git.kernel.org
- https://git.kernel.org/stable/c/7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6 git.kernel.org
- https://git.kernel.org/stable/c/635bc4def026a24e071436f4f356ea08c0eed6ff git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68788 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse