🇰🇷 한글 설명
Linux 커널의 pinctrl: meson: amlogic-a4 드라이버에서 교착 상태(deadlock) 취약점이 발견되었습니다. pinconf-pins sysfs 노드에 접근할 때 동일한 뮤텍스를 중복으로 획득하려 시도하여 시스템이 멈출 수 있습니다.
💡 쉬운 설명
특정 시스템 설정 파일에 접근하려고 할 때 컴퓨터의 핵심 기능이 서로 맞물려 멈춰버리는 현상이 발생할 수 있습니다. 이는 시스템을 다시 시작해야 할 정도로 심각한 먹통 상태를 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: meson: amlogic-a4: fix deadlock issue
Accessing the pinconf-pins sysfs node may deadlock.
pinconf_pins_show() holds pctldev->mutex, and the platform driver
calls pinctrl_find_gpio_range_from_pin(), which tries to acquire
the same mutex again, leading to a deadlock.
Use pinctrl_find_gpio_range_from_pin_nolock() to fix this issue.
📍 영향받는 시스템
Linux kernel (pinctrl: meson: amlogic-a4 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 사용자가 pinconf-pins sysfs 노드에 접근하여 시스템 자원을 요청함으로써 발생
🛡️ 대응 방법
pinctrl_find_gpio_range_from_pin_nolock() 함수를 사용하는 최신 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 확인