CVE-2025-21832: block: don't revert iter for -EIOCBQUEUED

Published Mar 6, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

block: don't revert iter for -EIOCBQUEUED

blkdevreaditer() 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 blkdevdirectIO() before doing an ioviterrevert(). The latter can lead to attempting to revert with a negative value, which when passed to ioviterrevert() as an unsigned value will lead to throwing a WARNON() because unroll is bigger than MAXRWCOUNT.

Be sane and don't revert for -EIOCBQUEUED, like what is done in other spots.

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=5.17.1<6.1.129
Linux Linux kernel>=6.2<6.6.78
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3
Linux Linux kernel=5.17
Linux Linux kernel=5.17-rc3
Linux Linux kernel=5.17-rc4
Linux Linux kernel=5.17-rc5
Linux Linux kernel=5.17-rc6
Linux Linux kernel=5.17-rc7
Linux Linux kernel=5.17-rc8

Event History

Mar 6, 2025
CVE Published
via MITRE·04:22 PM
Data Sourced
via MITRE·04:22 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21832?

CVE-2025-21832 has been classified with a moderate severity level due to potential impacts on block device operations.

2

How do I fix CVE-2025-21832?

To fix CVE-2025-21832, you should update your Linux kernel to the latest stable version that addresses this vulnerability.

3

What systems are affected by CVE-2025-21832?

CVE-2025-21832 affects the Linux kernel across various distributions that utilize this component.

4

What are the potential consequences of CVE-2025-21832?

The consequences of CVE-2025-21832 may include disrupted block device operations leading to data loss or corruption.

5

When was CVE-2025-21832 published?

CVE-2025-21832 was published as part of a security advisory following the detection of the issue in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203