fuse: wait for FR_FINISHED on abort_on_kill to prevent use-after-free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7.1, Kernel 64b0b5cacbd2fea88001464cb712c9dfc795b26e, Kernel 715cb86e33cda43f5224cdc3fd5610c0b6a46f7a and 3 more.
In the Linux kernel, the following vulnerability has been resolved: fuse: wait for FR_FINISHED on abort_on_kill to prevent use-after-free The abort_on_kill path in request_wait_answer() calls fuse_abort_conn() and returns without waiting for FR_FINISHED. If fuse_dev_do_write() is concurrently processing the same request (FR_LOCKED set), the caller frees req->args while it is still being accessed, causing a use-after-free. Fix this by jumping to the existing wait_event(FR_FINISHED) instead of returning early. The wait will not hang because fuse_abort_conn() ensures all requests are ended.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7.0.2 <7.1, >=204aa22a686bfee48daca7db620c1e017615f2ff <64b0b5cacbd2fea88001464cb712c9dfc795b26e, >=204aa22a686bfee48daca7db620c1e017615f2ff <715cb86e33cda43f5224cdc3fd5610c0b6a46f7a, >=6.18.25 <6.18.50, =300e812b882a174dca675d8028684001ad5826bc, =7.1, >=0c7fca880a40a209a9c92be14143996d14b93ff6 <a8bbb2a60513bf322170903c21462f0bf4f62be2 | 7.1, 64b0b5cacbd2fea88001464cb712c9dfc795b26e, 715cb86e33cda43f5224cdc3fd5610c0b6a46f7a, 6.18.50, a8bbb2a60513bf322170903c21462f0bf4f62be2 |
| linux-kernel: Kernel | >=7.0.2 <7.1, >=7.1.0 <7.2.3, >=6.18.25 <6.18.50 | 7.1, 7.2.3, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket