🇰🇷 한글 설명
Linux 커널의 ath11k 드라이버에서 오류 발생 시 IRQ 어피니티 힌트를 적절히 해제하지 않아 발생하는 문제입니다. IRQ 할당 중 오류가 발생하여 해제 절차를 밟을 때, 설정된 어피니티 힌트가 남아 있어 커널 경고(WARNING)를 유발합니다.
💡 쉬운 설명
무선 랜 카드가 작동 중에 오류가 나면 원래 하던 일을 정리하고 물러나야 하는데, 정리 과정에서 일부 설정값을 지우지 않아 시스템에 경고 메시지를 남기는 문제입니다. 이는 시스템 안정성에 영향을 줄 수 있는 작은 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: Clear affinity hint before calling ath11k_pcic_free_irq() in error path
If a shared IRQ is used by the driver due to platform limitation, then the
IRQ affinity hint is set right after the allocation of IRQ vectors in
ath11k_pci_alloc_msi(). This does no harm unless one of the functions
requesting the IRQ fails and attempt to free the IRQ. This results in the
below warning:
WARNING: CPU: 7 PID: 349 at kernel/irq/manage.c:1929 free_irq+0x278/0x29c
Call trace:
free_irq+0x278/0x29c
ath11k_pcic_free_irq+0x70/0x10c [ath11k]
ath11k_pci_probe+0x800/0x820 [ath11k_pci]
local_pci_probe+0x40/0xbc
The warning is due to not clearing the affinity hint before freeing the
IRQs.
So to fix this issue, clear the IRQ affinity hint before calling
ath11k_pcic_free_irq() in the error path. The affinity will be cleared once
again further down the error path due to code organization, but that does
no harm.
Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-05266-QCAHSTSWPLZ_V2_TO_X86-1
📍 영향받는 시스템
Linux kernel (ath11k driver 사용 시스템)
⚔️ 공격 벡터
로컬 시스템에서 드라이버 오류를 유발하는 특정 하드웨어/소프트웨어 조건 조작
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.