🔍 CVE-2025-38083

7.8
CVSS Score
HIGH
2025-06-20
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net_sched: prio 모듈에서 prio_tune() 함수 실행 중 레이스 컨디션(경쟁 상태) 취약점이 발견되었습니다. SFQ perturb 타이머가 부적절한 시점에 작동할 경우 발생하며, 이를 악용하여 부모 qlen 값을 언더플로우(underflow) 시킬 수 있습니다.

💡 쉬운 설명

컴퓨터의 네트워크 데이터를 처리하는 과정에서 두 가지 작업이 동시에 충돌하여 데이터 계산 오류가 발생하는 문제입니다. 이 오류를 이용하면 네트워크 데이터 처리 규칙을 망가뜨릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net_sched: prio: fix a race in prio_tune() Gerrard Tai reported a race condition in PRIO, 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.

📍 영향받는 시스템

Linux Kernel (net_sched: prio 모듈 사용 환경)

⚔️ 공격 벡터

SFQ perturb 타이머를 정밀하게 조작하여 prio_tune() 함수 내에서 레이스 컨디션을 유발

🛡️ 대응 방법

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