CVE-2023-53587
- 공개
- 2025년 10월 5일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ring-buffer: Sync IRQ works before buffer destruction
If something was written to the buffer just before destruction, it may be possible (maybe not in a real system, but it did happen in ARCH=um with time-travel) to destroy the ringbuffer before the IRQ work ran, leading this KASAN report (or a crash without KASAN):
BUG: KASAN: slab-use-after-free in irq_work_run_list+0x11a/0x13a Read of size 8 at addr 000000006d640a48 by task swapper/0
CPU: 0 PID: 0 Comm: swapper Tainted: G W O 6.3.0-rc1 #7 Stack: 60c4f20f 0c203d48 41b58ab3 60f224fc 600477fa 60f35687 60c4f20f 601273dd 00000008 6101eb00 6101eab0 615be548 Call Trace: [<60047a58>] show_stack+0x25e/0x282 [<60c609e0>] dump_stack_lvl+0x96/0xfd [<60c50d4c>] print_report+0x1a7/0x5a8 [<603078d3>] kasan_report+0xc1/0xe9 [<60308950>] __asan_report_load8_noabort+0x1b/0x1d [<60232844>] irq_work_run_list+0x11a/0x13a [<602328b4>] irq_work_tick+0x24/0x34 [<6017f9dc>] update_process_times+0x162/0x196 [<6019f335>] tick_sched_handle+0x1a4/0x1c3 [<6019fd9e>] tick_sched_timer+0x79/0x10c [<601812b9>] __hrtimer_run_queues.constprop.0+0x425/0x695 [<60182913>] hrtimer_interrupt+0x16c/0x2c4 [<600486a3>] um_timer+0x164/0x183 [...]
Allocated by task 411: save_stack_trace+0x99/0xb5 stack_trace_save+0x81/0x9b kasan_save_stack+0x2d/0x54 kasan_set_track+0x34/0x3e kasan_save_alloc_info+0x25/0x28 ____kasan_kmalloc+0x8b/0x97 __kasan_kmalloc+0x10/0x12 __kmalloc+0xb2/0xe8 load_elf_phdrs+0xee/0x182 [...]
The buggy address belongs to the object at 000000006d640800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 584 bytes inside of freed 1024-byte region [000000006d640800, 000000006d640c00)
Add the appropriate irq_work_sync() so the work finishes before the buffers are destroyed.
Prior to the commit in the Fixes tag below, there was only a single global IRQ work, so this issue didn't exist.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 3.10 | ≤ | 취약 | < | 4.14.315 | 4.14.315이상 |
| 4.15 | ≤ | 취약 | < | 4.19.283 | 4.19.283이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.243 | 5.4.243이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.180 | 5.10.180이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.111 | 5.15.111이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.28 | 6.1.28이상 | |
| 6.2 | ≤ | 취약 | < | 6.2.15 | 6.2.15이상 | |
| 6.3 | ≤ | 취약 | < | 6.3.2 | 6.3.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.10 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.10 | — | |
| 4.14.315 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.283 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.243 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.180 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.111 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.28 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2.15 | ≤ | 영향 없음 | ≤ | 6.2.* | — | |
| 6.3.2 | ≤ | 영향 없음 | ≤ | 6.3.* | — | |
| 6.4 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/0a65165bd24ee9231191597b7c232376fcd70cdb
- git.kernel.org/stable/c/1c99f65d6af2a454bfd5207b4f6a97c8474a1191
- git.kernel.org/stable/c/2399b1fda025e939b6fb1ac94505bcf718534e65
- git.kernel.org/stable/c/2702b67f59d455072a08dc40312f9b090d4dec04
- git.kernel.org/stable/c/372c5ee537b8366b64b691ba29e9335525e1655e