🔍 CVE-2025-40337

8.2
CVSS Score
HIGH
2025-12-09
2026-10-14 22:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 stmmac 네트워크 드라이버에서 하드웨어 체크섬 오프로드(CoE) 오류를 제대로 처리하지 못하는 취약점이 발견되었습니다. 하드웨어가 체크섬 오류를 보고하더라도 이를 무시하고 패킷을 유효한 것으로 처리하여, 손상된 패킷이 네트워크 스택으로 전달될 수 있습니다.

💡 쉬운 설명

네트워크 장비가 데이터에 오류가 있다고 알려주는데도 컴퓨터가 이를 무시하고 정상 데이터로 착각하는 문제입니다. 이로 인해 잘못된 데이터가 시스템 내부로 들어와 문제를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: Correctly handle Rx checksum offload errors The stmmac_rx function would previously set skb->ip_summed to CHECKSUM_UNNECESSARY if hardware checksum offload (CoE) was enabled and the packet was of a known IP ethertype. However, this logic failed to check if the hardware had actually reported a checksum error. The hardware status, indicating a header or payload checksum failure, was being ignored at this stage. This could cause corrupt packets to be passed up the network stack as valid. This patch corrects the logic by checking the `csum_none` status flag, which is set when the hardware reports a checksum error. If this flag is set, skb->ip_summed is now correctly set to CHECKSUM_NONE, ensuring the kernel's network stack will perform its own validation and properly handle the corrupt packet.

📍 영향받는 시스템

stmmac 드라이버를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

손상된 체크섬을 가진 네트워크 패킷을 전송하여 시스템에 잘못된 데이터를 전달

🛡️ 대응 방법

stmmac 드라이버의 체크섬 오류 처리 로직이 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

💻 영향받는 소프트웨어

Linux Kernel