Description (CNA)
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().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 981f95a571e3ca20a496c0b77dbf6b06039c6648 before 7f97c762b5f6e0005c5c7d040ded73bf7fb3587e; affected 981f95a571e3ca20a496c0b77dbf6b06039c6648 before 27ff6e8703f7a7160c728501da2f8ef8e7bb6b2f; affected 981f95a571e3ca20a496c0b77dbf6b06039c6648 before 0121c84adb6a4cd6f7560b5895bd88f9899bbc1f; affected 981f95a571e3ca20a496c0b77dbf6b06039c6648 before 5ac6019cb78e98c9608fda72726b36ddf8474dd7; affected 981f95a571e3ca20a496c0b77dbf6b06039c6648 before 3831568792af75b6523fa93bb91560e29189cf55 |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7f97c762b5f6e0005c5c7d040ded73bf7fb3587e
- https://git.kernel.org/stable/c/27ff6e8703f7a7160c728501da2f8ef8e7bb6b2f
- https://git.kernel.org/stable/c/0121c84adb6a4cd6f7560b5895bd88f9899bbc1f
- https://git.kernel.org/stable/c/5ac6019cb78e98c9608fda72726b36ddf8474dd7
- https://git.kernel.org/stable/c/3831568792af75b6523fa93bb91560e29189cf55