VDB

CVE-2025-40313

CVE-2025-40313 PUBLISHED

ntfs3: pretend $Extend records as regular files

Reported by linux · Published December 8, 2025

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.

EPSS 0.21% · 10.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.159-181.297.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.58-82.121.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.58-82.121.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.159-181.297.amzn2023
kernel-livepatch-6.12.58-82.121Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.58-82.121.amzn2023
kernel-headersAmazon Linux1:6.1.159-181.297.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.159-181.297.amzn2023
kernel-livepatch-6.1.159-181.297Amazon Linux1:1.0-0.amzn2023
python3-perfAmazon Linux1:6.1.159-181.297.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.58-82.121.amzn2023
kernel-libbpfAmazon Linux1:6.1.159-181.297.amzn2023

12 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.21%
10.5th percentile

Affected products

VendorProductVersions
LinuxLinux4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e, 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e
LinuxLinux5.15, 0, 5.15.197
amazon:2023bpftool0
linuxlinux_kernel5.15, 5.15, 5.15
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.12.58-82.1210
amazon:2023kernel6.12-headers0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.1.159-181.2970
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf0
amazon:2023kernel-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023bpftool6.120

…and 12 more

Timeline

  • Dec 7, 2025 CVE Published
  • Dec 8, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (182 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (186 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40313
vulnetix vdb fixes CVE-2025-40313

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40313/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›