🔍 CVE-2023-54186

7.8
CVSS Score
HIGH
2025-12-30
2026-08-04 11:16
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 USB Type-C Alt Mode DisplayPort 드라이버에서 pin_assignment_show 함수가 음수 인덱스를 참조하는 취약점이 발견되었습니다. 호환되는 핀 할당을 찾지 못할 경우 배열의 잘못된 위치에 접근하여 Use-After-Free 오류를 유발할 수 있습니다.

💡 쉬운 설명

USB-C 연결 시 화면 출력을 설정하는 과정에서 컴퓨터가 잘못된 메모리 주소를 읽어 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 조건에서 데이터가 저장되지 않은 빈 공간을 참조하면서 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: usb: typec: altmodes/displayport: fix pin_assignment_show This patch fixes negative indexing of buf array in pin_assignment_show when get_current_pin_assignments returns 0 i.e. no compatible pin assignments are found. BUG: KASAN: use-after-free in pin_assignment_show+0x26c/0x33c ... Call trace: dump_backtrace+0x110/0x204 dump_stack_lvl+0x84/0xbc print_report+0x358/0x974 kasan_report+0x9c/0xfc __do_kernel_fault+0xd4/0x2d4 do_bad_area+0x48/0x168 do_tag_check_fault+0x24/0x38 do_mem_abort+0x6c/0x14c el1_abort+0x44/0x68 el1h_64_sync_handler+0x64/0xa4 el1h_64_sync+0x78/0x7c pin_assignment_show+0x26c/0x33c dev_attr_show+0x50/0xc0

📍 영향받는 시스템

USB Type-C Alt Mode/DisplayPort 기능을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

로컬 공격자가 특수하게 조작된 USB-C 장치를 연결하여 커널 메모리 오류 유발

🛡️ 대응 방법

USB Type-C 관련 패치가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

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

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