Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < a7b33671e418fca507feebd1d56e7f4952a4b25caffectedc7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < 439a6728ec4641ffad1ca796622c19bc525e570faffectedc7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < f3fb54e7a8b4aadcc2836ee463eec8c88709b8aaaffectedc7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < 50ad880db3013c6fee0ef13781762a39e2e7ef83affectedc7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < 97b57f69fee1b61b41acbf37e7720cac9d389fa4affectedc7fb19428d67dd0a2a78a4f237af01d39c78dc5a to < c2c185be5c85d37215397c8e8781abf0a69bec1faffected
Linux Linux
Default version status: affected
5.19affected0 to < 5.19unaffected6.1.167 to ≤ 6.1.*unaffected6.6.130 to ≤ 6.6.*unaffected6.12.78 to ≤ 6.12.*unaffected6.18.19 to ≤ 6.18.*unaffected6.19.9 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a7b33671e418fca507feebd1d56e7f4952a4b25c ↗
- https://git.kernel.org/stable/c/439a6728ec4641ffad1ca796622c19bc525e570f ↗
- https://git.kernel.org/stable/c/f3fb54e7a8b4aadcc2836ee463eec8c88709b8aa ↗
- https://git.kernel.org/stable/c/50ad880db3013c6fee0ef13781762a39e2e7ef83 ↗
- https://git.kernel.org/stable/c/97b57f69fee1b61b41acbf37e7720cac9d389fa4 ↗
- https://git.kernel.org/stable/c/c2c185be5c85d37215397c8e8781abf0a69bec1f ↗