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 6179A184E for ; Sat, 11 Jan 2025 12:35:56 +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=1736598956; cv=none; b=VNQQs36N5ETK5nxuPE0jOJUVpTge05LFZs/R1iBbO4GdKLRG8yp9NkampU3namsk/2jbM4VUjVMvR8CypoZYbLPCTyaQG+23VC4nckXCc8ezWL7MdXpfx2FqbQIqc0fhPhQ74XGBncxtqDAHF3U0SsFQmyoNpVokyqNE6nN82ik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736598956; c=relaxed/simple; bh=TMKu7fKw8kB2vwxz0e2cdKUpNwxiN8zBPFBMlDVZBKU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Je2BivwZaSJJhgWMGN6S73MerUSglnucpDApr1KGshVJ5alSAQleyBiDWSQFhQtYi+8AOEuowiS4HqGx4eBxVMjCVfTj23Y2gmE848tN1cELbHcl8K2M78iKDPKCK753ffEm7CiZKzSYVGuUlC09Ghh64KCMsWQd15s2jgIF2cQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ihBhIick; 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="ihBhIick" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56725C4CED2; Sat, 11 Jan 2025 12:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736598955; bh=TMKu7fKw8kB2vwxz0e2cdKUpNwxiN8zBPFBMlDVZBKU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ihBhIicktY5HIUKP5+3x80Im/0GPqCitGViIYPvsoFj76XwBgJDi70qshxC/MEOsW V8LclAZFvPYfJar5BMnhf7MdfRGRTq/mYGwozZlBC2Xaj1J5Z3Ofieqj5fXgkXZVZ0 X6m8SEVs6A5j9CawPFH0CBtNCGW/qNH0vhAsGTU8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41149: block: avoid to reuse `hctx` not removed from cpuhp callback list Date: Sat, 11 Jan 2025 13:35:42 +0100 Message-ID: <2025011141-CVE-2024-41149-7e9b@gregkh> X-Mailer: git-send-email 2.48.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=1964; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TMKu7fKw8kB2vwxz0e2cdKUpNwxiN8zBPFBMlDVZBKU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlNqXM3n/Z+PNNxw7PeG8G+4t+T9ryTfzTXVUdXii3Ym KH+cO7hjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiInTXDgi3+GfdF+hp6HlT8 V1WcsOLcqazoawxzJQQvbMype3O4J6RJQKli27w9Lk2XAA== 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: block: avoid to reuse `hctx` not removed from cpuhp callback list If the 'hctx' isn't removed from cpuhp callback list, we can't reuse it, otherwise use-after-free may be triggered. The Linux kernel CVE team has assigned CVE-2024-41149 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.6 with commit c1291ea131d186296dc8d328a36c3caf38e8e159 and fixed in 6.12.7 with commit b5792c162dcf6197bf3d2de2be6c8169435b73d0 Issue introduced in 6.13-rc2 with commit 22465bbac53c821319089016f268a2437de9b00a and fixed in 6.13-rc4 with commit 85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b 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-41149 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-mq.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/ee18012c80155f6809522804099621070c69ec72 https://git.kernel.org/stable/c/b5792c162dcf6197bf3d2de2be6c8169435b73d0 https://git.kernel.org/stable/c/85672ca9ceeaa1dcf2777a7048af5f4aee3fd02b