io_uring/rw: split io_read() into a helper
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.1.1226.6.686.7In the Linux kernel, the following vulnerability has been resolved:
IORING_OP_READ did not correctly consume the provided buffer list when read i/o returned < 0 (except for -EAGAIN and -EIOCBQUEUED return). This can lead to a potential use-after-free when the completion via io_rw_done runs at separate context.
From the CVE record · Linux
The Linux kernel does not correctly consume a provided buffer list when an IORING_OP_READ operation returns a negative result other than -EAGAIN or -EIOCBQUEUED. This can lead to a potential use-after-free if io_rw_done completion runs in a separate context. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with io_uring should check their versions against the vendor advisory; affected versions were not provided.