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 E9FFD28B7F0 for ; Thu, 10 Jul 2025 08:16:40 +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=1752135401; cv=none; b=TYwKmvxjxEU5PK0YWB0ARBIUWsRjyiHf6N41CgNJrTJotwmiVBAUQRNeX0CPAB05fHiFrjKYa1m9HcpxP7ftaFDnX1sflNEIVvR3CfUVJstZu+V0Vqk8FOG7oxUBzaZ9OBgsVZbrUuF1K0iq+UUNMRI1cQ8PNu+H55zgffDRa1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752135401; c=relaxed/simple; bh=giypX0F9+YkizllL9D8dEZBhrYiCKJn+FaJB93W+Y/c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jNvUidfWrWbN3b/TVlKYm7ePXsVjOld62+QwttwoJs6HczSg5ge41X0aDzN0+3V1HUYLQU+k+NI97SD7WvIxsjWSN7E6GVSrpS8ZSi68DBl7qYpZeJU4ZwSyNU4Ya/LrtrjhHYiLj13BSPo9Ccszr6LO6orvaaWEjnn9swf03D0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0bQgZ9eA; 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="0bQgZ9eA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BE95C4CEF4; Thu, 10 Jul 2025 08:16:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752135400; bh=giypX0F9+YkizllL9D8dEZBhrYiCKJn+FaJB93W+Y/c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0bQgZ9eA2yhcpOpxfu91zY2e0gK92hc578WBPUYdQ5b6NW1yag5gARuZwQRB9fED2 F1hGpngPNtQKR13RuQjHKIkVFEyYhPJst38Pl4Ix3p9shg5i93G6AGHXVvYmJV5uyo FkyLUgtReWYB8aNDIes7ETQV2aknk3Xejzut+84g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38326: aoe: clean device rq_list in aoedev_downdev() Date: Thu, 10 Jul 2025 10:15:34 +0200 Message-ID: <2025071032-CVE-2025-38326-6186@gregkh> X-Mailer: git-send-email 2.50.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=3556; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/P+t1SGbKNqmwQr5wzjZOU6kQDH5Ahn4TOUAYX0M5VU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5ZUuuyIWLHUlas4MjUubeKW52J1eO+hrjY6nVq9Y1f 7eU/vGuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS/4dhno3266ZTj8RmvZvJ 0HwvqdgjXGxFAcP84IA90x6d3Pn6x8SHCxoev4he+DPyCwA= 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: aoe: clean device rq_list in aoedev_downdev() An aoe device's rq_list contains accepted block requests that are waiting to be transmitted to the aoe target. This queue was added as part of the conversion to blk_mq. However, the queue was not cleaned out when an aoe device is downed which caused blk_mq_freeze_queue() to sleep indefinitely waiting for those requests to complete, causing a hang. This fix cleans out the queue before calling blk_mq_freeze_queue(). The Linux kernel CVE team has assigned CVE-2025-38326 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 5.4.295 with commit ed52e9652ba41d362e9ec923077f6da23336f269 Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 5.10.239 with commit 64fc0bad62ed38874131dd0337d844a43bd1017e Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 5.15.186 with commit ef0b5bbbed7f220db2e9c73428f9a36e8dfc69ca Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 6.1.142 with commit 531aef4a1accb13b21a3b82ec29955f4733367d5 Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 6.6.95 with commit 8662ac79a63488e279b91c12a72b02bc0dc49f7b Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 6.12.35 with commit fa2a79f0da92614c5dc45c8b3d2638681c7734ee Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 6.15.4 with commit 00be74e1470af292c37a438b8e69dee47dcbf481 Issue introduced in 4.20 with commit 3582dd291788e9441c3ba9047e55089edb98da5c and fixed in 6.16-rc3 with commit 7f90d45e57cb2ef1f0adcaf925ddffdfc5e680ca 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-2025-38326 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: drivers/block/aoe/aoedev.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/ed52e9652ba41d362e9ec923077f6da23336f269 https://git.kernel.org/stable/c/64fc0bad62ed38874131dd0337d844a43bd1017e https://git.kernel.org/stable/c/ef0b5bbbed7f220db2e9c73428f9a36e8dfc69ca https://git.kernel.org/stable/c/531aef4a1accb13b21a3b82ec29955f4733367d5 https://git.kernel.org/stable/c/8662ac79a63488e279b91c12a72b02bc0dc49f7b https://git.kernel.org/stable/c/fa2a79f0da92614c5dc45c8b3d2638681c7734ee https://git.kernel.org/stable/c/00be74e1470af292c37a438b8e69dee47dcbf481 https://git.kernel.org/stable/c/7f90d45e57cb2ef1f0adcaf925ddffdfc5e680ca