[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091646-CVE-2023-53332-9a4d@gregkh>
Date: Tue, 16 Sep 2025 18:12:17 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53332: genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists