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 7C7761F8EFD for ; Mon, 21 Oct 2024 18:06:57 +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=1729534017; cv=none; b=inIPIqb57NZ2FtcCJOD2eprXaJu/M5Av575eCELOh4oZw8n2FrYxf68denq72t1bUXVCAWN/26S/htthyyemg7Is2qyfjVHrN5ZLFq4jhiI/9b5z84qAlFRHjmfnux8vgReb2giQwJOTBAccSRUlGxoatwOabYEufZJdystg8UI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534017; c=relaxed/simple; bh=pgX9lLva/ZpO/eOhlQ5+SDtxRICjGehLfIY1l5QC9oQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p/3Vh+Qlpd3i0Qt2P24J75YOnDaQExSlS/47FZFvLJRFeltlbdX9y66IAPBgciCDG14+nmNdbxU1gZ9hHQDKSWPw/1VqtLY8B562oysU/pa4aCoGZKMNGViRVvRdc0Y6KVaNIXg61JB1OfvKkJsf3Q4NSaIriM+4rcjj91nUI8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2CNvXTu6; 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="2CNvXTu6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02436C4CEC7; Mon, 21 Oct 2024 18:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534017; bh=pgX9lLva/ZpO/eOhlQ5+SDtxRICjGehLfIY1l5QC9oQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2CNvXTu6/bIX36DYM+TXOch0kKM3uIvlMlrCzM1/VowOBGI+Oq7vO9RbA7WI1hhRp SayyYPwilnde54VJZD6G1/QGksQ4kwi93LOoPexpzNrRk5o/uAcZLoseFQ10D9W8Gg 7+SSBMnTKD/r0+uN3G28CG7S3E5mt8PkrMalG1Ug= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49965: ocfs2: remove unreasonable unlock in ocfs2_read_blocks Date: Mon, 21 Oct 2024 20:02:53 +0200 Message-ID: <2024102132-CVE-2024-49965-9ed0@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=3148; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pgX9lLva/ZpO/eOhlQ5+SDtxRICjGehLfIY1l5QC9oQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0/6cqVZKUVtinyOj1cM8r3uveG3wVI/IT/8jNS7cf pIr+DC0I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbil82wYIrCL//m7nNaPz9O YisPt1n2KbriAcM8Q93N+80Oc5Xenyqhzz73x7HjuSI/AA== 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: ocfs2: remove unreasonable unlock in ocfs2_read_blocks Patch series "Misc fixes for ocfs2_read_blocks", v5. This series contains 2 fixes for ocfs2_read_blocks(). The first patch fix the issue reported by syzbot, which detects bad unlock balance in ocfs2_read_blocks(). The second patch fixes an issue reported by Heming Zhao when reviewing above fix. This patch (of 2): There was a lock release before exiting, so remove the unreasonable unlock. The Linux kernel CVE team has assigned CVE-2024-49965 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit cf76c78595ca and fixed in 5.10.227 with commit 3f1ca6ba5452 Issue introduced in 4.20 with commit cf76c78595ca and fixed in 5.15.168 with commit f55a33fe0fb5 Issue introduced in 4.20 with commit cf76c78595ca and fixed in 6.1.113 with commit 81aba693b129 Issue introduced in 4.20 with commit cf76c78595ca and fixed in 6.6.55 with commit 84543da867c9 Issue introduced in 4.20 with commit cf76c78595ca and fixed in 6.10.14 with commit df4f20fc3673 Issue introduced in 4.20 with commit cf76c78595ca and fixed in 6.11.3 with commit 39a88623af3f Issue introduced in 4.20 with commit cf76c78595ca and fixed in 6.12-rc1 with commit c03a82b4a0c9 Issue introduced in 4.4.204 with commit 01f93d5e3675 Issue introduced in 4.9.204 with commit 65cbd1279f4b Issue introduced in 4.14.157 with commit 97e1db17bc1e Issue introduced in 4.19.87 with commit 6c150df9c2e8 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-49965 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/ocfs2/buffer_head_io.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/3f1ca6ba5452d53c598a45d21267a2c0c221eef3 https://git.kernel.org/stable/c/f55a33fe0fb5274ef185fd61947cf142138958af https://git.kernel.org/stable/c/81aba693b129e82e11bb54f569504d943d018de9 https://git.kernel.org/stable/c/84543da867c967edffd5065fa910ebf56aaae49d https://git.kernel.org/stable/c/df4f20fc3673cee11abf2c571987a95733cb638d https://git.kernel.org/stable/c/39a88623af3f1c686bf6db1e677ed865ffe6fccc https://git.kernel.org/stable/c/c03a82b4a0c935774afa01fd6d128b444fd930a1