CVE 목록
Medium5.5유형: 운영체제

CVE-2025-21767

공개
2025년 2월 27일
수정
2026년 11월 6일
조회
0
상태
Modified
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
5.5Medium

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

clocksource: Use migrate_disable() to avoid calling get_random_u32() in atomic context

The following bug report happened with a PREEMPT_RT kernel:

BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 2012, name: kwatchdog preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 get_random_u32+0x4f/0x110 clocksource_verify_choose_cpus+0xab/0x1a0 clocksource_verify_percpu.part.0+0x6b/0x330 clocksource_watchdog_kthread+0x193/0x1a0

It is due to the fact that clocksource_verify_choose_cpus() is invoked with preemption disabled. This function invokes get_random_u32() to obtain random numbers for choosing CPUs. The batched_entropy_32 local lock and/or the base_crng.lock spinlock in driver/char/random.c will be acquired during the call. In PREEMPT_RT kernel, they are both sleeping locks and so cannot be acquired in atomic context.

Fix this problem by using migrate_disable() to allow smp_processor_id() to be reliably used without introducing atomic context. preempt_disable() is then called after clocksource_verify_choose_cpus() but before the clocksource measurement is being run to avoid introducing unexpected latency.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux5.10.50≤취약<5.10.2355.10.235이상
5.12.17≤취약<5.135.13이상
5.13.2≤취약<5.15.1795.15.179이상
5.16≤취약<6.1.1296.1.129이상
6.2≤취약<6.6.796.6.79이상
6.7≤취약<6.12.166.12.16이상
6.13≤취약<6.13.46.13.4이상
이 버전만취약=6.14 rc1벤더 공지 확인

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 12줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux5.10.50≤취약<5.10.2355.10.235이상
5.12.17≤취약<5.135.13이상
5.13.2≤취약<5.145.14이상
이 버전만취약=5.14벤더 공지 확인
최초 버전≤영향 없음<5.14—
5.10.235≤영향 없음≤5.10.*—
5.15.179≤영향 없음≤5.15.*—
6.1.129≤영향 없음≤6.1.*—
6.6.79≤영향 없음≤6.6.*—
6.12.16≤영향 없음≤6.12.*—
6.13.4≤영향 없음≤6.13.*—
6.14≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.