# CVE-2025-40313: ntfs3: pretend $Extend records as regular files

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2025-12-08T00:46:39.444Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 63eb6730ce0604d3eacf036c2f68ea70b068317c; from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 78d46f5276ed3589aaaa435580068c5b62efc921; from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 17249b2a65274f73ed68bcd1604e08a60fd8a278; from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7; from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 57534db1bbc4ca772393bb7d92e69d5e7b9051cf; from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 4e8011ffec79717e5fdac43a7e79faf811a384b7; 5.15 (not affected: before 5.15; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.117 up to 6.6.*; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/63eb6730ce0604d3eacf036c2f68ea70b068317c>
- <https://git.kernel.org/stable/c/78d46f5276ed3589aaaa435580068c5b62efc921>
- <https://git.kernel.org/stable/c/17249b2a65274f73ed68bcd1604e08a60fd8a278>
- <https://git.kernel.org/stable/c/37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7>
- <https://git.kernel.org/stable/c/57534db1bbc4ca772393bb7d92e69d5e7b9051cf>
- <https://git.kernel.org/stable/c/4e8011ffec79717e5fdac43a7e79faf811a384b7>

## Sources

- CVE List: [CVE-2025-40313](https://www.cve.org/CVERecord?id=CVE-2025-40313), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40313](https://nvd.nist.gov/vuln/detail/CVE-2025-40313), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40313 · Whole record: https://cve.day/CVE-2025-40313.json · Rebuilt by cve.day 2026-11-25T22:59:08.400Z
