ublk: check import_ubuf() return value
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ublk: check import_ubuf() return value import_ubuf() can fail if the address range (provided by the userspace ublk server) is outside the allowed user address space. Return that 0 bytes were copied if import_ubuf() fails rather than passing an uninitialized struct iov_iter to ublk_copy_user_pages().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 981f95a571e3ca20a496c0b77dbf6b06039c6648 · fixed in 7f97c762b5f6e0005c5c7d040ded73bf7fb3587e; From 981f95a571e3ca20a496c0b77dbf6b06039c6648 · fixed in 27ff6e8703f7a7160c728501da2f8ef8e7bb6b2f; From 981f95a571e3ca20a496c0b77dbf6b06039c6648 · fixed in 0121c84adb6a4cd6f7560b5895bd88f9899bbc1f; From 981f95a571e3ca20a496c0b77dbf6b06039c6648 · fixed in 5ac6019cb78e98c9608fda72726b36ddf8474dd7; From 981f95a571e3ca20a496c0b77dbf6b06039c6648 · fixed in 3831568792af75b6523fa93bb91560e29189cf55
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6