CVE-2022-48820·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 10% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2022-48820 scores 7.1 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.16
Until: 5.16.10
Fixed in: 5.16.10
How to fix this CVE
Update your Linux kernel to version 5.16.10 or later to resolve a resource management flaw in the STM32 USB PHY controller driver. This vulnerability allows a local authenticated attacker to trigger a reference counter leak, potentially exhausting kernel memory and causing system degradation. Apply kernel security patches immediately if you are running kernel versions 5.16 through 5.16.9.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with: uname -r — compare against 5.16.10 (if version is 5.16.0 through 5.16.9, you are vulnerable)
- Step 2: Verify if STM32 USB PHY controller is active on your system: lsmod | grep phy_stm32 — if no output, the vulnerable code path is not loaded
- Step 3: Monitor kernel memory pressure and kmemleak reports: cat /proc/pressure/memory and dmesg | grep -i 'memory leak' — watch for abnormal reference counter growth in PHY subsystem
- Step 4: After patching, confirm kernel version updated: uname -r should show 5.16.10 or higher, then reboot and re-verify
FAQ
What is CVE-2022-48820?
This CVE addresses a reference counter leak in the STM32 USB PHY controller initialization path within the Linux kernel. When error handling occurs during PHY enablement, the kernel fails to properly decrement an internal reference counter, leading to memory resource exhaustion over time.
Is CVE-2022-48820 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it still poses a denial-of-service risk to affected systems.
What versions of Kernel are affected by CVE-2022-48820?
Linux kernel versions 5.16 through 5.16.9 are vulnerable. Kernel 5.16.10 and all subsequent versions include the fix.
How do I check if my server is vulnerable to CVE-2022-48820?
Run uname -r to check your kernel version; if it returns 5.16.0 through 5.16.9, you are affected. Additionally, check if STM32 PHY support is present with: grep -i stm32 /boot/config-$(uname -r) or lsmod | grep phy
Does Defensia detect CVE-2022-48820?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-48820 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0ad1a88fa3eb0ded7798f52b79bc33f75fc9a6d2
- https://git.kernel.org/stable/c/94b16ca86ab688ed6fad4548f70137f93cf1f0a9
- https://git.kernel.org/stable/c/cfc826c88a79e22ba5d8001556eb2c7efd8a01b6
- https://git.kernel.org/stable/c/0ad1a88fa3eb0ded7798f52b79bc33f75fc9a6d2
- https://git.kernel.org/stable/c/94b16ca86ab688ed6fad4548f70137f93cf1f0a9
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48820. Free for 1 server.
Get started free