🇰🇷 한글 설명
Linux 커널의 lan743x 드라이버에서 eth_syslock 스핀락이 사용되기 전에 초기화되지 않는 취약점이 발견되었습니다. PCI11x1x 프로브 과정에서 초기화되지 않은 스핀락을 획득하려고 시도할 경우, 디버그 설정 환경에서 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
장치를 작동시키기 위해 준비하는 과정에서, 아직 준비되지 않은 잠금 장치를 사용하려고 시도하여 오류가 발생하는 문제입니다. 이로 인해 시스템이 예상치 못한 방식으로 동작하거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: lan743x: Initialize eth_syslock spinlock before use
lan743x_hardware_init() calls pci11x1x_strap_get_status() during the
PCI11x1x probe sequence. That helper acquires the Ethernet subsystem
hardware lock via lan743x_hs_syslock_acquire(), which relies on
adapter->eth_syslock_spinlock to serialize access.
The spinlock is currently initialized only after the strap status is
read. With CONFIG_DEBUG_SPINLOCK enabled, taking the zeroed initialized
spinlock can trip the spinlock debug check.
Fix by initializing adapter->eth_syslock_spinlock before reading the
strap status so the probe path never attempts to lock an uninitialized
spinlock.
📍 영향받는 시스템
Linux kernel (lan743x driver module)
⚔️ 공격 벡터
로컬 시스템에서 특정 하드웨어 드라이버 초기화 과정을 유도하여 시스템 불안정 유발
🛡️ 대응 방법
lan743x 드라이버의 eth_syslock_spinlock 초기화 시점을 하드웨어 상태 확인 전으로 수정된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인