🔍 CVE-2026-99036

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 device-mapper에서 do_resume 함수가 동시에 실행되는 ioctl에 의해 테이블이 교체된 후 해제된 메모리를 읽는 경쟁 조건(race condition)이 수정되었습니다. 수정은 dm_swap_table 이전에 새 테이블의 모드를 읽도록 변경하는 방식입니다.

💡 쉬운 설명

리눅스 디스크 관리 기능에서 두 작업이 동시에 실행될 때 이미 지워진 메모리를 잘못 읽는 문제가 있었습니다. 이번 패치로 읽는 순서를 바꿔 이 문제를 해결했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dm: fix reading free memory in do_resume When do_resume calls dm_table_get_mode(new_map), the call is done without holding any locks (it only holds a reference to the md). It may be possible that another concurrent ioctl on the same device will swap table after dm_swap_table and before dm_table_get_mode. In this case, dm_table_get_mode(new_map) reads freed memory. This race condition was triggered by syzbot. This commit fixes the race by reading mode of the new table before dm_swap_table. Note that new_map is also passed to dm_ima_need_measure, but this function doesn't attempt to dereference it, so this call should be safe. Note that this is not a security bug because only root can trigger it and the commonly used tools such as lvm or cryptsetup do not call the ioctls concurrently, so that they can't trigger it acceidentally.

📍 영향받는 시스템

device-mapper를 사용하는 Linux 커널 (수정 이전 버전)

⚔️ 공격 벡터

root 권한을 가진 사용자가 동일 장치에 대해 ioctl을 동시에 호출하여 경쟁 조건을 유발 (보안 취약점 아님, 신뢰성 버그)

🛡️ 대응 방법

배포판의 최신 커널 업데이트를 적용하여 해당 수정이 포함된 버전으로 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지 또는 패치 목록과 대조하여 해당 수정이 포함되었는지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel