io_uring/rsrc: don't rely on user vaddr alignment
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.12.366.15.56.16In the Linux kernel, the following vulnerability has been resolved:
io_uring/rsrc: don't rely on user vaddr alignment
There is no guaranteed alignment for user pointers, however the calculation of an offset of the first page into a folio after coalescing uses some weird bit mask logic, get rid of it.
From the CVE record · Linux
The Linux kernel’s io_uring/rsrc code relies on user-pointer alignment when calculating the first page’s offset into a folio after coalescing, although that alignment is not guaranteed. The input does not specify what an attacker could do or whether exploitation requires local or network access, authentication, or user interaction.
Anyone running the Linux kernel should check whether their version contains the vulnerable io_uring/rsrc code; affected versions are not specified.