🇰🇷 한글 설명
Linux 커널의 igc 드라이버 내 igc_fpe_xmit_smd_frame() 함수에서 skb(socket buffer) 메모리 누수 취약점이 발견되었습니다. igc_fpe_init_tx_descriptor() 호출 실패 시 할당된 skb를 해제하지 않아 메모리가 누수되는 문제입니다.
💡 쉬운 설명
네트워크 카드를 사용하는 과정에서 오류가 발생했을 때, 사용하던 메모리를 제대로 돌려주지 않고 버리는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
igc: fix potential skb leak in igc_fpe_xmit_smd_frame()
When igc_fpe_init_tx_descriptor() fails, no one takes care of an
allocated skb, leaking it. [1]
Use dev_kfree_skb_any() on failure.
Tested on an I226 adapter with the following command, while injecting
faults in igc_fpe_init_tx_descriptor() to trigger the error path.
# ethtool --set-mm $DEV verify-enabled on tx-enabled on pmac-enabled on
[1]
unreferenced object 0xffff888113c6cdc0 (size 224):
...
backtrace (crc be3d3fda):
kmem_cache_alloc_node_noprof+0x3b1/0x410
__alloc_skb+0xde/0x830
igc_fpe_xmit_smd_frame.isra.0+0xad/0x1b0
igc_fpe_send_mpacket+0x37/0x90
ethtool_mmsv_verify_timer+0x15e/0x300
📍 영향받는 시스템
Linux kernel (igc driver 사용 시스템)
⚔️ 공격 벡터
특정 네트워크 트래픽 주입 또는 ethtool 설정을 통한 오류 경로 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인