Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BF0E3C3432 for ; Mon, 10 Aug 2026 12:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363283; cv=none; b=ua4vHH+VMdSYeHzktPtKr3oIdR2qDRqZPVYyd83tWLSJ0gwkPj5ii5ov7IesqbY8uUrl1VaMvmDjZX7a4UkcnDJd3bj/IDA6miKnZ9Ne+9quP7yl5OaqIYa1MNzCRf8E/zrKwF9Zgd9fF2eorjihTt5yUE1bI0WImRpQNy4I+Jg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363283; c=relaxed/simple; bh=thBEB89t+9jecWcRV8/YLk5JHisPmo/UGwRS/qBaSwo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TplNNQrcCG2efHhpkj7JGhYJ0SFM3JhTweX627bgKbUW6bLmXA+rruadBDOHKDYCAEYHKdbFO9gf5Kt0Mib2eU7o3IyXqFyytdWrtD5+PKWKiudpMl0hFcGj5uBPUkbTHDIQkt7ecpujMaIZYJjRuLaURJVmUCUftNkeC7dWttc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qeseLJfS; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qeseLJfS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B388A1F000E9; Mon, 10 Aug 2026 12:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363282; bh=imou0gNh4SHL3AOYnUAcjDjUbdImPZ2cW5Mxr3GiDZM=; h=From:To:Cc:Subject:Date:Reply-To; b=qeseLJfSw/jLiyI0oJ8t/naxP8MEOBsob0VD9wxtEPzVCsIWbtQQTEb/o7gpVIJM4 0KwW9duNWqASXER5StEVwL+OV1vLcyr4s7lVOvJr5oZSjG3FoSUIdou/y/QqYwBJ3Y rhQzpR/4W/WH52WiXd5rVKkiBoJc0Aq/CoX6XM7A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68095: fuse-uring: fix race between registration and connection abortion Date: Mon, 10 Aug 2026 13:56:52 +0200 Message-ID: <2026081051-CVE-2026-68095-ea8c@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3300; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3WPklyN2yM9vTI+SMbpOSPSO3/J7+FYjwDAZoq12Sew=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe5pzFz5/tm7mtK71Dz89fXtXo0Zow6ruTUw727aIe q6V38mq2BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+TqJYZ6p3eRlJYs9jI5+ VpERUTugbx040YZhwYXZRzSbWWYdfb4mc/Eh5Xr2702TFwEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: fuse-uring: fix race between registration and connection abortion This fixes this race: - thread a: io_uring_enter -> register sqe -> fuse_uring_create_ring_ent -> allocate ent but doesn't grab queue_ref yet - thread b: fuse_conn_destroy() -> fuse_chan_abort() -> fuse_uring_abort() is a no-op due to queue ref being 0 - thread a: grabs the queue_ref, queue_ref is now 1, rest of fuse_uring_do_register() logic executes - thread b: fuse_chan_abort() returns, fuse_chan_wait_aborted() now runs and calls "wait_event(ring->stop_waitq, atomic_read(&ring->queue_refs) == 0);" The abort/unmount thread will hang indefinitely in unkillable state as nothing will decrement queue_refs or wake stop_waitq, and the ring, queue, and ent are leaked. Fix this by checking fch->connected under fch->lock after the created ent has grabbed a ref count on the queue. This ensures that in the scenario above, it is guaranteed that we either release the queue ref and wake up stop_waitq (in case fuse_chan_wait_aborted() is already waiting) in fuse_uring_do_register() when we detect !fch->connected, or if the connection is aborted after the check, it is guaranteed that the async teardown worker will be running in the background cleaning up ents and decrementing the ent's ref on the queue, which will unblock the eventual queue and ring teardown. The Linux kernel CVE team has assigned CVE-2026-68095 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 24fe962c86f55347385933a1b06ca71b60854690 and fixed in 6.18.42 with commit 3bca70235a706de76fe9a81defd37d987062c686 Issue introduced in 6.14 with commit 24fe962c86f55347385933a1b06ca71b60854690 and fixed in 7.1.6 with commit 2cd945492bc5b472e814272e88b731bb9bb17629 Issue introduced in 6.14 with commit 24fe962c86f55347385933a1b06ca71b60854690 and fixed in 7.2-rc1 with commit 952b5d36f6a298f57c52a59e72076c69386a8aaf 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-68095 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_uring.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/3bca70235a706de76fe9a81defd37d987062c686 https://git.kernel.org/stable/c/2cd945492bc5b472e814272e88b731bb9bb17629 https://git.kernel.org/stable/c/952b5d36f6a298f57c52a59e72076c69386a8aaf