io_uring/rw: ensure allocated iovec gets cleared for early failure
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
io_uring/rw: ensure allocated iovec gets cleared for early failure
A previous commit reused the recyling infrastructure for early cleanup, but this is not enough for the case where our internal caches have overflowed. If this happens, then the allocated iovec can get leaked if the request is also aborted early.
Reinstate the previous forced free of the iovec for that situation.
From the CVE record · Linux
The Linux kernel’s io_uring/rw code can leak an allocated iovec when internal caches overflow and a request is aborted early. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Teams running the Linux kernel should check their versions; affected versions are not specified.