🇰🇷 한글 설명
Linux 커널 5.6.2 버전 이하에서 mm/mempolicy.c의 mpol_parse_str 함수 내 스택 기반 경계 외 쓰기(out-of-bounds write) 취약점이 발견되었습니다. 마운트 옵션 파싱 중 빈 노드 리스트를 잘못 처리하여 발생하며, 이는 메모리 오염을 유발할 수 있습니다.
💡 쉬운 설명
리눅스 시스템의 메모리 관리 설정 과정에서 데이터가 정해진 범위를 벗어나 저장되는 오류가 있습니다. 다만, 이 설정을 바꾸려면 이미 높은 권한을 가진 관리자여야 하므로 일반 사용자가 공격하기는 어렵습니다.
🇺🇸 원문 (English)
An issue was discovered in the Linux kernel through 5.6.2. mpol_parse_str in mm/mempolicy.c has a stack-based out-of-bounds write because an empty nodelist is mishandled during mount option parsing, aka CID-aa9f7d5172fa. NOTE: Someone in the security community disagrees that this is a vulnerability because the issue “is a bug in parsing mount options which can only be specified by a privileged user, so triggering the bug does not grant any powers not already held.”
📍 영향받는 시스템
Linux kernel 5.6.2 및 그 이전 버전
⚔️ 공격 벡터
권한을 가진 사용자가 특수하게 조작된 마운트 옵션을 사용하여 메모리 오염 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 5.6.2 이하인지 확인하여 취약 여부를 판단합니다.