🔍 CVE-2025-38107

7.8
CVSS Score
HIGH
2025-07-03
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 net_sched ETS 구성 요소에서 ets_qdisc_change() 함수 호출 시 레이스 컨디션(경쟁 상태)이 발생할 수 있는 취약점입니다. SFQ perturb 타이머가 부적절한 시점에 작동할 경우 발생하며, 이를 악용하여 부모 qlen 값을 언더플로우(underflow) 시킬 수 있습니다.

💡 쉬운 설명

컴퓨터의 네트워크 데이터를 처리하는 과정에서 두 작업이 동시에 충돌하여 데이터 처리 순서가 꼬이는 문제입니다. 이 충돌을 이용하면 네트워크 데이터 처리 용량 설정값을 비정상적으로 조작할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net_sched: ets: fix a race in ets_qdisc_change() Gerrard Tai reported a race condition in ETS, whenever SFQ perturb timer fires at the wrong time. The race is as follows: CPU 0 CPU 1 [1]: lock root [2]: qdisc_tree_flush_backlog() [3]: unlock root | | [5]: lock root | [6]: rehash | [7]: qdisc_tree_reduce_backlog() | [4]: qdisc_put() This can be abused to underflow a parent's qlen. Calling qdisc_purge_queue() instead of qdisc_tree_flush_backlog() should fix the race, because all packets will be purged from the qdisc before releasing the lock.

📍 영향받는 시스템

ETS(Enhanced Transmission Selection) 기능을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

SFQ perturb 타이머를 이용해 특정 시점에 레이스 컨디션을 유발하여 부모 qlen 값을 언더플로우 시킴

🛡️ 대응 방법

ets_qdisc_change() 함수 내에서 qdisc_tree_flush_backlog() 대신 qdisc_purge_queue()를 사용하도록 커널 패치 적용

🔧 검증 코드

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

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