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 3758E824A3 for ; Tue, 16 Sep 2025 08:13:41 +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=1758010421; cv=none; b=UW6qNfVnEa54bs3dViCgBTfWQg/eDuC8orzsflfgHeZghoGVJ6A9ojLCAHENf9z8N/jG7VK2uwKepcLHIxIu+fNeA059GWT8T+dGfwT5a6/Z5wOPZOHU1T/NwWtmYUtZMXAN0qoetj057eonWkfbL0wMnYcI4JuTNipvuEu7Vus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010421; c=relaxed/simple; bh=UPmhMdn/jt6bFGZzfBPHmXFrjCwxIbTtnoDr9TEVc3U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U3gJGT0Nf0h7uAT/tl8rIWZdbbUQEj5AsvGWiXTc8r5P69dD3yHPta1NaF1KPkcKj85Kxcm1Fd+cfpdR6e1LYwfBUPKVhPsZoI0ZtexrIi2rouoLXyr7k7BFnwrXKrA30Y4oF2WS1/vVlRLy/bl7PjY2GpxByExFEBx3Ruji5fU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=H9d/hmX5; 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="H9d/hmX5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A81A0C4CEF9; Tue, 16 Sep 2025 08:13:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010421; bh=UPmhMdn/jt6bFGZzfBPHmXFrjCwxIbTtnoDr9TEVc3U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=H9d/hmX5HsNEErGygUs2gI4zShJ8nbEUr9Q3EWvdkb478yCKeiZS2gd78CJfX89yd b371l1mbwM0jwLgCUfgDzGPwNl+CrDYeZXK4Ii7yzKCEV1MOxSgQlWv8QdlVjvIDbS 2UTaLVenbmF9VM4yTFFw5rGWD9L48hAmWiFXAUL8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53292: blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none Date: Tue, 16 Sep 2025 10:11:42 +0200 Message-ID: <2025091626-CVE-2023-53292-24e9@gregkh> X-Mailer: git-send-email 2.51.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=1756; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sPKbE29bdBEXYC5wzHaI01X6dm+bcXxDEMoMGzMpXRs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpde9slq6c77VJJ90iTlzq/v+9Gj8lV59NSentyNsT SirsUpFRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEx4thrlCP7ebCc+cP7jFa 43Ff/eSh7qYOPob53ol3+LbHBdcs2BD0wMDNf/ZNSUYBAA== 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-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none After grabbing q->sysfs_lock, q->elevator may become NULL because of elevator switch. Fix the NULL dereference on q->elevator by checking it with lock. The Linux kernel CVE team has assigned CVE-2023-53292 to this issue. Affected and fixed versions =========================== Fixed in 6.4.7 with commit 3e977386521b71471e66ec2ba82efdfcc456adf2 Fixed in 6.5 with commit 245165658e1c9f95c0fecfe02b9b1ebd30a1198a 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-53292 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/3e977386521b71471e66ec2ba82efdfcc456adf2 https://git.kernel.org/stable/c/245165658e1c9f95c0fecfe02b9b1ebd30a1198a