CVE-2022-48735CWE-416CWE-476

CVE-2022-48735

High · published June 20, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Weaknesses
CWE-416 · Use After Free; CWE-476 · NULL Pointer Dereference
Published
2024-06-20T16:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 5.10.995.10.99
linux/linux_kernel≥ 5.11, < 5.15.225.15.22
linux/linux_kernel≥ 5.16, < 5.16.85.16.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 20 JUN 11:13Z
    ALSA: hda: Fix UAF of leds class devs at unbinding
    cvelistv5