🔍 CVE-2025-23144

5.5
CVSS Score
MEDIUM
2025-05-01
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 backlight led_bl 드라이버에서 led-backlight 장치 제거 시 led_sysfs_disable()을 호출하면서 led_access 잠금을 보유하지 않아 lockdep 경고가 발생하는 문제입니다. 이 패치는 led_sysfs_disable() 호출 시 led_access 잠금을 획득하도록 수정합니다.

💡 쉬운 설명

LED 백라이트 드라이버를 제거할 때 잠금 처리가 빠져 있어 커널에 경고가 발생하던 문제입니다. 잠금 처리를 추가해 안전하게 동작하도록 고쳐졌습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: backlight: led_bl: Hold led_access lock when calling led_sysfs_disable() Lockdep detects the following issue on led-backlight removal: [ 142.315935] ------------[ cut here ]------------ [ 142.315954] WARNING: CPU: 2 PID: 292 at drivers/leds/led-core.c:455 led_sysfs_enable+0x54/0x80 ... [ 142.500725] Call trace: [ 142.503176] led_sysfs_enable+0x54/0x80 (P) [ 142.507370] led_bl_remove+0x80/0xa8 [led_bl] [ 142.511742] platform_remove+0x30/0x58 [ 142.515501] device_remove+0x54/0x90 ... Indeed, led_sysfs_enable() has to be called with the led_access lock held. Hold the lock when calling led_sysfs_disable().

📍 영향받는 시스템

led_bl(LED 백라이트) 드라이버를 사용하는 Linux 커널 버전 (수정 커밋 적용 전 버전)

⚔️ 공격 벡터

로컬 권한 기반으로 장치 제거 경로가 실행될 때 발생하는 잠금 누락 문제로, 원격 공격 경로는 확인되지 않음

🛡️ 대응 방법

배포판 제공 최신 커널 업데이트를 적용하거나 해당 커널 패치(led_sysfs_disable 호출 시 led_access 잠금 보유)가 포함된 버전으로 업그레이드

🔧 검증 코드

커널 버전을 확인하고 led-backlight 관련 설정(CONFIG_BACKLIGHT_LED=m/y)이 활성화되어 있는지 확인하세요. 설정이 없다면 해당 드라이버가 없어 영향받지 않으며, 있다면 커널 버전이 패치 적용 이전인지 배포판 보안 공지로 대조하세요.

Shell / Script
uname -r && (zcat /proc/config.gz 2>/dev/null || cat /boot/config-$(uname -r) 2>/dev/null) | grep -E 'CONFIG_BACKLIGHT_LED|CONFIG_LEDS_CLASS'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel