🇰🇷 한글 설명
리눅스 커널의 NFS(Network File System) 구성 요소에서 nfs4_init_client() 함수 호출 시 Use-After-Free 취약점이 발견되었습니다. 동일한 서버에 속한 두 개의 서로 다른 NIC를 통해 서로 다른 내보내기(exports)를 마운트하려고 할 때 발생합니다.
💡 쉬운 설명
컴퓨터가 네트워크 파일을 연결하는 과정에서 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 공격에 노출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
NFS: Fix use-after-free in nfs4_init_client()
KASAN reports a use-after-free when attempting to mount two different
exports through two different NICs that belong to the same server.
Olga was able to hit this with kernels starting somewhere between 5.7
and 5.10, but I traced the patch that introduced the clear_bit() call to
4.13. So something must have changed in the refcounting of the clp
pointer to make this call to nfs_put_client() the very last one.
📍 영향받는 시스템
Linux Kernel 4.13 버전부터 5.10 버전 사이의 커널을 사용하는 시스템
⚔️ 공격 벡터
동일한 서버에 대해 서로 다른 네트워크 인터페이스를 사용하여 다중 NFS 마운트를 시도하는 방식
🛡️ 대응 방법
커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약한 범위(4.13 ~ 5.10)에 해당하는지 확인하십시오.