VDB

CVE-2025-21832

CVE-2025-21832 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
LinuxLinux84671b0630ccb46ae9f1f99a45c7d63ffcd6a474, 5.17

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3e1f941dd9f33776b3df4e30f741fe445ff773f3, 3e1f941dd9f33776b3df4e30f741fe445ff773f3, 3e1f941dd9f33776b3df4e30f741fe445ff773f3
LinuxLinux5.17, 0, 6.1.129
LinuxLinux3e1f941dd9f33776b3df4e30f741fe445ff773f3, 0, 5.17
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023perf0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
linuxlinux_kernel5.17, 5.17, 5.17
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023kernel-livepatch-6.1.129-138.2200
amazon:2023kernel-modules-extra-common0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›