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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-20T11:13:22.065Z
- Modified: 2026-08-05T08:52:02.428Z
- Weaknesses: CWE-416, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 15509b6344726de22bdbfff88b65341dd0dd33af before a7de1002135cf94367748ffc695a29812d7633b5; from 15509b6344726de22bdbfff88b65341dd0dd33af before 0e629052f013eeb61494d4df2f1f647c2a9aef47; from 15509b6344726de22bdbfff88b65341dd0dd33af before 813e9f3e06d22e29872d4fd51b54992d89cf66c8; from 15509b6344726de22bdbfff88b65341dd0dd33af before 549f8ffc7b2f7561bea7f90930b6c5104318e87b; 5.9 (not affected: before 5.9; from 5.10.99 up to 5.10.*; from 5.15.22 up to 5.15.*; from 5.16.8 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.9 before 5.10.99; from 5.11 before 5.15.22; from 5.16 before 5.16.8; 5.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-48735](https://www.cve.org/CVERecord?id=CVE-2022-48735), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48735](https://nvd.nist.gov/vuln/detail/CVE-2022-48735), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48735 · Whole record: https://cve.day/CVE-2022-48735.json · Rebuilt by cve.day 2026-11-25T22:58:19.843Z
