🔍 CVE-2021-47500

7.8
CVSS Score
HIGH
2024-05-24
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mma8452 드라이버에서 트리거 참조 횟수 계산 오류로 인해 Use-After-Free 취약점이 발생합니다. 드라이버가 트리거를 할당할 때 적절한 참조 횟수 증가(iio_trigger_get)를 수행하지 않아, 트리거가 사용 중임에도 메모리에서 해제될 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제어하는 프로그램이 사용 중인 부품을 실수로 메모리에서 지워버리는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iio: mma8452: Fix trigger reference couting The mma8452 driver directly assigns a trigger to the struct iio_dev. The IIO core when done using this trigger will call `iio_trigger_put()` to drop the reference count by 1. Without the matching `iio_trigger_get()` in the driver the reference count can reach 0 too early, the trigger gets freed while still in use and a use-after-free occurs. Fix this by getting a reference to the trigger before assigning it to the IIO device.

📍 영향받는 시스템

Linux kernel (mma8452 driver 사용 환경)

⚔️ 공격 벡터

로컬 공격자가 특수하게 조작된 트리거를 사용하여 메모리 오류를 유도함으로써 권한 상승 또는 시스템 중단을 일으킬 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

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