CVE-2025-71274
- 공개
- 2026년 5월 6일
- 수정
- 2026년 10월 20일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
rpmsg: core: fix race in driver_override_show() and use core helper
The driver_override_show function reads the driver_override string without holding the device_lock. However, the store function modifies and frees the string while holding the device_lock. This creates a race condition where the string can be freed by the store function while being read by the show function, leading to a use-after-free.
To fix this, replace the rpmsg_string_attr macro with explicit show and store functions. The new driver_override_store uses the standard driver_set_override helper. Since the introduction of driver_set_override, the comments in include/linux/rpmsg.h have stated that this helper must be used to set or clear driver_override, but the implementation was not updated until now.
Because driver_set_override modifies and frees the string while holding the device_lock, the new driver_override_show now correctly holds the device_lock during the read operation to prevent the race.
Additionally, since rpmsg_string_attr has only ever been used for driver_override, removing the macro simplifies the code.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.18 | ≤ | 취약 | < | 5.10.252 | 5.10.252이상 |
| 5.11 | ≤ | 취약 | < | 5.15.202 | 5.15.202이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.165 | 6.1.165이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.128 | 6.6.128이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.75 | 6.12.75이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.16 | 6.18.16이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.6 | 6.19.6이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.18 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.18 | — | |
| 5.10.252 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.202 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.165 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.128 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.75 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.16 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.6 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/2e4a70f3c30910427e5ea848b799066d67b963d5
- git.kernel.org/stable/c/392c6b68334aa0e0ae9aba95c0a366bcb0d92f5d
- git.kernel.org/stable/c/42023d4b6d2661a40ee2dcf7e1a3528a35c638ca
- git.kernel.org/stable/c/47615557447185917afa432b7958f87583c417cb
- git.kernel.org/stable/c/7654e6e3cd6bdee9602f6063b3c670bd556d7e61