# CVE-2022-48735: ALSA: hda: Fix UAF of leds class devs at unbinding

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-416, CWE-476
- **Published:** 2024-06-20T11:13:22.065Z
- **Modified:** 2026-08-05T08:52:02.428Z

## Who should check

- Anyone running Linux \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< a7de1002135cf94367748ffc695a29812d7633b5; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 0e629052f013eeb61494d4df2f1f647c2a9aef47; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 813e9f3e06d22e29872d4fd51b54992d89cf66c8; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 549f8ffc7b2f7561bea7f90930b6c5104318e87b
- Anyone running Linux 5.9

## Description

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.

## Affected and fixed versions

- Linux: \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< a7de1002135cf94367748ffc695a29812d7633b5; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 0e629052f013eeb61494d4df2f1f647c2a9aef47; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 813e9f3e06d22e29872d4fd51b54992d89cf66c8; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 549f8ffc7b2f7561bea7f90930b6c5104318e87b (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 549f8ffc7b2f7561bea7f90930b6c5104318e87b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48735. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48735.md
Affected: Linux >= 15509b6344726de22bdbfff88b65341dd0dd33af, < a7de1002135cf94367748ffc695a29812d7633b5; >= 15509b6344726de22bdbfff88b65341dd0dd33af, < 0e629052f013eeb61494d4df2f1f647c2a9aef47; >= 15509b6344726de22bdbfff88b65341dd0dd33af, < 813e9f3e06d22e29872d4fd51b54992d89cf66c8; >= 15509b6344726de22bdbfff…
Fixed in: Linux 0e629052f013eeb61494d4df2f1f647c2a9aef47, Linux 813e9f3e06d22e29872d4fd51b54992d89cf66c8, Linux 549f8ffc7b2f7561bea7f90930b6c5104318e87b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48735 being exploited?

There is no confirmed exploitation: CVE-2022-48735 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48735?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48735?

Linux \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< a7de1002135cf94367748ffc695a29812d7633b5; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 0e629052f013eeb61494d4df2f1f647c2a9aef47; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 813e9f3e06d22e29872d4fd51b54992d89cf66c8; \>= 15509b6344726de22bdbfff88b65341dd0dd33af, \< 549f8ffc7b2f7561bea7f90930b6c5104318e87b; Linux 5.9.

### Is there a fix for CVE-2022-48735?

Yes. Fixed in Linux 0e629052f013eeb61494d4df2f1f647c2a9aef47, Linux 813e9f3e06d22e29872d4fd51b54992d89cf66c8, Linux 549f8ffc7b2f7561bea7f90930b6c5104318e87b. Upgrade Linux to 549f8ffc7b2f7561bea7f90930b6c5104318e87b or later.

### How do I check if I'm affected by CVE-2022-48735?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a7de1002135cf94367748ffc695a29812d7633b5>
- patch: <https://git.kernel.org/stable/c/0e629052f013eeb61494d4df2f1f647c2a9aef47>
- patch: <https://git.kernel.org/stable/c/813e9f3e06d22e29872d4fd51b54992d89cf66c8>
- patch: <https://git.kernel.org/stable/c/549f8ffc7b2f7561bea7f90930b6c5104318e87b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48735>

HTML: <https://flawdb.com/CVE-2022-48735> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48735>
