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.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0f1bae071de9967602807472921829a54b2e5956
- https://git.kernel.org/stable/c/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6
- https://git.kernel.org/stable/c/8fc80874103a5c20aebdc2401361aa01c817f75b
- https://git.kernel.org/stable/c/cbaf9be337f7da25742acfce325119e3395b1f1b
- https://git.kernel.org/stable/c/0f1bae071de9967602807472921829a54b2e5956
- https://git.kernel.org/stable/c/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6
- https://git.kernel.org/stable/c/8fc80874103a5c20aebdc2401361aa01c817f75b
- https://git.kernel.org/stable/c/cbaf9be337f7da25742acfce325119e3395b1f1b



