CVE-2024-26844

block: Fix WARNING in _copy_from_iter

published April 17, 2024

CVSS
—
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.5th percentile
Published
2024-04-17T10:10Z
EPSS history
Timeline
  • 17 APR 10:10Z
    block: Fix WARNING in _copy_from_iter
    cvelistv5