CVE-2025-40313

published 8 Dec 2025 · updated 11 May 2026

ntfs3: pretend $Extend records as regular files

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 17249b2a65274f73ed68bcd1604e08a60fd8a278, Kernel 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, Kernel 4e8011ffec79717e5fdac43a7e79faf811a384b7 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <17249b2a65274f73ed68bcd1604e08a60fd8a278, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <4e8011ffec79717e5fdac43a7e79faf811a384b7, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <57534db1bbc4ca772393bb7d92e69d5e7b9051cf, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <63eb6730ce0604d3eacf036c2f68ea70b068317c, >=4534a70b7056fd4b9a1c6db5a4ce3c98546b291e <78d46f5276ed3589aaaa435580068c5b62efc92117249b2a65274f73ed68bcd1604e08a60fd8a278, 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, 4e8011ffec79717e5fdac43a7e79faf811a384b7, 57534db1bbc4ca772393bb7d92e69d5e7b9051cf, 63eb6730ce0604d3eacf036c2f68ea70b068317c, 78d46f5276ed3589aaaa435580068c5b62efc921

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40313 severity on Zeptric[![CVE-2025-40313](https://zeptric.io/badge/cve/CVE-2025-40313.svg)](https://zeptric.io/cve/CVE-2025-40313)