{"id":"CVE-2022-48735","published":"2024-06-20T11:13:22Z","modified":"2026-08-05T08:52:02Z","title":"ALSA: hda: Fix UAF of leds class devs at unbinding","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Fix UAF of leds class devs at unbinding\n\nThe LED class devices that are created by HD-audio codec drivers are\nregistered via devm_led_classdev_register() and associated with the\nHD-audio codec device.  Unfortunately, it turned out that the devres\nrelease doesn't work for this case; namely, since the codec resource\nrelease happens before the devm call chain, it triggers a NULL\ndereference or a UAF for a stale set_brightness_delay callback.\n\nFor fixing the bug, this patch changes the LED class device register\nand unregister in a manual manner without devres, keeping the\ninstances in hda_gen_spec.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14601,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a7de1002135cf94367748ffc695a29812d7633b5","tags":[]},{"url":"https://git.kernel.org/stable/c/0e629052f013eeb61494d4df2f1f647c2a9aef47","tags":[]},{"url":"https://git.kernel.org/stable/c/813e9f3e06d22e29872d4fd51b54992d89cf66c8","tags":[]},{"url":"https://git.kernel.org/stable/c/549f8ffc7b2f7561bea7f90930b6c5104318e87b","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.92},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 15509b6344726de22bdbfff88b65341dd0dd33af, < a7de1002135cf94367748ffc695a29812d7633b5",">= 15509b6344726de22bdbfff88b65341dd0dd33af, < 0e629052f013eeb61494d4df2f1f647c2a9aef47",">= 15509b6344726de22bdbfff88b65341dd0dd33af, < 813e9f3e06d22e29872d4fd51b54992d89cf66c8",">= 15509b6344726de22bdbfff88b65341dd0dd33af, < 549f8ffc7b2f7561bea7f90930b6c5104318e87b"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:10:50.919175Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53614","exploited":false,"provenance":"source"}}