PT-2026-20445 · Linux · Linux Kernel
Published
2025-01-01
·
Updated
2026-04-20
·
CVE-2025-71237
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a flaw within the nilfs2 file system related to handling the FITRIM command. A block overflow can occur during the calculation of
nblocks if the end block value is too small, potentially leading to a system hang. Specifically, a negative nblocks value can result in a large positive integer, causing the blkdev issue discard() function to process a bio chain for an extended duration. This prolonged processing time can block other tasks from acquiring the ns segctor sem lock, resulting in a system hang. The issue may arise when attempting a discard request beyond the device size, particularly with small ending block values (e.g., less than 4KiB). The current implementation safely ignores excessively small start and length values, effectively performing a no-op to prevent trimming and avoid errors.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux Kernel