🔍 CVE-2025-40163

0.0
CVSS Score
UNKNOWN
2025-11-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널 스케줄러에서 CPU 오프라인 작업 중 deadline 서버(dl_server) 타이머가 여전히 작동하면서 경고 오류가 발생하는 문제입니다. CPU 제거(drmgr) 작업 중에 dl_server hrtimer가 CPU 제거 후에도 계속 실행되어 cpudl_set에서 경고를 트리거합니다. 패치는 CPU가 dead로 표시되기 전에 dl_server를 중지하여 문제를 해결합니다.

💡 쉬운 설명

Linux 시스템에서 CPU를 제거할 때 타이머가 여전히 실행되어 경고가 발생하는 버그입니다. 이는 보안 문제가 아닌 시스템 안정성 문제로, 커널 업데이트로 해결됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sched/deadline: Stop dl_server before CPU goes offline IBM CI tool reported kernel warning[1] when running a CPU removal operation through drmgr[2]. i.e "drmgr -c cpu -r -q 1" WARNING: CPU: 0 PID: 0 at kernel/sched/cpudeadline.c:219 cpudl_set+0x58/0x170 NIP [c0000000002b6ed8] cpudl_set+0x58/0x170 LR [c0000000002b7cb8] dl_server_timer+0x168/0x2a0 Call Trace: [c000000002c2f8c0] init_stack+0x78c0/0x8000 (unreliable) [c0000000002b7cb8] dl_server_timer+0x168/0x2a0 [c00000000034df84] __hrtimer_run_queues+0x1a4/0x390 [c00000000034f624] hrtimer_interrupt+0x124/0x300 [c00000000002a230] timer_interrupt+0x140/0x320 Git bisects to: commit 4ae8d9aa9f9d ("sched/deadline: Fix dl_server getting stuck") This happens since: - dl_server hrtimer gets enqueued close to cpu offline, when kthread_park enqueues a fair task. - CPU goes offline and drmgr removes it from cpu_present_mask. - hrtimer fires and warning is hit. Fix it by stopping the dl_server before CPU is marked dead. [1]: https://lore.kernel.org/all/[email protected]/ [2]: https://github.com/ibm-power-utilities/powerpc-utils/tree/next/src/drmgr [sshegde: wrote the changelog and tested it]

📍 영향받는 시스템

Linux kernel 4ae8d9aa9f9d 커밋 이후 버전 (특히 PowerPC 시스템의 drmgr 도구 사용 환경)

⚔️ 공격 벡터

로컬 - CPU 제거 작업(drmgr -c cpu -r -q) 실행 시 자동 트리거

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트

🔧 검증 코드

커널 버전 확인 후 4ae8d9aa9f9d 커밋 이후 버전인지 확인하고, drmgr로 CPU 제거 작업 수행 시 경고가 발생하지 않으면 패치가 적용된 것입니다.

Shell / Script
uname -r && grep -i 'dl_server' /proc/version 2>/dev/null || echo 'Check kernel version and apply latest patches'

💻 영향받는 소프트웨어

Git