Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A7E961F4FAE for ; Mon, 21 Oct 2024 12:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513032; cv=none; b=mO6PhM1To4dVdYWkqi8z6LWXRMYJdxxew9F7T/cTAGUePeWtdw7LWyUSMt78VhB1vIdJGYndDKrNeQwXE7ai/3i5DEr09vMbqIBxTTzSUfvcMbnAQpVI3FJ4nIBWJq7WuPpgmX1pVq07/gTp7+5c/A8sej0QMPATZWQNYgQg3mc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513032; c=relaxed/simple; bh=44WEtx+sKsVJr54GPdDh0B6lA2Pap4XiGYcN2BiMPj8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i20VWRfV/eiJmBfdZwI/mSMfY7J/d4Lcj7otLMQsazpQm2UZplim0oJUfp2NoINzdAkj9pNo1L3W6VzNt/5dga86MhYFkiiEUVlMQwyACY1l/kGVQS7mlDv52zZhm6UM1hGjicYctq/Swa+0IvtZ0M6/dc/UC97VAmCJTjyoXUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=11cMEWQw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="11cMEWQw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24EBCC4CEE5; Mon, 21 Oct 2024 12:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513032; bh=44WEtx+sKsVJr54GPdDh0B6lA2Pap4XiGYcN2BiMPj8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=11cMEWQwHM/2IBNntUT0c62fyqdw4F1UXIXZ+/5p4JLsgta6mSqWnL3g2iUi8anWF 6h0yPLM/4LRp/oDHFoKMfvFKpyKm1sANAkVFQTLX4VluefgwCt+NqfhHZnknHYBD+l Agfj6XQ3hiK9HqzQq2glj5PXRjbm6+wyvdO/kvqA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47746: fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set Date: Mon, 21 Oct 2024 14:16:25 +0200 Message-ID: <2024102111-CVE-2024-47746-f737@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1987; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=44WEtx+sKsVJr54GPdDh0B6lA2Pap4XiGYcN2BiMPj8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibjy8q3Z+3zRjsTnvnzbuK/3qF4Na4tXXXqr6e645q uH5Hg/ujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjINHeG+WmvIsMUF6dd85za MiO+LPdfWJTOR4YFN3fqpN7L3BgxL5A/69r2Q2K7lfwZAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set This may be a typo. The comment has said shared locks are not allowed when this bit is set. If using shared lock, the wait in `fuse_file_cached_io_open` may be forever. The Linux kernel CVE team has assigned CVE-2024-47746 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 205c1d802683 and fixed in 6.10.13 with commit fa4890bd8237 Issue introduced in 6.9 with commit 205c1d802683 and fixed in 6.11.2 with commit 4e181761ffec Issue introduced in 6.9 with commit 205c1d802683 and fixed in 6.12-rc1 with commit 2f3d8ff45798 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-2024-47746 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/file.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/fa4890bd8237e5a1e7428acd7328729db2703b23 https://git.kernel.org/stable/c/4e181761ffec67307157a7e8a78d58ee4130cf00 https://git.kernel.org/stable/c/2f3d8ff457982f4055fe8f7bf19d3821ba22c376