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 A8A0A283FC3 for ; Tue, 16 Sep 2025 16:15:06 +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=1758039306; cv=none; b=Ev9nHFjpfN4aW605SaSzQbmsE7g57kScJSAiyxnGNnCNQBkdh3zH2RdlQxq9t5IfR+v0VkjGicqIyH8v8eI8aN3AJEsNlTDxYh7v18PX1xkA1gMj41wAFFpRexiwGWgNV7yUGpV6amgvVL4vrFErbB8j9kpavVpWudy3qrt/sqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758039306; c=relaxed/simple; bh=6NiUY77f3sokr0i3wwkziapLevZLBoq3cYQ2FJXnnqA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CcrkSZN0nwU7vYcN86dATUGUFlJ90nQ181Pgpv7hJXiB8IRFjvIRpcDcsAPmmD9GAMxEHH6xuoAeYWnDo82PeofBk5a3n0p3PEqdBKIH/cAwFrx8jP9FMau0GOucWOyNLtLIFTwChtkUp56Xhv6VMt+4+/0GMW7nP38b08Uqvqo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j+IsZ6T0; 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="j+IsZ6T0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 219BBC4CEF7; Tue, 16 Sep 2025 16:15:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758039306; bh=6NiUY77f3sokr0i3wwkziapLevZLBoq3cYQ2FJXnnqA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=j+IsZ6T0PmpbpfYgc+MElyG3ezXGLSPHqJPfyKTaMM0Na3CAod3F/8RtcCMxfvUQQ m3mozk9bdaXZjya1tybMTuoGGPPFwcJhKkqKq6rcF+egFCtrD5bJ0Atbypcc/3YuOy dYRWmjMUU5An5Xr8mMNW2+JUo+dybxqQb/iABnSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53332: genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask() Date: Tue, 16 Sep 2025 18:12:17 +0200 Message-ID: <2025091646-CVE-2023-53332-9a4d@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=2458; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z40r8AGbRVsPfXM05PzhnMNbV56VWEghYO9bGuoaYGo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkne5ym1O+I37vuu/ryd9aZJ2VK+rd7qwULpU9apPgx1 bfzT1JmRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkwzGGBRedO2dcXc7u8Grj GsH4g5sWf5mx/yfDPIvK5G0/qtSLvlwx5tq3v9H6vPnb6wA= 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: genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask() If ipi_send_{mask|single}() is called with an invalid interrupt number, all the local variables there will be NULL. ipi_send_verify() which is invoked from these functions does verify its 'data' parameter, resulting in a kernel oops in irq_data_get_affinity_mask() as the passed NULL pointer gets dereferenced. Add a missing NULL pointer check in ipi_send_verify()... Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. The Linux kernel CVE team has assigned CVE-2023-53332 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit 3b8e29a82dd16c1f2061e0b955a71cd36eeb061b and fixed in 6.1.18 with commit 926aef60ea64cd9becf2829f7388f48dbe8bcb11 Issue introduced in 4.6 with commit 3b8e29a82dd16c1f2061e0b955a71cd36eeb061b and fixed in 6.2.5 with commit 7448c73d64075051f50caed2c62f46553b69ab8a Issue introduced in 4.6 with commit 3b8e29a82dd16c1f2061e0b955a71cd36eeb061b and fixed in 6.3 with commit feabecaff5902f896531dde90646ca5dfa9d4f7d 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-53332 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: kernel/irq/ipi.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/926aef60ea64cd9becf2829f7388f48dbe8bcb11 https://git.kernel.org/stable/c/7448c73d64075051f50caed2c62f46553b69ab8a https://git.kernel.org/stable/c/feabecaff5902f896531dde90646ca5dfa9d4f7d