🔍 CVE-2023-54012

7.8
CVSS Score
HIGH
2025-12-24
2026-10-15 22:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 가상 인터페이스에서 LRO(Large Receive Offload) 기능이 비활성화될 때 스택 오버플로가 발생하는 취약점입니다. 인터페이스 기능 업데이트 시 상위 및 하위 인터페이스 간의 알림 메커니즘이 재귀적으로 작동하여 스택 메모리를 과도하게 사용하게 됩니다.

💡 쉬운 설명

네트워크 설정이 변경될 때 컴퓨터 내부의 통신 규칙이 서로를 계속 호출하면서 메모리가 꽉 차버리는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 다운될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: fix stack overflow when LRO is disabled for virtual interfaces When the virtual interface's feature is updated, it synchronizes the updated feature for its own lower interface. This propagation logic should be worked as the iteration, not recursively. But it works recursively due to the netdev notification unexpectedly. This problem occurs when it disables LRO only for the team and bonding interface type. team0 | +------+------+-----+-----+ | | | | | team1 team2 team3 ... team200 If team0's LRO feature is updated, it generates the NETDEV_FEAT_CHANGE event to its own lower interfaces(team1 ~ team200). It is worked by netdev_sync_lower_features(). So, the NETDEV_FEAT_CHANGE notification logic of each lower interface work iteratively. But generated NETDEV_FEAT_CHANGE event is also sent to the upper interface too. upper interface(team0) generates the NETDEV_FEAT_CHANGE event for its own lower interfaces again. lower and upper interfaces receive this event and generate this event again and again. So, the stack overflow occurs. But it is not the infinite loop issue. Because the netdev_sync_lower_features() updates features before generating the NETDEV_FEAT_CHANGE event. Already synchronized lower interfaces skip notification logic. So, it is just the problem that iteration logic is changed to the recursive unexpectedly due to the notification mechanism. Reproducer: ip link add team0 type team ethtool -K team0 lro on for i in {1..200} do ip link add team$i master team0 type team ethtool -K team$i lro on done ethtool -K team0 lro off In order to fix it, the notifier_ctx member of bonding/team is introduced.

📍 영향받는 시스템

LRO 기능이 포함된 team 또는 bonding 인터페이스를 사용하는 리눅스 커널 시스템

⚔️ 공격 벡터

로컬 사용자가 특정 네트워크 인터페이스(team/bonding)의 LRO 설정을 변경하여 스택 오버플로 유도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel