🇰🇷 한글 설명
Linux 커널의 ax25 프로토콜 스택에서 skb(소켓 버퍼)를 적절히 분리하지 않아 발생하는 취약점입니다. 특정 네트워크 네임스페이스 패킷 체인 도입 이후, skb->dev가 NULL이 되어 커널이 충돌(Crash)을 일으키는 결함이 확인되었습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 데이터 뭉치를 안전하게 복사하지 않아 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 네트워크 통신 방식(AX.25)을 사용할 때 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ax25: properly unshare skbs in ax25_kiss_rcv()
Bernard Pidoux reported a regression apparently caused by commit
c353e8983e0d ("net: introduce per netns packet chains").
skb->dev becomes NULL and we crash in __netif_receive_skb_core().
Before above commit, different kind of bugs or corruptions could happen
without a major crash.
But the root cause is that ax25_kiss_rcv() can queue/mangle input skb
without checking if this skb is shared or not.
Many thanks to Bernard Pidoux for his help, diagnosis and tests.
We had a similar issue years ago fixed with commit 7aaed57c5c28
("phonet: properly unshare skbs in phonet_rcv()").
📍 영향받는 시스템
AX.25 프로토콜을 사용하는 Linux 커널 (특정 커밋 c353e8983e0d 이후 버전)
⚔️ 공격 벡터
조작된 AX.25 패킷을 전송하여 커널의 skb 구조체를 손상시키고 시스템 충돌 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인