🔍 CVE-2025-37752

7.8
CVSS Score
HIGH
2025-05-01
2026-07-30 06:22
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 net_sched(sch_sfq) 모듈에서 설정값 검증 시점이 부적절하여 발생하는 취약점입니다. 사용자가 입력한 limit 값이 다른 파라미터 변경에 의해 간접적으로 수정될 때 유효성 검사를 통과하지 못해 배열 인덱스 범위를 벗어나는 메모리 오류를 유발할 수 있습니다.

💡 쉬운 설명

네트워크 트래픽을 관리하는 설정 과정에서 숫자를 검사하는 순서가 잘못되어 발생한 문제입니다. 잘못된 설정값이 입력되면 컴퓨터의 메모리 영역을 침범하여 시스템이 갑자기 멈추거나 충돌할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net_sched: sch_sfq: move the limit validation It is not sufficient to directly validate the limit on the data that the user passes as it can be updated based on how the other parameters are changed. Move the check at the end of the configuration update process to also catch scenarios where the limit is indirectly updated, for example with the following configurations: tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 depth 1 tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 divisor 1 This fixes the following syzkaller reported crash: ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in net/sched/sch_sfq.c:203:6 index 65535 is out of range for type 'struct sfq_head[128]' CPU: 1 UID: 0 PID: 3037 Comm: syz.2.16 Not tainted 6.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x201/0x300 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0xf5/0x120 lib/ubsan.c:429 sfq_link net/sched/sch_sfq.c:203 [inline] sfq_dec+0x53c/0x610 net/sched/sch_sfq.c:231 sfq_dequeue+0x34e/0x8c0 net/sched/sch_sfq.c:493 sfq_reset+0x17/0x60 net/sched/sch_sfq.c:518 qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035 tbf_reset+0x41/0x110 net/sched/sch_tbf.c:339 qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035 dev_reset_queue+0x100/0x1b0 net/sched/sch_generic.c:1311 netdev_for_each_tx_queue include/linux/netdevice.h:2590 [inline] dev_deactivate_many+0x7e5/0xe70 net/sched/sch_generic.c:1375

📍 영향받는 시스템

Linux Kernel (특히 sch_sfq 모듈을 사용하는 버전, syzkaller 보고 기준 6.14.0-rc2 포함)

⚔️ 공격 벡터

네트워크 트래픽 제어(tc) 명령어를 통해 특정 파라미터를 조합하여 잘못된 limit 값을 유도하는 방식

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 sch_sfq의 limit 검증 로직을 수정해야 합니다.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.

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