CVE-2024-26844

MEDIUM

Linux Kernel - Use-After-Free in _copy_from_iter

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 13.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (15)
linux/Kernel 4.0.0 - 6.1.80linux
linux/Kernel 6.2.0 - 6.6.19linux
linux/Kernel 6.7.0 - 6.7.7linux
Linux/Linux < 4.0
Linux/Linux 4.0
Linux/Linux 6.1.80 - 6.1.*
Linux/Linux 6.6.19 - 6.6.*
Linux/Linux 6.7.7 - 6.7.*
Linux/Linux 6.8
Linux/Linux 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b - 0f1bae071de9967602807472921829a54b2e5956
... and 5 more
Published Apr 17, 2024
Tracked Since Feb 18, 2026