🇰🇷 한글 설명
Linux 커널의 accel/rocket 구성 요소에서 작업 도메인이 초기화되기 전에 정리 경로가 실행되어 NULL 포인터를 참조할 수 있는 취약점이 발견되었습니다. 할당 오류 발생 시 초기화되지 않은 도메인 포인터를 해제하려고 시도하여 시스템 불안정이나 오류를 유발할 수 있습니다.
💡 쉬운 설명
프로그램이 작업을 정리하는 과정에서 아직 준비되지 않은 빈 상자를 열려고 시도하여 오류가 발생하는 문제입니다. 이로 인해 시스템이 예상치 못한 방식으로 동작하거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/rocket: initialize job domain before cleanup paths
rocket_ioctl_submit_job() releases rjob through rocket_job_put() on
allocation error paths. rocket_job_cleanup() unconditionally calls
rocket_iommu_domain_put(job->domain), but job->domain is assigned only
after task copying and BO lookups. A failure before that assignment can
therefore clean up a job with a NULL domain pointer.
Take the per-file domain reference before the first error path can release
rjob. Also clear rjob->tasks after freeing it in rocket_copy_tasks(), so
the common cleanup path cannot free the task array again after a task-copy
error.
📍 영향받는 시스템
Linux kernel (accel/rocket 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 사용자가 특수하게 조작된 ioctl 호출을 통해 메모리 할당 오류를 유도하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인