🇰🇷 한글 설명
Linux 커널의 net/smc 구성 요소 내 smc_vlan_by_tcpsk() 함수에서 NULL 포인터 역참조 취약점이 발견되었습니다. netdev_lower_get_next 함수가 NULL을 반환할 경우 이를 적절히 검사하지 않고 사용함으로써 시스템 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 네트워크 기능을 사용할 때, 존재하지 않는 주소를 참조하여 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 이는 네트워크 장치를 처리하는 과정에서 발생하는 논리적 실수 때문입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
Coverity reports a possible NULL dereferencing problem:
in smc_vlan_by_tcpsk():
6. returned_null: netdev_lower_get_next returns NULL (checked 29 out of 30 times).
7. var_assigned: Assigning: ndev = NULL return value from netdev_lower_get_next.
1623 ndev = (struct net_device *)netdev_lower_get_next(ndev, &lower);
CID 1468509 (#1 of 1): Dereference null return value (NULL_RETURNS)
8. dereference: Dereferencing a pointer that might be NULL ndev when calling is_vlan_dev.
1624 if (is_vlan_dev(ndev)) {
Remove the manual implementation and use netdev_walk_all_lower_dev() to
iterate over the lower devices. While on it remove an obsolete function
parameter comment.
📍 영향받는 시스템
SMC(Shared Memory Communications) 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 네트워크 패킷 또는 특정 네트워크 환경 설정을 통해 커널의 NULL 포인터 역참조를 유도하여 시스템 중단(DoS) 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하거나, smc 관련 모듈 사용을 제한합니다.
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.