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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-06T16:22:34.125Z
- Modified: 2026-10-15T22:18:09.777Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3e1f941dd9f33776b3df4e30f741fe445ff773f3 before 6c26619effb1b4cb7d20b4e666ab8f71f6a53ccb; from 3e1f941dd9f33776b3df4e30f741fe445ff773f3 before 84671b0630ccb46ae9f1f99a45c7d63ffcd6a474; from 3e1f941dd9f33776b3df4e30f741fe445ff773f3 before 68f16d3034a06661245ecd22f0d586a8b4e7c473; from 3e1f941dd9f33776b3df4e30f741fe445ff773f3 before a58f136bad29f9ae721a29d98c042fddbee22f77; from 3e1f941dd9f33776b3df4e30f741fe445ff773f3 before b13ee668e8280ca5b07f8ce2846b9957a8a10853; 5.17 (not affected: before 5.17; from 6.1.129 up to 6.1.*; from 6.6.78 up to 6.6.*; from 6.12.14 up to 6.12.*; from 6.13.3 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.17.1 before 6.1.129; from 6.2 before 6.6.78; from 6.7 before 6.12.14; from 6.13 before 6.13.3; 5.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6c26619effb1b4cb7d20b4e666ab8f71f6a53ccb> (patch)
- <https://git.kernel.org/stable/c/84671b0630ccb46ae9f1f99a45c7d63ffcd6a474> (patch)
- <https://git.kernel.org/stable/c/68f16d3034a06661245ecd22f0d586a8b4e7c473> (patch)
- <https://git.kernel.org/stable/c/a58f136bad29f9ae721a29d98c042fddbee22f77> (patch)
- <https://git.kernel.org/stable/c/b13ee668e8280ca5b07f8ce2846b9957a8a10853> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2025-21832](https://www.cve.org/CVERecord?id=CVE-2025-21832), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21832](https://nvd.nist.gov/vuln/detail/CVE-2025-21832), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21832 · Whole record: https://cve.day/CVE-2025-21832.json · Rebuilt by cve.day 2026-11-25T22:58:55.024Z
