fuse-uring: fix moving cancelled entry to ent_in_userspace list
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 198f45eeb9f78b2a2d6d8be95e4e43468eb2c6bc, Kernel 50f3e03db823cabc41fe35c27d77c2bdb112baad and Kernel e8afc85acdf329361b2d8df2ad9b52364686235f.
In the Linux kernel, the following vulnerability has been resolved: fuse-uring: fix moving cancelled entry to ent_in_userspace list fuse_uring_cancel() moves entries that are available (these have no reqs attached) to the ent_in_userspace list. ent_list_request_expired() checks the first entry on ent_in_userspace and dereferences ent->fuse_req unconditionally, which will crash on a cancelled entry that was moved to this list. Fix this by freeing the entry and dropping queue_refs directly in fuse_uring_cancel(). This is safe because cancel is the cancel handler itself - after io_uring_cmd_done(), no more cancels will be dispatched for this command, and teardown serializes with cancel via queue->lock. Since cancel now decrements queue_refs, fuse_uring_abort() must no longer gate fuse_uring_abort_end_requests() on queue_refs > 0, as cancelled entries may have already dropped queue_refs while requests are still queued. Remove the gate so abort always flushes requests and stops queues.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=4fea593e625cd50d4d11be227007849b12f17bfb <198f45eeb9f78b2a2d6d8be95e4e43468eb2c6bc, >=4fea593e625cd50d4d11be227007849b12f17bfb <50f3e03db823cabc41fe35c27d77c2bdb112baad, >=4fea593e625cd50d4d11be227007849b12f17bfb <e8afc85acdf329361b2d8df2ad9b52364686235f | 198f45eeb9f78b2a2d6d8be95e4e43468eb2c6bc, 50f3e03db823cabc41fe35c27d77c2bdb112baad, e8afc85acdf329361b2d8df2ad9b52364686235f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket