CVE-2025-40313
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 versions
Linux kernel versions
5.15
and later are affected. Fixed in
5.15.197,
6.1.159,
6.6.117,
6.12.58,
6.17.8,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40313 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/17249b2a65274f73ed68bcd1604e08a60fd8a278
-
PatchKernel patch commithttps://git.kernel.org/stable/c/37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4e8011ffec79717e5fdac43a7e79faf811a384b7
Frequently asked questions
-
What is CVE-2025-40313?
CVE-2025-40313 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.15 onward and has been patched in 5.15.197, 6.1.159, 6.6.117 and others. CVE-2025-40313 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40313?
Yes — CVE-2025-40313 has been patched. Fixed versions include 5.15.197, 6.1.159, 6.6.117 and others. If you are running Linux kernel 5.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40313 actively exploited?
No — CVE-2025-40313 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.