🔍 CVE-2022-50317

5.5
CVSS Score
MEDIUM
2025-09-15
2026-11-05 20:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/bridge megachips 드라이버에서 모듈 제거 시 널 포인터 역참조가 발생하는 취약점입니다. 두 개의 브리지(stdp2690, stdp4028)가 동시에 프로브되지 않아 초기화되지 않은 객체를 제거하려다 커널 패닉이 발생할 수 있습니다. 해당 문제는 두 브리지가 모두 프로브되었는지 확인하도록 수정되었습니다.

💡 쉬운 설명

이 문제는 특정 디스플레이 장치용 드라이버를 제거할 때 아직 만들어지지 않은 항목을 지우려고 해서 생깁니다. 그 결과 시스템이 오류로 멈추거나 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/bridge: megachips: Fix a null pointer dereference bug When removing the module we will get the following warning: [ 31.911505] i2c-core: driver [stdp2690-ge-b850v3-fw] unregistered [ 31.912484] general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI [ 31.913338] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 31.915280] RIP: 0010:drm_bridge_remove+0x97/0x130 [ 31.921825] Call Trace: [ 31.922533] stdp4028_ge_b850v3_fw_remove+0x34/0x60 [megachips_stdpxxxx_ge_b850v3_fw] [ 31.923139] i2c_device_remove+0x181/0x1f0 The two bridges (stdp2690, stdp4028) do not probe at the same time, so the driver does not call ge_b850v3_resgiter() when probing, causing the driver to try to remove the object that has not been initialized. Fix this by checking whether both the bridges are probed.

📍 영향받는 시스템

Linux 커널의 drm/bridge megachips(stdp2690/stdp4028) 드라이버를 사용하는 시스템 (수정 이전 커널 버전)

⚔️ 공격 벡터

로컬 사용자 또는 권한을 가진 사용자가 해당 모듈을 제거할 때 서비스 거부(커널 패닉)를 유발할 수 있음

🛡️ 대응 방법

해당 수정이 포함된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 CVE 수정 패치가 포함된 배포판 커널 버전 이상인지 배포판 보안 공지와 비교하여 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel