Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/rw: free potentially allocated iovec on cache put failure If a read/write request goes through io_req_rw_cleanup() and has an allocated iovec attached and fails to put to the rw_cache, then it may end up with an unaccounted iovec pointer. Have io_rw_recycle() return whether it recycled the request or not, and use that to gauge whether to free a potential iovec or not.
Product status
a9165b83c1937eeed1f0c731468216d6371d647f (git) before 1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c
a9165b83c1937eeed1f0c731468216d6371d647f (git) before 4b9748055457ac3a0710bf210c229d01ea1b01b9
6.10
Any version before 6.10
6.18.10 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c
git.kernel.org/...c/4b9748055457ac3a0710bf210c229d01ea1b01b9