CVE-2026-80860: fuse: fix race between interrupt and resend
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
fuse: fix race between interrupt and resend
After commit f8fce75fedf7 ("fuse: clear intr_entry in fuse_resend and fuse_remove_pending_req") the WARN_ON(!list_empty(&req->intr_entry)) in fuse_request_free() still triggers due to the following race:
In request_wait_answer()
if (test_bit(FR_SENT, &req->flags)) -> returns true
In fuse_chan_resend()
clear_bit(FR_SENT, &req->flags)
In request_wait_answer()
queue_interrupt(req)
Fix by:
- move clearing FR_SENT inside fpq->lock
- move setting FR_PENDING inside fiq->lock
- recheck FR_SENT after acquiring fiq->lock in fuse_dev_queue_interrupt()
The Linux kernel CVE team has assigned CVE-2026-80860 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit f8fce75fedf73ac72aa09163deb8f4291fdcaad2 and fixed in 7.2.3 with commit 26fbe4bc3ef3ab0200407681cbef182af5d151de Issue introduced in 7.2 with commit f8fce75fedf73ac72aa09163deb8f4291fdcaad2 and fixed in 7.3-rc1 with commit ed9c881f3b498383f73c42712b359419da42a7b0 Issue introduced in 6.12.96 with commit 1d8ecd0cd696a5df0b2f72046a4ccee5d2a8ec2c Issue introduced in 6.18.39 with commit 7366e6f4d2b4c7002b13fb01219e83679dad4127 Issue introduced in 7.1.4 with commit 893479015cb6442fd389d3b553ab3036c9541715
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80860
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/fuse/dev.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/26fbe4bc3ef3ab0200407681cbef182af5d151de https://git.kernel.org/stable/c/ed9c881f3b498383f73c42712b359419da42a7b0