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

Published Jun 20, 2024
·
Updated

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 devmledclassdevregister() 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 setbrightnessdelay 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 hdagenspec.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: Fix UAF of leds class devs at unbinding

The Linux kernel CVE team has assigned CVE-2022-48735 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062001-CVE-2022-48735-32e6@gregkh/T

— Red Hat

Affected Software

13 affected componentsFixes available
Linux Linux kernel>=5.9<5.10.99
Linux Linux kernel>=5.11<5.15.22
Linux Linux kernel>=5.16<5.16.8
Linux Linux kernel=5.17-rc1
Linux Linux kernel=5.17-rc2
redhat/kernel<5.10.99
5.10.99
redhat/kernel<5.15.22
5.15.22
redhat/kernel<5.16.8
5.16.8
redhat/kernel<5.17
5.17
debian/linux<5.16.10-1
5.16.10-1
debian/linux<5.16.10-1
5.16.10-1
debian/linux<5.16.10-1
5.16.10-1
debian/linux
6.1.176-16.1.192-26.12.107-16.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.10.99
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.15.22
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.16.8
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.17
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.16.10-1
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1

Event History

Jun 20, 2024
CVE Published
via MITRE·11:13 AM
Data Sourced
via MITRE·11:13 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·12:15 PM
DescriptionAffected Software
Data Sourced
via Red Hat·01:39 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48735?

CVE-2022-48735 has been classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2022-48735?

To fix CVE-2022-48735, update your Linux kernel to a patched version above 5.17-rc2.

3

Which versions of the Linux kernel are affected by CVE-2022-48735?

CVE-2022-48735 affects versions of the Linux kernel from 5.9 up to 5.17-rc2.

4

What is the impact of CVE-2022-48735?

The impact of CVE-2022-48735 includes potential use-after-free vulnerabilities in ALSA HD-audio codec drivers.

5

Is CVE-2022-48735 exploitable remotely?

CVE-2022-48735 does not appear to be remotely exploitable and requires local access for successful exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203