🇰🇷 한글 설명
Linux 커널의 lg-laptop 드라이버에서 LED 리소스 처리 방식의 결함이 발견되었습니다. LED 서브시스템에 성공적으로 등록되지 않은 상태에서도 콜백 함수가 kbd_backlight에 접근하거나, 장치 제거 시 무조건적으로 등록 해제를 시도하여 문제가 발생할 수 있습니다. 이를 해결하기 위해 devm_led_classdev_register()를 사용하여 리소스 관리를 자동화하도록 수정되었습니다.
💡 쉬운 설명
노트북 키보드 백라이트 조명을 제어하는 소프트웨어에서 리소스를 관리하는 방식에 오류가 있었습니다. 이 오류로 인해 시스템이 장치를 제거할 때 충돌이 발생할 수 있었으나, 관리 방식을 개선하여 해결되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: lg-laptop: Fix LED resource handling
The event notification callback might access kbd_backlight even
when it was not successfully registered with the LED subsystem.
The same happens inside acpi_remove(), where the LED devices are
unregistered unconditionally.
Fix this by tracking the availability of the kbd_backlight LED
device and use devm_led_classdev_register() to let devres take
care of unregistering the LED devices during removal. For this
the parent device of the LED devices is changed to the native
platform device.
📍 영향받는 시스템
Linux kernel (lg-laptop driver 사용 시스템)
⚔️ 공격 벡터
로컬 시스템에서 장치 드라이버의 리소스 해제 과정 중 커널 패닉을 유도하는 방식 (Denial of Service)
🛡️ 대응 방법
LED 리소스 관리가 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 릴리스 버전인지 확인하십시오.