🇰🇷 한글 설명
리눅스 커널의 nfsd 구성 요소에서 제3자 임대(lease)가 존재하는 경우 nfsd4_deleg_getattr_conflict 함수가 잘못된 메모리 참조를 수행하는 취약점입니다. 특정 조건에서 fl_lmops를 확인하지 않고 flc_owner를 역참조함으로써 시스템 불안정성이나 보안 문제를 야기할 수 있습니다.
💡 쉬운 설명
리눅스 서버가 파일을 공유할 때, 권한을 확인하는 과정에서 잘못된 메모리 주소를 참조하는 오류가 발견되었습니다. 이로 인해 시스템이 충돌하거나 보안상 취약점이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease
It is not safe to dereference fl->c.flc_owner without first confirming
fl->fl_lmops is the expected manager. nfsd4_deleg_getattr_conflict()
tests fl_lmops but largely ignores the result and assumes that flc_owner
is an nfs4_delegation anyway. This is wrong.
With this patch we restore the "!= &nfsd_lease_mng_ops" case to behave
as it did before the change mentioned below. This is the same as the
current code, but without any reference to a possible delegation.
📍 영향받는 시스템
nfsd(Network File System daemon)를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 NFSv4 요청을 통해 잘못된 임대 상태를 유도하여 메모리 오류 유발
🛡️ 대응 방법
nfsd4_deleg_getattr_conflict 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인