🔍 CVE-2023-52483

7.8
CVSS Score
HIGH
2024-02-29
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 MCTP 프로토콜 구현에서 경로 조회 시 RCU read-side lock을 사용하지 않아 발생하는 취약점입니다. 이로 인해 경로 조회 중 선점(preemption)이 발생하면 이미 해제된 메모리 주소를 참조하게 되는 Use-After-Free(UAF) 오류가 발생할 수 있습니다.

💡 쉬운 설명

데이터를 찾는 과정에서 보호 장치가 부족하여, 데이터를 찾는 도중에 다른 작업이 해당 데이터를 삭제해버릴 수 있는 문제입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mctp: perform route lookups under a RCU read-side lock Our current route lookups (mctp_route_lookup and mctp_route_lookup_null) traverse the net's route list without the RCU read lock held. This means the route lookup is subject to preemption, resulting in an potential grace period expiry, and so an eventual kfree() while we still have the route pointer. Add the proper read-side critical section locks around the route lookups, preventing premption and a possible parallel kfree. The remaining net->mctp.routes accesses are already under a rcu_read_lock, or protected by the RTNL for updates. Based on an analysis from Sili Luo <[email protected]>, where introducing a delay in the route lookup could cause a UAF on simultaneous sendmsg() and route deletion.

📍 영향받는 시스템

MCTP 프로토콜이 활성화된 리눅스 커널 버전

⚔️ 공격 벡터

동시에 발생하는 sendmsg() 호출과 경로 삭제 작업을 이용한 Use-After-Free 공격

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 RCU read-side lock이 적용된 코드를 반영해야 합니다.

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel