CVE-2024-26844

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
17/04/2024
Last modified:
02/04/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> block: Fix WARNING in _copy_from_iter<br /> <br /> Syzkaller reports a warning in _copy_from_iter because an<br /> iov_iter is supposedly used in the wrong direction. The reason<br /> is that syzcaller managed to generate a request with<br /> a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs<br /> the kernel to copy user buffers into the kernel, read into<br /> the copied buffers and then copy the data back to user space.<br /> <br /> Thus the iovec is used in both directions.<br /> <br /> Detect this situation in the block layer and construct a new<br /> iterator with the correct direction for the copy-in.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.80 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.19 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*