CVE-2023-53332 genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()

Medium 5.5 Published Updated

A missing NULL pointer check in the Linux kernel's IPI handling allows a local attacker to trigger a kernel oops and cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53332?

CVE-2023-53332 is a medium-severity vulnerability in Linux kernel, published on 16 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2023-53332?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53332?

Apply the vendor's patch.

Is CVE-2023-53332 being exploited?

There is no known exploitation of CVE-2023-53332 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-71888, BELL-CVE-2023-53332, DEBIAN-CVE-2023-53332, GHSA-4wpf-x7jv-xgqj, ROOT-OS-DEBIAN-11-CVE-2023-53332, ROOT-OS-UBUNTU-2204-CVE-2023-53332 and 1 more.

Is CVE-2023-53332 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free