CVE-2024-57996
위험도 중간
- 우선순위 이 사이트의 참고 점수
- 5.51
- 위험도 CVSS 3.1 · 0~10점
- 5.5
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 0.3%
- 공개일 NVD
- 2025-02-27
설명 NVD 원문
In the Linux kernel, the following vulnerability has been resolved: net_sched: sch_sfq: don't allow 1 packet limit The current implementation does not work correctly with a limit of 1. iproute2 actually checks for this and this patch adds the check in kernel as well. This fixes the following syzkaller reported crash: UBSAN: array-index-out-of-bounds in net/sched/sch_sfq.c:210:6 index 65535 is out of range for type 'struct sfq_head[128]' CPU: 0 PID: 2569 Comm: syz-executor101 Not tainted 5.10.0-smp-DEV #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x125/0x19f lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] __ubsan_handle_out_of_bounds+0xed/0x120 lib/ubsan.c:347 sfq_link net/sched/sch_sfq.c:210 [inline] sfq_dec+0x528/0x600 net/sched/sch_sfq.c:238 sfq_dequeue+0x39b/0x9d0 net/sched/sch_sfq.c:500 sfq_reset+0x13/0x50 net/sched/sch_sfq.c:525 qdisc_reset+0xfe/0x510 net/sched/sch_generic.c:1026 tbf_reset+0x3d/0x100 net/sched/sch_tbf.c:319 qdisc_reset+0xfe/0x510 net/sched/sch_generic.c:1026 dev_reset_queue+0x8c/0x140 net/sched/sch_generic.c:1296 netdev_for_each_tx_queue include/linux/netdevice.h:2350 [inline] dev_deactivate_many+0x6dc/0xc20 net/sched/sch_generic.c:1362 __dev_close_many+0x214/0x350 net/core/dev.c:1468 dev_close_many+0x207/0x510 net/core/dev.c:1506 unregister_netdevice_many+0x40f/0x16b0 net/core/dev.c:10738 unregister_netdevice_queue+0x2be/0x310 net/core/dev.c:10695 unregister_netdevice include/linux/netdevice.h:2893 [inline] __tun_detach+0x6b6/0x1600 drivers/net/tun.c:689 tun_detach drivers/net/tun.c:705 [inline] tun_chr_close+0x104/0x1b0 drivers/net/tun.c:3640 __fput+0x203/0x840 fs/file_table.c:280 task_work_run+0x129/0x1b0 kernel/task_work.c:185 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x5ce/0x2200 kernel/exit.c:931 do_group_exit+0x144/0x310 kernel/exit.c:1046 __do_sys_exit_group kernel/exit.c:1057 [inline] __se_sys_exit_group kernel/exit.c:1055 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1055 do_syscall_64+0x6c/0xd0 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe5e7b52479 Code: Unable to access opcode bytes at RIP 0x7fe5e7b5244f. RSP: 002b:00007ffd3c800398 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe5e7b52479 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007fe5e7bcd2d0 R08: ffffffffffffffb8 R09: 0000000000000014 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe5e7bcd2d0 R13: 0000000000000000 R14: 00007fe5e7bcdd20 R15: 00007fe5e7b24270 The crash can be also be reproduced with the following (with a tc recompiled to allow for sfq limits of 1): tc qdisc add dev dummy0 handle 1: root tbf rate 1Kbit burst 100b lat 1s ../iproute2-6.9.0/tc/tc qdisc add dev dummy0 handle 2: parent 1:10 sfq limit 1 ifconfig dummy0 up ping -I dummy0 -f -c2 -W0.1 8.8.8.8 sleep 1 Scenario that triggers the crash: * the first packet is sent and queued in TBF and SFQ; qdisc qlen is 1 * TBF dequeues: it peeks from SFQ which moves the packet to the gso_skb list and keeps qdisc qlen set to 1. TBF is out of tokens so it schedules itself for later. * the second packet is sent and TBF tries to queues it to SFQ. qdisc qlen is now 2 and because the SFQ limit is 1 the packet is dropped by SFQ. At this point qlen is 1, and all of the SFQ slots are empty, however q->tail is not NULL. At this point, assuming no more packets are queued, when sch_dequeue runs again it will decrement the qlen for the current empty slot causing an underflow and the subsequent out of bounds access.
위험도 세부 항목 CVSS 3.1
- 공격 경로
- 로컬(장비 안) AV:L
- 공격 난이도
- 낮음(쉬움) AC:L
- 필요한 권한
- 일반 사용자 PR:L
- 사용자 행동 필요
- 필요 없음 UI:N
- 영향 범위
- 그 제품 안 S:U
- 정보 유출(기밀성)
- 없음 C:N
- 데이터 변조(무결성)
- 없음 I:N
- 서비스 중단(가용성)
- 높음 A:H
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
조치 방법 4행
Microsoft 조치 (KB 업데이트) 4행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Microsoft | azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 6.6.78.1-3 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | azl3 kernel 6.6.78.1-3 on Azure Linux 3.0 | 패치(업데이트) | CBL-Mariner Releases | 6.6.78.1-3 | CBL-Mariner Releases | 보안 업데이트 |
| Microsoft | cbl2 kernel 5.15.184.1-1 on CBL Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | CBL-Mariner Releases | 보안 업데이트 | |
| Microsoft | cbl2 kernel 5.15.184.1-1 on CBL-Mariner 2.0 | 패치(업데이트) | CBL-Mariner Releases | 5.15.186.1-1 | CBL-Mariner Releases | 보안 업데이트 |
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 0건
KEV·KISA·ASEC 에서 연결된 내용이 없습니다.
자동 추천 장비와 근거 참고용
추천할 매핑이 없습니다.
취약점 종류 CWE
- CWE-129 Improper Validation of Array Index
영향받는 제품 CPE · 4건
| 제조사 | 제품 | 영향받는 버전 | 표준 표기CPE |
|---|---|---|---|
| linux | linux_kernel | 2.6.12 이상 6.1.129 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 6.2 이상 6.6.76 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 6.7 이상 6.12.13 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| linux | linux_kernel | 6.13 이상 6.13.2 미만 | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
참고 링크 12건
- 패치 https://git.kernel.org/stable/c/10685681bafce6febb39770f3387621bf5d67d0b
- https://git.kernel.org/stable/c/1b562b7f9231432da40d12e19786c1bd7df653a7
- https://git.kernel.org/stable/c/1e6d9d87626cf89eeffb4d943db12cb5b10bf961
- 패치 https://git.kernel.org/stable/c/35d0137305ae2f97260a9047f445bd4434bd6cc7
- 패치 https://git.kernel.org/stable/c/7d8947f2153ee9c5ab4cb17861a11cc45f30e8c4
- 패치 https://git.kernel.org/stable/c/7fefc294204f10a3405f175f4ac2be16d63f135e
- 패치 https://git.kernel.org/stable/c/833e9a1c27b82024db7ff5038a51651f48f05e5e
- https://git.kernel.org/stable/c/e12f6013d0a69660e8b99bfe381b9546ae667328
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
- CVE 취약점 번호
- 공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
- CVSS 위험도 점수
- 취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
- EPSS 악용 가능성
- 앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
- KEV 실제 악용 확인
- 미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
- 공격 코드 공개된 PoC
- NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
- NVD 미국 취약점 DB
- 미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
- 우선순위 이 사이트의 참고 점수
- CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
- ASEC 안랩 분석 글
- 안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
- CWE 취약점 종류
- 취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
- CPE 영향받는 제품
- 취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
- KB Microsoft 업데이트 번호
- Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
- 시나리오 · 번역
- '시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.