CVE-2022-48735·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Fix UAF of leds class devs at unbinding The LED class devices that are created by HD-audio codec drivers are registered via devm_led_classdev_register() and associated with the HD-audio codec device. Unfortunately, it turned out that the devres release doesn't work for this case; namely, since the codec resource release happens before the devm call chain, it triggers a NULL dereference or a UAF for a stale set_brightness_delay callback. For fixing the bug, this patch changes the LED class device register and unregister in a manual manner without devres, keeping the instances in hda_gen_spec.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.8
- 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 5% 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-48735 scores 7.8 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.8
Fixed in: 5.16.8
How to fix this CVE
Update your Linux kernel to version 5.16.8 or later to resolve a use-after-free vulnerability in the HD-audio LED class device handling. This issue occurs during codec unbinding when LED devices are incorrectly released, potentially causing kernel crashes or memory corruption. Apply the kernel update immediately through your distribution's package manager to restore system stability.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the vulnerable range (5.16.0 to 5.16.7)
- Step 2: Verify HD-audio codec is present by checking `cat /proc/asound/cards` for audio devices
- Step 3: Search system logs for UAF errors with `journalctl -xe | grep -i 'use.after.free\|NULL pointer\|hda'`
- Step 4: Confirm the fix by rebooting after kernel update and verifying `uname -r` shows 5.16.8 or later
FAQ
What is CVE-2022-48735?
This vulnerability is a use-after-free (UAF) flaw in the Linux kernel's HD-audio subsystem where LED class devices associated with audio codecs are improperly released during driver unbinding, leading to potential kernel crashes or memory corruption.
Is CVE-2022-48735 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, it remains a serious memory safety issue requiring prompt patching.
What versions of Kernel are affected by CVE-2022-48735?
Linux kernel versions 5.16.0 through 5.16.7 are vulnerable. Version 5.16.8 and all later versions contain the fix.
How do I check if my server is vulnerable to CVE-2022-48735?
Run `uname -r` to check your kernel version. If the output shows 5.16.0 through 5.16.7, your system is vulnerable. Additionally, verify HD-audio is in use with `cat /proc/asound/cards`.
Does Defensia detect CVE-2022-48735?
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-48735 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0e629052f013eeb61494d4df2f1f647c2a9aef47
- https://git.kernel.org/stable/c/549f8ffc7b2f7561bea7f90930b6c5104318e87b
- https://git.kernel.org/stable/c/813e9f3e06d22e29872d4fd51b54992d89cf66c8
- https://git.kernel.org/stable/c/a7de1002135cf94367748ffc695a29812d7633b5
- https://git.kernel.org/stable/c/0e629052f013eeb61494d4df2f1f647c2a9aef47
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48735. Free for 1 server.
Get started free