io_uring: Fix release of pinned pages when __io_uaddr_map fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6, Kernel 0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62, Kernel 4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a and 5 more.
In the Linux kernel, the following vulnerability has been resolved: io_uring: Fix release of pinned pages when __io_uaddr_map fails Looking at the error path of __io_uaddr_map, if we fail after pinning the pages for any reasons, ret will be set to -EINVAL and the error handler won't properly release the pinned pages. I didn't manage to trigger it without forcing a failure, but it can happen in real life when memory is heavily fragmented.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.5.7 <6.6, >=223ef474316466e9f61f6e0064f3a6fe4923a2c5 <0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62, >=223ef474316466e9f61f6e0064f3a6fe4923a2c5 <4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a, >=223ef474316466e9f61f6e0064f3a6fe4923a2c5 <67d1189d1095d471ed7fa426c7e384a7140a5dd7, >=223ef474316466e9f61f6e0064f3a6fe4923a2c5 <712e2c8415f55a4a4ddaa98a430b87f624109f69, =3f3164ce6396138747984ee9e61158e248246300, =6.6 | 6.6, 0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62, 4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a, 67d1189d1095d471ed7fa426c7e384a7140a5dd7, 712e2c8415f55a4a4ddaa98a430b87f624109f69 |
| linux-kernel: Kernel | >=6.6.0 <6.6.23, >=6.7.0 <6.7.11, >=6.8.0 <6.8.2, >=6.5.7 <6.6 | 6.6.23, 6.7.11, 6.8.2, 6.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket