CVE-2022-48952 PCI: mt7621: Add sentinel to quirks table

Medium 5.5 Published Updated

A missing sentinel in the Linux kernel PCI driver causes a null pointer dereference and system crash when specific hardware is registered.

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-2022-48952?

CVE-2022-48952 is a medium-severity vulnerability in Linux kernel, published on 21 Oct 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: mt7621: Add sentinel to quirks table

Current driver is missing a sentinel in the struct soc_device_attribute array, which causes an oops when assessed by the soc_device_match(mt7621_pcie_quirks_match) call.

This was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr was fixed to register the SOC as a device, in:

commit 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early")

Fix it by adding the required sentinel.

Which versions are affected by CVE-2022-48952?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48952?

Apply the vendor's patch.

Is CVE-2022-48952 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48952, GHSA-33jj-pgpw-2mqq, ROOT-OS-DEBIAN-11-CVE-2022-48952, UBUNTU-CVE-2022-48952.

Is CVE-2022-48952 in your software?

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

Check your SBOMs for free