CVE-2025-71067
kernel: ntfs: set dummy blocksize to read boot_block when mounting
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
ntfs: set dummy blocksize to read boot_block when mounting
When mounting, sb->s_blocksize is used to read the boot_block without
being defined or validated. Set a dummy blocksize before attempting to
read the boot_block.
The issue can be triggered with the following syz reproducer:
mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./file1\x00', 0x0)
r4 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x121403, 0x0)
ioctl$FS_IOC_SETFLAGS(r4, 0x40081271, &(0x7f0000000980)=0x4000)
mount(&(0x7f0000000140)=@nullb, &(0x7f0000000040)='./cgroup\x00',
&(0x7f0000000000)='ntfs3\x00', 0x2208004, 0x0)
syz_clone(0x88200200, 0x0, 0x0, 0x0, 0x0, 0x0)
Here, the ioctl sets the bdev block size to 16384. During mount,
get_tree_bdev_flags() calls sb_set_blocksize(sb, block_size(bdev)),
but since block_size(bdev) > PAGE_SIZE, sb_set_blocksize() leaves
sb->s_blocksize at zero.
Later, ntfs_init_from_boot() attempts to read the boot_block while
sb->s_blocksize is still zero, which triggers the bug.
[almaz.alexandrovich@paragon-software.com: changed comment style, added
return value handling]
Source: OX vulnerability database
Severity
LOW
No CVSS vector in the source. Severity comes from the advisory.
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 46 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.1.177-1.ph5 |
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-168-202-320 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +20 | 1:6.1.168-202.320.amzn2023 |
| 2023 | bpftool6-12 +20 | 1:6.12.64-87.122.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux-6-1 | 6.1.170-1~deb11u1 |
| 12 | linux | 6.1.170-1 |
| 13 | linux | 6.12.69-1 |
| 14 | linux | 6.18.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | linux +1 | 6.1.170-1 |
| 13 | linux +1 | 6.12.69-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +1 | 5.15.0-179.189.root.io.88 |
| 24.04 | linux +1 | 6.8.0-110.110 |
ubuntu 2 releases · 32 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +16 | affected |
| 22.04 | linux-oracle-6-8 | 6.8.0-1049.50~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1051.51~22.04.1 |
| 22.04 | linux-nvidia-6-8 | 6.8.0-1051.54~22.04.1 |
| 22.04 | linux-aws-6-8 | 6.8.0-1052.55~22.04.1 |
| 22.04 | linux-gcp-6-8 | 6.8.0-1054.57~22.04.1 |
27 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-71067
- git.kernel.org https://git.kernel.org/linus/d1693a7d5a38acf6424235a6070bcf5b186a360d (6.19-rc1)
- git.kernel.org https://git.kernel.org/stable/c/0c9327c8abf9c8f046e45008bb43d94d8ee5c6c5
- git.kernel.org https://git.kernel.org/stable/c/44a38eb4f7876513db5a1bccde74de9bc4389d43
- git.kernel.org https://git.kernel.org/stable/c/4fff9a625da958a33191c8553a03283786f9f417
- git.kernel.org https://git.kernel.org/stable/c/b3c151fe8f543f1a0b8b5df16ce5d97afa5ec85a
- git.kernel.org https://git.kernel.org/stable/c/d1693a7d5a38acf6424235a6070bcf5b186a360d
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026011323-CVE-2025-71067-9c81@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-71067
- ubuntu.com https://ubuntu.com/security/notices/USN-8177-1
Show all 30 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8177-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8179-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8179-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8179-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8179-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8183-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8183-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8184-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8185-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8185-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8203-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8204-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8245-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8257-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8258-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8260-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8261-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8265-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8440-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-71067
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.