🇰🇷 한글 설명
Linux 커널의 nfsd 구성 요소에서 DRC 해시 테이블이 shrinker에 등록되기 전에 초기화되지 않는 취약점이 발견되었습니다. arm64나 ppc와 같은 약한 메모리 순서 아키텍처에서는 초기화가 완료되기 전에 shrinker 스캔이 발생하여 NULL 포인터 역참조로 인한 시스템 충돌이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 정리하는 기능이 준비가 덜 된 데이터를 읽으려고 시도하여 시스템이 멈추거나 오류가 발생하는 문제입니다. 특히 특정 방식의 CPU를 사용하는 환경에서 발생할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: initialize DRC hash table before registering shrinker
shrinker_register() precedes the INIT_LIST_HEAD loop and the
drc_hashsize store. On weakly-ordered architectures (arm64, ppc),
a shrinker scan can observe drc_hashsize before the bucket list
heads are initialized, causing a NULL deref in the DRC shrinker
callback.
Move bucket initialization and the drc_hashsize store before
shrinker_register() so the hash table is fully initialized before
it becomes visible to the shrinker.
📍 영향받는 시스템
Linux kernel (nfsd module 사용 환경, 특히 arm64 및 ppc 아키텍처)
⚔️ 공격 벡터
로컬 공격자가 메모리 관리 프로세스를 유도하여 시스템을 충돌시키는 방식 (DoS)
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인하십시오.