Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40313

UNSCOREDEPSS 14%

ntfs3: pretend $Extend records as regular files

Mitigation

  • Upgrade Linux to 4e8011ffec79717e5fdac43a7e79faf811a384b7 or later.

Who should check

  • Anyone running Linux >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 63eb6730ce0604d3eacf036c2f68ea70b068317c; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 78d46f5276ed3589aaaa435580068c5b62efc921; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 17249b2a65274f73ed68bcd1604e08a60fd8a278; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 57534db1bbc4ca772393bb7d92e69d5e7b9051cf; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 4e8011ffec79717e5fdac43a7e79faf811a384b7
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 63eb6730ce0604d3eacf036c2f68ea70b068317c; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 78d46f5276ed3589aaaa435580068c5b62efc921; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 17249b2a65274f73ed68bcd1604e08a60fd8a278; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 57534db1bbc4ca772393bb7d92e69d5e7b9051cf; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 4e8011ffec79717e5fdac43a7e79faf811a384b7; Linux 5.15
Fixed in
Linux 63eb6730ce0604d3eacf036c2f68ea70b068317c, Linux 78d46f5276ed3589aaaa435580068c5b62efc921, Linux 17249b2a65274f73ed68bcd1604e08a60fd8a278, Linux 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, Linux 57534db1bbc4ca772393bb7d92e69d5e7b9051cf, Linux 4e8011ffec79717e5fdac43a7e79faf811a384b7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 63eb6730ce0604d3eacf036c2f68ea70b068317c; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 78d46f5276ed3589aaaa435580068c5b62efc921; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 17249b2a65274f73ed68bcd1604e08a60fd8a278; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 57534db1bbc4ca772393bb7d92e69d5e7b9051cf; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 4e8011ffec79717e5fdac43a7e79faf811a384b7—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40313. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40313.md
Affected: Linux >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 63eb6730ce0604d3eacf036c2f68ea70b068317c; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 78d46f5276ed3589aaaa435580068c5b62efc921; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 17249b2a65274f73ed68bcd1604e08a60fd8a278; >= 4534a70b7056fd4b9a1c6db…
Fixed in: Linux 63eb6730ce0604d3eacf036c2f68ea70b068317c, Linux 78d46f5276ed3589aaaa435580068c5b62efc921, Linux 17249b2a65274f73ed68bcd1604e08a60fd8a278, Linux 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, Linux 57534db1bbc4ca772393bb7d92e69d5e7b9051cf, Linux 4e8011ffec79717e5fdac43a7e79faf811a384b7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40313 being exploited?

There is no confirmed exploitation: CVE-2025-40313 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40313?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40313?

Linux >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 63eb6730ce0604d3eacf036c2f68ea70b068317c; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 78d46f5276ed3589aaaa435580068c5b62efc921; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 17249b2a65274f73ed68bcd1604e08a60fd8a278; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 57534db1bbc4ca772393bb7d92e69d5e7b9051cf; >= 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, < 4e8011ffec79717e5fdac43a7e79faf811a384b7; Linux 5.15.

Is there a fix for CVE-2025-40313?

Yes. Fixed in Linux 63eb6730ce0604d3eacf036c2f68ea70b068317c, Linux 78d46f5276ed3589aaaa435580068c5b62efc921, Linux 17249b2a65274f73ed68bcd1604e08a60fd8a278, Linux 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7, Linux 57534db1bbc4ca772393bb7d92e69d5e7b9051cf, Linux 4e8011ffec79717e5fdac43a7e79faf811a384b7. Upgrade Linux to 4e8011ffec79717e5fdac43a7e79faf811a384b7 or later.

How do I check if I'm affected by CVE-2025-40313?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors