VDB

CISA-2024-26844

CISA-2024-26844 PUBLISHED

Reported by Linux · Published April 17, 2024

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 Products

VendorProductVersions
LinuxLinux9124d3fe21b0947b03f4b87bcfb7acd675d6e85b, 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b, 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b
LinuxLinux4.0, 0, 6.1.80
linuxlinux_kernel4.0, 4.0, 4.0
LinuxLinux9124d3fe21b0947b03f4b87bcfb7acd675d6e85b, 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b, 9124d3fe21b0947b03f4b87bcfb7acd675d6e85b

Timeline

  • Apr 17, 2024 CVE Published
  • Jan 5, 2026 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›