🇰🇷 한글 설명
Linux 커널의 amdxdna 드라이버 내 작업 스케줄러에서 mm_struct의 Use-After-Free 취약점이 발견되었습니다. amdxdna_cmd_submit() 함수가 mm_struct에 대한 참조를 유지하지 않아, 스케줄러가 작업을 실행하기 전에 해당 메모리가 해제될 수 있는 문제입니다. 이를 해결하기 위해 mmgrab()을 사용하여 참조 카운트를 유지하고 정리 시 mmdrop()을 호출하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 작업 관리자가 일을 처리하기 위해 필요한 메모리 주소를 기록해 두었는데, 실제 일을 하기 전에 그 메모리가 사라져 버리는 문제입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix use-after-free of mm_struct in job scheduler
amdxdna_cmd_submit() stores current->mm in job->mm without holding any
reference. aie2_sched_job_run() later access job->mm from the DRM
scheduler worker thread. With only a raw pointer and no structural
reference, the mm_struct can be freed before the scheduler runs the job.
Fix this by calling mmgrab() to hold a structural mm_count reference for
the lifetime of the job, paired with mmdrop() in every cleanup path.
📍 영향받는 시스템
Linux kernel (amdxdna driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 메모리 관리 프로세스를 조작하여 Use-After-Free를 유발함으로써 시스템 권한 획득 또는 서비스 거부(DoS) 공격 가능
🛡️ 대응 방법
amdxdna 드라이버의 mm_struct 참조 카운트 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux