CVE-2022-48820 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()

High 7.1 Published Updated

A reference count leak in the STM32 USB PHY driver can lead to resource exhaustion and 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-2022-48820?

CVE-2022-48820 is a high-severity vulnerability in Linux kernel, published on 16 Jul 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:

phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()

This error path needs to decrement "usbphyc->n_pll_cons.counter" before returning.

Which versions are affected by CVE-2022-48820?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48820?

Apply the vendor's patch.

Is CVE-2022-48820 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48820, GHSA-wjwm-hw3c-78ch, UBUNTU-CVE-2022-48820.

Is CVE-2022-48820 in your software?

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

Check your SBOMs for free