Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38707

published high CVSS 3.1 · 7.1

fs/ntfs3: Add sanity check for file name

Published
04 Sep 2025, 15:32:58 UTC
Updated
05 Aug 2026, 12:04:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < bde58c1539f3ffddffc94d64007de16964e6b8eb · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < f99eb9a641f4ef927d8724f4966dcfd1f0e9f835 · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 3572737a768dadea904ebc4eb34b6ed575bb72d9 · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 2ac47f738ddfc1957a33be163bc97ee8f78e85a6 · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < b51642fc52d1c7243a9361555d5c4b24d7569d7e · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 27ee9a42b245efe6529e28b03453291a775cb3e4 · 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < e841ecb139339602bc1853f5f09daa5d1ea920a2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.149 through 6.1.* (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.43 through 6.12.* (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC CN 41000 to < V5.0 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-089 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1186 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.153-1 DSA-6009-1
Ubuntu bionic linux Advisory build 4.15.0-260.272 LSN-0122-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1208 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Ubuntu bionic linux-aws Advisory build 4.15.0-1197.210 LSN-0122-1
Ubuntu bionic linux-azure-4.15 Advisory build 4.15.0-1207.222 LSN-0122-1
Ubuntu bionic linux-gcp-4.15 Advisory build 4.15.0-1190.207 LSN-0122-1
Ubuntu bionic linux-hwe-5.4 Advisory build 5.4.0-245.265~18.04.1 LSN-0122-1
Ubuntu bionic linux-oracle Advisory build 4.15.0-1160.171 LSN-0122-1
Ubuntu focal linux Advisory build 5.4.0-245.265 LSN-0122-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1102 Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-buildinfo-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-cloud-tools-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-cloud-tools-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1097 Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-headers-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-headers-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1091 Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-image-unsigned-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1092 Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-163 Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1049-nvidia-tegra-rt Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1094-oracle Advisory build 5.15.0-1094.100~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1097-aws Advisory build 5.15.0-1097.104~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1097-gcp Advisory build 5.15.0-1097.106~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-1102-azure Advisory build 5.15.0-1102.111~20.04.1 USN-7938-1
Ubuntu focal linux-modules-5.15.0-163-generic Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-generic-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-generic-lpae Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-lowlatency Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-5.15.0-163-lowlatency-64k Advisory build 5.15.0-163.173~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1049-nvidia-tegra Advisory build 5.15.0-1049.49~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1091-ibm Advisory build 5.15.0-1091.94~20.04.1 USN-7909-1
Ubuntu focal linux-modules-extra-5.15.0-1092-intel-iotg Advisory build 5.15.0-1092.98~20.04.1 USN-7909-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Add sanity check for file name The length of the file name should be smaller than the directory entry size.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

39

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - `ntfs_dir_emit()` is reached only through `ntfs_readdir()` → `ntfs_read_hdr()`, i.e. a local `getdents64(2)` on a directory of an attacker-authored NTFS volume (loop image or removable media); there is no network-facing consumer of fs/ntfs3/dir.c. AC:L - `fname->name_len` is a raw on-disk u8 the attacker writes into the index entry, and `ntfs_read_hdr()` only validates `e->size >= 0x10` and `key_size >= 0x44`, so an entry with `e->size = 0x10`, `name_len = 255` placed at the tail of `hdr->used` deterministically overreads ~590 bytes past the `kmalloc(index_block_size)` buffer on the first readdir — no race, no timing window, and adjacent slab contents can be groomed beforehand. PR:L - ntfs3 is FS_REQUIRES_DEV without FS_USERNS_MOUNT so a bare `mount(2)` needs CAP_SYS_ADMIN, but in the most severe reasonable deployment an unprivileged local user gets the crafted image mounted via udisks2 loop-setup, desktop/kiosk removable-media automount, or `user`/autofs fstab delegation; the `getdents64` that fires the overread needs no privilege at all. UI:N - The attacker performs every step personally — presents the crafted volume, which an automounter consumes with no human action, then runs the directory read itself. No second victim user must be induced to act. S:U - The out-of-bounds read happens in ntfs3 name conversion inside the kernel and its effects stay within that same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `ntfs_utf16_to_nls(sbi, fname->name, fname->name_len, ...)` reads up to 510 bytes from `e + 0x52` with no bound tied to `e->size`, walking off the end of the `kmalloc(bytes)` INDEX_BUFFER (or the `kmalloc(sbi->record_size)` MFT record) into neighbouring slab objects, and every harvested byte is handed to `dir_emit()` and returned to userspace as a filename — a repeatable, attacker-length-controlled kernel heap disclosure primitive usable to defeat KASLR and lift secrets from groomed adjacent objects. I:N - The defect is strictly a read overrun; stores into the PATH_MAX `name` buffer stay bounded by `buf_len`/`utf16s_to_utf8s()` maxout with `NTFS_NAME_LEN * 4 < PATH_MAX` statically asserted, so no kernel memory is modified. A:H - The multi-hundred-byte overread can run off the end of the page-backed index buffer into unmapped memory, faulting inside `iterate_dir()` while the inode rwsem is held and wedging the filesystem; under KASAN, SLUB_DEBUG, or debug_pagealloc it faults immediately (this is exactly how syzbot hit it), and with panic_on_oops it is a full panic the attacker can repeat at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < bde58c1539f3ffddffc94d64007de16964e6b8eb (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < f99eb9a641f4ef927d8724f4966dcfd1f0e9f835 (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 3572737a768dadea904ebc4eb34b6ed575bb72d9 (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 2ac47f738ddfc1957a33be163bc97ee8f78e85a6 (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < b51642fc52d1c7243a9361555d5c4b24d7569d7e (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < 27ee9a42b245efe6529e28b03453291a775cb3e4 (affected · git)4534a70b7056fd4b9a1c6db5a4ce3c98546b291e to < e841ecb139339602bc1853f5f09daa5d1ea920a2 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.149 through 6.1.* (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.43 through 6.12.* (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC CN 4100 0 to < V5.0 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

fs/ntfs3: Add sanity check for file name

siemens-SADP · adp

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
86859f824376db4b7d2347ececa6a78ae193017bed487455da5aab7be9698e48
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected