CVE-2025-21832

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/03/2025
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> block: don&amp;#39;t revert iter for -EIOCBQUEUED<br /> <br /> blkdev_read_iter() has a few odd checks, like gating the position and<br /> count adjustment on whether or not the result is bigger-than-or-equal to<br /> zero (where bigger than makes more sense), and not checking the return<br /> value of blkdev_direct_IO() before doing an iov_iter_revert(). The<br /> latter can lead to attempting to revert with a negative value, which<br /> when passed to iov_iter_revert() as an unsigned value will lead to<br /> throwing a WARN_ON() because unroll is bigger than MAX_RW_COUNT.<br /> <br /> Be sane and don&amp;#39;t revert for -EIOCBQUEUED, like what is done in other<br /> spots.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.17.1 (including) 6.1.129 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.78 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.3 (excluding)
cpe:2.3:o:linux:linux_kernel:5.17:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc8:*:*:*:*:*:*