io_uring/kbuf: check if target buffer list is still legacy on recycle
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.1.167, Kernel 6.18.19, Kernel 6.19.9 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: check if target buffer list is still legacy on recycle There's a gap between when the buffer was grabbed and when it potentially gets recycled, where if the list is empty, someone could've upgraded it to a ring provided type. This can happen if the request is forced via io-wq. The legacy recycling is missing checking if the buffer_list still exists, and if it's of the correct type. Add those checks.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.19 <6.1.167, >=6.13 <6.18.19, >=6.19 <6.19.9, >=6.2 <6.6.130, >=6.7 <6.12.78, =7.0, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <50ad880db3013c6fee0ef13781762a39e2e7ef83, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <97b57f69fee1b61b41acbf37e7720cac9d389fa4, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <a7b33671e418fca507feebd1d56e7f4952a4b25c, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <c2c185be5c85d37215397c8e8781abf0a69bec1f, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <f3fb54e7a8b4aadcc2836ee463eec8c88709b8aa, =5.19, >=c7fb19428d67dd0a2a78a4f237af01d39c78dc5a <439a6728ec4641ffad1ca796622c19bc525e570f | 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78, 50ad880db3013c6fee0ef13781762a39e2e7ef83, 97b57f69fee1b61b41acbf37e7720cac9d389fa4, a7b33671e418fca507feebd1d56e7f4952a4b25c, c2c185be5c85d37215397c8e8781abf0a69bec1f, f3fb54e7a8b4aadcc2836ee463eec8c88709b8aa, 439a6728ec4641ffad1ca796622c19bc525e570f |
| linux-kernel: Kernel | >=5.19.0 <6.1.167, >=6.13.0 <6.18.19, >=6.19.0 <6.19.9, >=6.2.0 <6.6.130, >=6.7.0 <6.12.78 | 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket