btrfs: don't stash io_uring encoded data across -EAGAIN
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e and Kernel 51562a8cb11628d3a5e105b4c347ec5473e5745f.
In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU leaks if the request is cancelled or the ring exits before reissue. io_uring does not free driver PDU allocations on cleanup. Write: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so return -EAGAIN before allocating and free data on every exit. Read: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation for btrfs_uring_read_finished().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=34310c442e175f286b4c06ab5caa4e0b267ea31c <4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e, >=34310c442e175f286b4c06ab5caa4e0b267ea31c <51562a8cb11628d3a5e105b4c347ec5473e5745f | 4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e, 51562a8cb11628d3a5e105b4c347ec5473e5745f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket