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 42A2135959 for ; Fri, 27 Dec 2024 15:01:10 +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=1735311670; cv=none; b=QVhIow4g9ps00Z6ey0PJ8NEfBZjicnuR/70DMJ1pZyxyd01m9m5JU3ObtPndV4XAUXNZ1/CZlo6UaLas+vBmmmIHRyeFxNzjNugVB08WRZreNMhS00X3JrnszFxOqEtcJS6p5/AUfDoluxs/OADtA7PRo0tet76jC5Rgk6jOMXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735311670; c=relaxed/simple; bh=nlyoXTqWtRLlvbBcT9YK5u8IWL9+dE4PzPCaHTYbmeY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c4e+m7BA6HO2MNdmw4mS8/BohhIq1Q+QtB6zgp/S2KzrRXOYfBJ/7A6X++od2hXGUKR6OFoTqQtmir+qR7lhVAOKnjbzf+cSrNMK4zqUqmJ9yZB0SiTWWTIjieHaM4p/WB5sIm0RSgj09XENB3raxiKY0uzMaxQaMMQKaEdgNAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qSn2zY2R; 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="qSn2zY2R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7095C4CED3; Fri, 27 Dec 2024 15:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735311670; bh=nlyoXTqWtRLlvbBcT9YK5u8IWL9+dE4PzPCaHTYbmeY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qSn2zY2RNr4db945GyHvBuMw9v1yTSExP7zlIf/QVJZW/Ly2g97mgSlvj7kyWjiz+ 6m0Ej8BhbFcf4Pz11WovYQhpSaD7Pjmews3D/cb2qiuA5SQ0wv9xh172+MBnQUWHGX kHQ83nJxSDUu2YAdEwogOwFyVeYJNp7PLXIRETo4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56630: ocfs2: free inode when ocfs2_get_init_inode() fails Date: Fri, 27 Dec 2024 15:51:37 +0100 Message-ID: <2024122713-CVE-2024-56630-c856@gregkh> X-Mailer: git-send-email 2.47.1 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=3094; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nlyoXTqWtRLlvbBcT9YK5u8IWL9+dE4PzPCaHTYbmeY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5+x7WHpoVuOl9WF3uasHIyYbODkvNzvwynZfqFhqz1 +eNygHzjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIxekMc4WKdhVs0RCd6vCd s9U6I5SrbknTCoZ5dqZrLHbsvtfAvW9j2b6/3DrBaWfmAwA= 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: free inode when ocfs2_get_init_inode() fails syzbot is reporting busy inodes after unmount, for commit 9c89fe0af826 ("ocfs2: Handle error from dquot_initialize()") forgot to call iput() when new_inode() succeeded and dquot_initialize() failed. The Linux kernel CVE team has assigned CVE-2024-56630 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 5.4.287 with commit 911fcc95b530615b484e8920741fc5e4bc4e684a Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 5.10.231 with commit 9c19ea59965ebb482e227532f7bbb01792fb028c Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 5.15.174 with commit c5327720a4655303ffa3f632d86ee205dd783f32 Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 6.1.120 with commit 67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15 Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 6.6.66 with commit a84d507d3290aca249b44ae992af9e10590cc5f6 Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 6.12.5 with commit 03db61c43c8e2729896fda6b9a95c7fb5c875c20 Issue introduced in 4.3 with commit 9c89fe0af826bfff36d8019ea6fd78db09b3c478 and fixed in 6.13-rc2 with commit 965b5dd1894f4525f38c1b5f99b0106a07dbb5db 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-56630 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/namei.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/911fcc95b530615b484e8920741fc5e4bc4e684a https://git.kernel.org/stable/c/9c19ea59965ebb482e227532f7bbb01792fb028c https://git.kernel.org/stable/c/c5327720a4655303ffa3f632d86ee205dd783f32 https://git.kernel.org/stable/c/67c2c6d0564ca05348ba4f8f6eaf7a0713f56c15 https://git.kernel.org/stable/c/a84d507d3290aca249b44ae992af9e10590cc5f6 https://git.kernel.org/stable/c/03db61c43c8e2729896fda6b9a95c7fb5c875c20 https://git.kernel.org/stable/c/965b5dd1894f4525f38c1b5f99b0106a07dbb5db