CVE-2025-21832
block: don't revert iter for -EIOCBQUEUED
Reported by linux · Published March 6, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 84671b0630ccb46ae9f1f99a45c7d63ffcd6a474, 5.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3e1f941dd9f33776b3df4e30f741fe445ff773f3, 3e1f941dd9f33776b3df4e30f741fe445ff773f3, 3e1f941dd9f33776b3df4e30f741fe445ff773f3 |
| Linux | Linux | 5.17, 0, 6.1.129 |
| Linux | Linux | 3e1f941dd9f33776b3df4e30f741fe445ff773f3, 0, 5.17 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 5.17, 5.17, 5.17 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.1.129-138.220 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
Timeline
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 25, 2025 Coalition ESS Score (8 in total, the first dated here)
- Dec 22, 2025 Security Advisory (111 in total, the first dated here)
- Oct 20, 2026 Distribution Patch (110 in total, the first dated here)
- Nov 12, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21832
vulnetix vdb fixes CVE-2025-21832
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21832/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart