What’s Vulnerable › Vulnerabilities
CVE-2025-40313: ntfs3: pretend $Extend records as regular files
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-08 · updated 2026-10-14
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: pretend $Extend records as regular files Since commit af153bb63a33 ("vfs: catch invalid modes in may_open()") requires any inode be one of S_IFDIR/S_IFLNK/S_IFREG/S_IFCHR/S_IFBLK/ S_IFIFO/S_IFSOCK type, use S_IFREG for $Extend records.
Affected products
- Linux kernel: 5.15 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/17249b2a65274f73ed68bcd1604e08a60fd8a278
- https://git.kernel.org/stable/c/37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7
- https://git.kernel.org/stable/c/4e8011ffec79717e5fdac43a7e79faf811a384b7
- https://git.kernel.org/stable/c/57534db1bbc4ca772393bb7d92e69d5e7b9051cf
- https://git.kernel.org/stable/c/63eb6730ce0604d3eacf036c2f68ea70b068317c
- https://git.kernel.org/stable/c/78d46f5276ed3589aaaa435580068c5b62efc921
Get alerted when CVE-2025-40313 or the next vulnerability affects your stack