Linux
fuse-uring: Avoid queue->stopped races and set/read that value under lock
In the Linux kernel, the following vulnerability has been resolved: fuse-uring: Avoid queue->stopped races and set/read that value under lock There are several readers of queue->stopped that check the value under lock, but fuse_uring_commit_fetch() did not and actually the value was not set under the lock in fuse_uring_abort_end_requests() either. Especially in fuse_uring_commit_fetch it is important to check under a lock, because due to races 'struct fuse_req' might be freed with fuse_request_end, but another thread/cpu might already do teardown work.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4a9bfb9b6850fec0685447aed280533cf980de70, < 39c8e925b207afceffaa5382416ed405e0223a03
- >= 4a9bfb9b6850fec0685447aed280533cf980de70, < 4021a3a79eee551d95fe1e1e7c1b195d34ba8c08
- >= 4a9bfb9b6850fec0685447aed280533cf980de70, < b70a3aca16934c196f92abb17b01c1647b9bb63c
Fixed in 39c8e925b207afceffaa5382416ed405e0223a03, 4021a3a79eee551d95fe1e1e7c1b195d34ba8c08, b70a3aca16934c196f92abb17b01c1647b9bb63c
- 6.14
Fixed in 0, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 39c8e925b207afceffaa5382416ed405e0223a03 or 4021a3a79eee551d95fe1e1e7c1b195d34ba8c08 or b70a3aca16934c196f92abb17b01c1647b9bb63c or later.
Upgrade Linux to 0 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.