🔍 CVE-2022-48735

7.8
CVSS Score
HIGH
2024-06-20
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 ALSA HD-오디오 코덱 드라이버에서 LED 클래스 장치 해제 시 Use-After-Free(UAF) 취약점이 발견되었습니다. 장치 해제 과정에서 리소스 해제 순서가 잘못되어 NULL 역참조 또는 이미 해제된 메모리에 접근하는 문제가 발생합니다.

💡 쉬운 설명

컴퓨터의 사운드 카드 드라이버가 작동을 멈출 때, 사용 중인 LED 표시등 정보를 제대로 정리하지 못해 발생하는 오류입니다. 이 과정에서 잘못된 메모리 접근이 일어나 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Linux Kernel (ALSA/HDA 코덱 드라이버 포함 버전)

⚔️ 공격 벡터

로컬 공격자가 특정 하드웨어 장치를 해제(Unbind)하는 동작을 유도하여 메모리 오류를 발생시킴

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 공지(CVE-2022-48735)와 대조

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel