🇰🇷 한글 설명
Linux 커널 미디어(iris) 서브시스템의 내부 버퍼 생성 과정에서 DMA 메모리 할당 실패 시 부분 초기화된 버퍼가 목록에 남아있는 취약점입니다. 할당 실패 시에도 버퍼가 목록에 등록되어 있어 불일치한 상태와 메모리 누수를 야기할 수 있었습니다. 할당 성공 후에만 목록 추가하도록 수정되었습니다.
💡 쉬운 설명
Linux 커널에서 특정 미디어 기능 사용 중 메모리 할당에 실패해도 미처리된 정보가 시스템에 남아 시스템 불안정성을 유발할 수 있습니다. 로컬 공격자가 이를 악용해 커널 오류 상태를 만들거나 정보에 접근할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: iris: Add buffer to list only after successful allocation
Move `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating
internal buffers. Previously, the buffer was enqueued in `buffers->list`
before the DMA allocation. If the allocation failed, the function returned
`-ENOMEM` while leaving a partially initialized buffer in the list, which
could lead to inconsistent state and potential leaks.
By adding the buffer to the list only after `dma_alloc_attrs()` succeeds,
we ensure the list contains only valid, fully initialized buffers.
📍 영향받는 시스템
Linux kernel with iris media subsystem (취약 버전 모두)
⚔️ 공격 벡터
로컬 공격자가 DMA 메모리 할당 실패를 유발하는 조건 생성 후 불일치 상태의 버퍼 구조 조작
🛡️ 대응 방법
Linux 커널 최신 버전으로 업데이트하여 CVE-2026-43146 패치 적용
🔧 검증 코드
현재 커널 버전 확인. 취약점이 패치된 버전 이상으로 업데이트되었는지 확인 필요 (vendor 보안 공지 참조)