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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 23.10 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 14.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 16.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 18.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
git.kernel.org/linus/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6 (6.8-rc2)
git.kernel.org/stable/c/0f1bae071de9967602807472921829a54b2e5956
git.kernel.org/stable/c/13f3956eb5681a4045a8dfdef48df5dc4d9f58a6
git.kernel.org/stable/c/8fc80874103a5c20aebdc2401361aa01c817f75b
git.kernel.org/stable/c/cbaf9be337f7da25742acfce325119e3395b1f1b
launchpad.net/bugs/cve/CVE-2024-26844
nvd.nist.gov/vuln/detail/CVE-2024-26844
security-tracker.debian.org/tracker/CVE-2024-26844
www.cve.org/CVERecord?id=CVE-2024-26844