🇰🇷 한글 설명
Linux 커널의 mt76 드라이버 내 mt792x WiFi 칩셋에서 레이스 컨디션으로 인한 Use-After-Free 취약점이 발견되었습니다. STA(스테이션)가 이미 제거되었음에도 불구하고 rx_status가 해당 wcid에 대한 포인터를 유지하여 메모리 오류를 유발합니다.
💡 쉬운 설명
무선 랜카드가 연결을 끊는 과정에서 메모리 관리 오류가 발생하여 시스템이 충돌하거나 보안 문제가 생길 수 있는 결함입니다. 이미 사라진 정보를 참조하려고 시도할 때 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt792x: fix use-after-free in mt76_rx_poll_complete
A use-after-free issue occurs in mt76_rx_poll_complete due to a race
condition. The STA has already been removed, but the rx_status still
had a pointer to the wcid in the STA.
Set the links' wcid pointers to be NULL for a MLD in
mt7925_sta_pre_rcu_remove()
BUG: KASAN: invalid-access in mt76_rx_poll_complete+0x280/0x470
Call trace:
dump_backtrace+0xec/0x128
show_stack+0x18/0x28
dump_stack_lvl+0x40/0xc8
print_report+0x1b8/0x710
kasan_report+0xe0/0x144
do_bad_area+0x120/0x260
do_tag_check_fault+0x20/0x34
do_mem_abort+0x54/0xa8
el1_abort+0x3c/0x5c
el1h_64_sync_handler+0x40/0xcc
el1h_64_sync+0x7c/0x80
mt76_rx_poll_complete+0x280/0x470
mt76_dma_rx_poll+0x114/0x51c
mt792x_poll_rx+0x60/0xf8
napi_threaded_poll_loop+0xe0/0x450
napi_threaded_poll+0x80/0x9c
kthread+0x11c/0x158
ret_from_fork+0x10/0x20
📍 영향받는 시스템
Linux kernel (mt76/mt792x driver components)
⚔️ 공격 벡터
로컬 또는 원격의 악의적인 무선 네트워크 트래픽 조작을 통한 레이스 컨디션 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 mt7925_sta_pre_rcu_remove() 수정 사항을 반영해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.