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 0B023337BB4 for ; Wed, 24 Dec 2025 13:08:58 +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=1766581738; cv=none; b=SgwIwJINQTkX5dEOVy/gGKhizyylYy7olhPfDqtdRlCSK6HT/F+obYDrS8ZQ0bDcVvK7BNrPkroSBAo6dGHG+Em/MmcbaiqMYnHj1jWgnWyRbJGslX6WC+1TgeijAyFlFm2+lo3V7AFdsyvIM7jqYAzdfk5t3q8YRIO15Hh/C/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581738; c=relaxed/simple; bh=y4AQW/8jEgkBm2ONyustUs6P8HBQIGi1PZYkUEre5UA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MAksT/Id9BExg0Sw99qVJLMynp0/45nhdm/jKh+dGeFhLWW4B1KZbTsU1V44/G8NGMUOnF1UdsisRY22hixZC3lXuzcGfF27xX6uwEeuvj00Bt34SYRcRiQdKqlYVxklu9HWZWtxqH9+feRgaYGbl9Sq5A0nEXPAv6OiOPYLEjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p138hn+k; 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="p138hn+k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82C0AC16AAE; Wed, 24 Dec 2025 13:08:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581737; bh=y4AQW/8jEgkBm2ONyustUs6P8HBQIGi1PZYkUEre5UA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=p138hn+kNKSvwhbai2Ni5ym3GZsUiq9FnO5QFhAvit2Sobzzn3DH19GF6ydK+njMa pUiiVLm2UN2usyF7n7y3dpXUN24+oXO3Pwjfatltsh6e8RRa3DZ2FS38tYkPWt8pzr 04Lo/M+f/UccOQlS02wQYWkj7AMibTYnsKvCr6nk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54088: blk-cgroup: hold queue_lock when removing blkg->q_node Date: Wed, 24 Dec 2025 14:06:45 +0100 Message-ID: <2025122406-CVE-2023-54088-f00f@gregkh> X-Mailer: git-send-email 2.52.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=2408; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z71Kmf0yp8cXyXBlatrr7aiif2Re1NMYlUoCoC46JAE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT+1e9zo9Si/WfFxkYNShebV19ezMJbY+LhYsk5pkV Lq+NqR0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERmv2RYMP302rvH89RX7Dj2 JlztpRUvV9KlQoYFK5KSO1UFlttqXlZ10jK+3OMW8KUUAA== 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: blk-cgroup: hold queue_lock when removing blkg->q_node When blkg is removed from q->blkg_list from blkg_free_workfn(), queue_lock has to be held, otherwise, all kinds of bugs(list corruption, hard lockup, ..) can be triggered from blkg_destroy_all(). The Linux kernel CVE team has assigned CVE-2023-54088 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.16 with commit 81c1188905f88b77743d1fdeeedfc8cb7b67787d and fixed in 6.1.17 with commit b5dae1cd0d8368b4338430ff93403df67f0b8bcc Issue introduced in 6.2.3 with commit bfe46d2efe46c5c952f982e2ca94fe2ec5e58e2a and fixed in 6.2.4 with commit 083b58373463a6e5ee60ecb135269348f68ad7df Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 6.4.12 with commit cd4ffdf56791eec95af01f06bee1ec7665ca75c4 Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 6.5 with commit c164c7bc9775be7bcc68754bb3431fce5823822e 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-2023-54088 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: block/blk-cgroup.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/b5dae1cd0d8368b4338430ff93403df67f0b8bcc https://git.kernel.org/stable/c/083b58373463a6e5ee60ecb135269348f68ad7df https://git.kernel.org/stable/c/cd4ffdf56791eec95af01f06bee1ec7665ca75c4 https://git.kernel.org/stable/c/c164c7bc9775be7bcc68754bb3431fce5823822e