CVE-2022-48735
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-48735
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-48735.html
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2022:8267
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 5.16.10-1 |
| debian | bullseye | fixed | 5.10.103-1 |
| debian | forky | fixed | 5.16.10-1 |
| debian | sid | fixed | 5.16.10-1 |
| debian | trixie | fixed | 5.16.10-1 |
References
Verify integrity in audit chain (admin only). AS-IS.