CVE-2024-34030 PCI: of_property: Return error for int_map allocation failure

Medium 4.7 Published Updated

A missing error check in the Linux kernel PCI subsystem can cause a null pointer dereference, leading to a system crash.

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-2024-34030?

CVE-2024-34030 is a medium-severity vulnerability in Linux kernel, published on 24 Jun 2024. 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:

PCI: of_property: Return error for int_map allocation failure

Return -ENOMEM from of_pci_prop_intr_map() if kcalloc() fails to prevent a NULL pointer dereference in this case.

[bhelgaas: commit log]

Weakness: CWE-476

Which versions are affected by CVE-2024-34030?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-34030?

Apply the vendor's patch.

Is CVE-2024-34030 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-34030, DEBIAN-CVE-2024-34030, GHSA-r596-778h-jppv, UBUNTU-CVE-2024-34030.

Is CVE-2024-34030 in your software?

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

Check your SBOMs for free