🇰🇷 한글 설명
Linux 커널의 net: dsa: mt7530 드라이버에서 MT7531 또는 MT7621 장치 해제 시 NULL 포인터 역참조가 발생합니다. MT7530 전용으로 요청된 리귤레이터(regulator)를 다른 모델에서 해제하려고 시도할 때 발생하는 문제입니다.
💡 쉬운 설명
특정 하드웨어 칩셋을 사용할 때, 장치를 제거하는 과정에서 컴퓨터가 존재하지 않는 메모리 주소를 참조하여 시스템 오류가 발생할 수 있는 문제입니다. 이는 시스템의 안정성을 해칠 수 있는 소프트웨어 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: mt7530: fix NULL dereference on unbind of MT7531 and MT7621
The core and io supplies are only requested for ID_MT7530: both the
devm_regulator_get() in probe and the regulator_enable() in
mt7530_setup() are guarded by the switch id, but mt7530_remove()
disables them unconditionally. On an MT7621 or an MT7531 both pointers
are still NULL from devm_kzalloc(), so rmmod or a sysfs unbind calls
regulator_disable() on NULL.
📍 영향받는 시스템
Linux kernel (MT7531 및 MT7621 칩셋을 사용하는 dsa: mt7530 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 장치 드라이버를 언바인드(unbind)하거나 모듈을 제거(rmmod)할 때 발생
🛡️ 대응 방법
MT7530 드라이버의 NULL 포인터 역참조를 수정한 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인