CVE-2025-23161
- 공개
- 2025년 5월 1일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
PCI: vmd: Make vmd_dev::cfg_lock a raw_spinlock_t type
The access to the PCI config space via pci_ops::read and pci_ops::write is a low-level hardware access. The functions can be accessed with disabled interrupts even on PREEMPT_RT. The pci_lock is a raw_spinlock_t for this purpose.
A spinlock_t becomes a sleeping lock on PREEMPT_RT, so it cannot be acquired with disabled interrupts. The vmd_dev::cfg_lock is accessed in the same context as the pci_lock.
Make vmd_dev::cfg_lock a raw_spinlock_t type so it can be used with interrupts disabled.
This was reported as:
BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 Call Trace: rt_spin_lock+0x4e/0x130 vmd_pci_read+0x8d/0x100 [vmd] pci_user_read_config_byte+0x6f/0xe0 pci_read_config+0xfe/0x290 sysfs_kf_bin_read+0x68/0x90
[bigeasy: reword commit message] Tested-off-by: Luis Claudio R. Goncalves <[email protected]> [kwilczynski: commit log] [bhelgaas: add back report info from https://lore.kernel.org/lkml/[email protected]/]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 최초 버전 | ≤ | 취약 | < | 5.15.181 | 5.15.181이상 |
| 5.16 | ≤ | 취약 | < | 6.1.135 | 6.1.135이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.88 | 6.6.88이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.24 | 6.12.24이상 | |
| 6.13 | ≤ | 취약 | < | 6.13.12 | 6.13.12이상 | |
| 6.14 | ≤ | 취약 | < | 6.14.3 | 6.14.3이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.5 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.5 | — | |
| 5.15.181 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.135 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.88 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.24 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.12 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14.3 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/13e5148f70e81991acbe0bab5b1b50ba699116e7
- git.kernel.org/stable/c/18056a48669a040bef491e63b25896561ee14d90
- git.kernel.org/stable/c/20d0a9062c031068fa39f725a32f182b709b5525
- git.kernel.org/stable/c/2358046ead696ca5c7c628d6c0e2c6792619a3e5
- git.kernel.org/stable/c/5c3cfcf0b4bf43530788b08a8eaf7896ec567484