CVE-2024-26844

published 17 Apr 2024 · updated 12 Aug 2026

block: Fix WARNING in _copy_from_iter

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f1bae071de9967602807472921829a54b2e5956, Kernel 13f3956eb5681a4045a8dfdef48df5dc4d9f58a6, Kernel 8fc80874103a5c20aebdc2401361aa01c817f75b and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.0, >=9124d3fe21b0947b03f4b87bcfb7acd675d6e85b <0f1bae071de9967602807472921829a54b2e5956, >=9124d3fe21b0947b03f4b87bcfb7acd675d6e85b <13f3956eb5681a4045a8dfdef48df5dc4d9f58a6, >=9124d3fe21b0947b03f4b87bcfb7acd675d6e85b <8fc80874103a5c20aebdc2401361aa01c817f75b, >=9124d3fe21b0947b03f4b87bcfb7acd675d6e85b <cbaf9be337f7da25742acfce325119e3395b1f1b0f1bae071de9967602807472921829a54b2e5956, 13f3956eb5681a4045a8dfdef48df5dc4d9f58a6, 8fc80874103a5c20aebdc2401361aa01c817f75b, cbaf9be337f7da25742acfce325119e3395b1f1b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26844 severity on Zeptric[![CVE-2024-26844](https://zeptric.io/badge/cve/CVE-2024-26844.svg)](https://zeptric.io/cve/CVE-2024-26844)