# CVE-2024-26844: block: Fix WARNING in _copy_from_iter

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-17T10:10:08.711Z
- Modified: 2026-06-17T07:18:29.127Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

block: Fix WARNING in _copy_from_iter

Syzkaller reports a warning in _copy_from_iter because an
iov_iter is supposedly used in the wrong direction. The reason
is that syzcaller managed to generate a request with
a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs
the kernel to copy user buffers into the kernel, read into
the copied buffers and then copy the data back to user space.

Thus the iovec is used in both directions.

Detect this situation in the block layer and construct a new
iterator with the correct direction for the copy-in.

(As written by CVE List.)

## Affected

- Linux Linux: from 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b before 8fc80874103a5c20aebdc2401361aa01c817f75b; from 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b before 0f1bae071de9967602807472921829a54b2e5956; from 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b before cbaf9be337f7da25742acfce325119e3395b1f1b; from 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b before 13f3956eb5681a4045a8dfdef48df5dc4d9f58a6; 4.0 (not affected: before 4.0; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8

## References

- <https://git.kernel.org/stable/c/8fc80874103a5c20aebdc2401361aa01c817f75b> (patch)
- <https://git.kernel.org/stable/c/0f1bae071de9967602807472921829a54b2e5956> (patch)
- <https://git.kernel.org/stable/c/cbaf9be337f7da25742acfce325119e3395b1f1b> (patch)
- <https://git.kernel.org/stable/c/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6> (patch)

## Sources

- CVE List: [CVE-2024-26844](https://www.cve.org/CVERecord?id=CVE-2024-26844), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26844](https://nvd.nist.gov/vuln/detail/CVE-2024-26844), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26844 · Whole record: https://cve.day/CVE-2024-26844.json · Rebuilt by cve.day 2026-11-25T22:58:39.349Z
