🇰🇷 한글 설명
Linux 커널의 nfsd 구성 요소에서 FREE_STATEID 처리 중 발생하는 취약점입니다. 동일한 위임 stateid에 대해 여러 번의 FREE_STATEID 요청이 전송될 경우, Use-After-Free 또는 참조 카운터 언더플로우 오류가 발생할 수 있습니다.
💡 쉬운 설명
서버가 이미 삭제한 데이터를 다시 삭제하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: fix possible badness in FREE_STATEID
When multiple FREE_STATEIDs are sent for the same delegation stateid,
it can lead to a possible either use-after-free or counter refcount
underflow errors.
In nfsd4_free_stateid() under the client lock we find a delegation
stateid, however the code drops the lock before calling nfs4_put_stid(),
that allows another FREE_STATE to find the stateid again. The first one
will proceed to then free the stateid which leads to either
use-after-free or decrementing already zeroed counter.
📍 영향받는 시스템
NFS 서버 기능을 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
조작된 NFSv4 FREE_STATEID 요청을 전송하여 레이스 컨디션 유도
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인