In the Linux kernel, the following vulnerability has been resolved: btrfs: always return -EIOCBQUEUED after btrfs_uring_read_extent_endio If all bios finish before btrfs_encoded_read_regular_fill_pages() returns, it calls btrfs_uring_read_extent_endio() and previously returned the I/O status. A negative errno then made btrfs_uring_read_extent() unlock and free while btrfs_uring_read_finished() did the same again. Return -EIOCBQUEUED so only the deferred path cleans up.
https://git.kernel.org/stable/c/a449433b0e3d4a3715d0bbee078f8c603f03c9f6
https://git.kernel.org/stable/c/80a8dbb30d2b00b9c671b02bd73f700f6d20100f
https://git.kernel.org/stable/c/033dda5b321f01661de518a8d5c8607ae8675b14