CVE-2025-21832 Details
Description
In the Linux kernel, the following vulnerability has been resolved: block: don't revert iter for -EIOCBQUEUED blkdev_read_iter() has a few odd checks, like gating the position and count adjustment on whether or not the result is bigger-than-or-equal to zero (where bigger than makes more sense), and not checking the return value of blkdev_direct_IO() before doing an iov_iter_revert(). The latter can lead to attempting to revert with a negative value, which when passed to iov_iter_revert() as an unsigned value will lead to throwing a WARN_ON() because unroll is bigger than MAX_RW_COUNT. Be sane and don't revert for -EIOCBQUEUED, like what is done in other spots.
A vulnerability has been identified in the Linux kernel's block layer, specifically within the direct I/O handling of the 'blkdev_read_iter()' function. The issue arises from improper checks that allow for potentially erroneous behavior. Notably, the function incorrectly gates the adjustment of the I/O operation's position and count based on whether the result is greater than or equal to zero, when it would be more logical to simply check if it is greater than zero. Additionally, the function fails to properly validate the return value of 'blkdev_direct_IO()' before attempting to revert the I/O iterator. This oversight can lead to a negative value being passed to 'iov_iter_revert()', which, when interpreted as an unsigned value, triggers a warning due to the unroll value exceeding the maximum allowed read or write count.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.17.1, < 6.1.129 >= 6.2, < 6.6.78 >= 6.7, < 6.12.14 >= 6.13, < 6.13.3 5.17 - 5.17 rc3 5.17 rc4 5.17 rc5 5.17 rc6 5.17 rc7 5.17 rc8 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 29, 2025 | Initial Analysis | [email protected] |
| Mar 6, 2025 | New CVE Received | kernel.org |