CVE-2025-71237
publishednilfs2: Fix potential block overflow that cause system hang
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 6457d3ee41a4c15082ac49c5aa7fb933b4a043f3 · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ba18e5f22f26aa4ef78bc3e81f639d1d4f3845e6 · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 2438982f635e6cc2009be68ba2efb2998727d8d4 · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < df1e20796c9f3d541cca47fb72e4369ea135642d · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ea2278657ad0d62596589fbe2caf995e189e65e7 · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 4aa45f841413cca81882602b4042c53502f34cad · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < b8c5ee234bd54f1447c846101fdaef2cf70c2149 · 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ed527ef0c264e4bed6c7b2a158ddf516b17f5f66 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.15 (affected) · 0 to < 3.15 (unaffected · semver) · 5.10.251 through 5.10.* (unaffected · semver) · 5.15.201 through 5.15.* (unaffected · semver) · 6.1.164 through 6.1.* (unaffected · semver) · 6.6.125 through 6.6.* (unaffected · semver) · 6.12.72 through 6.12.* (unaffected · semver) · 6.18.11 through 6.18.* (unaffected · semver) · 6.19.1 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-114 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1491 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.164-1 | DSA-6163-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux | Advisory build | 5.10.251-1 | DLA-4498-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.164-1~deb11u1 | DLA-4499-1 |
| Debian | trixie | linux | Advisory build | 6.12.73-1 | DSA-6141-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: Fix potential block overflow that cause system hang When a user executes the FITRIM command, an underflow can occur when calculating nblocks if end_block is too small. Since nblocks is of type sector_t, which is u64, a negative nblocks value will become a very large positive integer. This ultimately leads to the block layer function __blkdev_issue_discard() taking an excessively long time to process the bio chain, and the ns_segctor_sem lock remains held for a long period. This prevents other tasks from acquiring the ns_segctor_sem lock, resulting in the hang reported by syzbot in [1]. If the ending block is too small, typically if it is smaller than 4KiB range, depending on the usage of the segment 0, it may be possible to attempt a discard request beyond the device size causing the hang. Exiting successfully and assign the discarded size (0 in this case) to range->len. Although the start and len values in the user input range are too small, a conservative strategy is adopted here to safely ignore them, which is equivalent to a no-op; it will not perform any trimming and will not throw an error. [1] task:segctord state:D stack:28968 pid:6093 tgid:6093 ppid:2 task_flags:0x200040 flags:0x00080000 Call Trace: rwbase_write_lock+0x3dd/0x750 kernel/locking/rwbase_rt.c:272 nilfs_transaction_lock+0x253/0x4c0 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2569 [inline] nilfs_segctor_thread+0x6ec/0xe00 fs/nilfs2/segment.c:2684 [ryusuke: corrected part of the commit message about the consequences]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 6457d3ee41a4c15082ac49c5aa7fb933b4a043f3 (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ba18e5f22f26aa4ef78bc3e81f639d1d4f3845e6 (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 2438982f635e6cc2009be68ba2efb2998727d8d4 (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < df1e20796c9f3d541cca47fb72e4369ea135642d (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ea2278657ad0d62596589fbe2caf995e189e65e7 (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < 4aa45f841413cca81882602b4042c53502f34cad (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < b8c5ee234bd54f1447c846101fdaef2cf70c2149 (affected · git)82e11e857be3ffd2a0a952c9db8aa2379e2b9e44 to < ed527ef0c264e4bed6c7b2a158ddf516b17f5f66 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.15 (affected)0 to < 3.15 (unaffected · semver)5.10.251 through 5.10.* (unaffected · semver)5.15.201 through 5.15.* (unaffected · semver)6.1.164 through 6.1.* (unaffected · semver)6.6.125 through 6.6.* (unaffected · semver)6.12.72 through 6.12.* (unaffected · semver)6.18.11 through 6.18.* (unaffected · semver)6.19.1 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2438982f635e6cc2009be68ba2efb2998727d8d4
- https://git.kernel.org/stable/c/4aa45f841413cca81882602b4042c53502f34cad
- https://git.kernel.org/stable/c/6457d3ee41a4c15082ac49c5aa7fb933b4a043f3
- https://git.kernel.org/stable/c/b8c5ee234bd54f1447c846101fdaef2cf70c2149
- https://git.kernel.org/stable/c/ba18e5f22f26aa4ef78bc3e81f639d1d4f3845e6
- https://git.kernel.org/stable/c/df1e20796c9f3d541cca47fb72e4369ea135642d
- https://git.kernel.org/stable/c/ea2278657ad0d62596589fbe2caf995e189e65e7
- https://git.kernel.org/stable/c/ed527ef0c264e4bed6c7b2a158ddf516b17f5f66
Provider assertions
1Linux · cna
nilfs2: Fix potential block overflow that cause system hang
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 151eef650151dde3e0c90512e100882de9fb70d5d5e796b5a368a2623d9a2c9d
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record