🇰🇷 한글 설명
Linux 커널의 nfsd 모듈에서 svc_proc_register()의 반환 값을 무시하여 발생하는 취약점입니다. procfile 생성 실패 시 적절한 오류 처리가 이루어지지 않아 나중에 커널 경고(WARN)가 발생할 수 있습니다.
💡 쉬운 설명
리눅스 서버의 파일 공유 기능(NFS)을 설정할 때, 오류가 발생해도 이를 제대로 확인하지 않고 넘어가서 시스템에 경고 메시지를 남기는 문제입니다. 이로 인해 시스템 운영 중에 예상치 못한 경고가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nfsd: don't ignore the return code of svc_proc_register()
Currently, nfsd_proc_stat_init() ignores the return value of
svc_proc_register(). If the procfile creation fails, then the kernel
will WARN when it tries to remove the entry later.
Fix nfsd_proc_stat_init() to return the same type of pointer as
svc_proc_register(), and fix up nfsd_net_init() to check that and fail
the nfsd_net construction if it occurs.
svc_proc_register() can fail if the dentry can't be allocated, or if an
identical dentry already exists. The second case is pretty unlikely in
the nfsd_net construction codepath, so if this happens, return -ENOMEM.
📍 영향받는 시스템
Linux kernel (nfsd module 포함 버전)
⚔️ 공격 벡터
로컬 시스템 자원 부족(메모리 부족 등)을 유도하여 오류를 발생시키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.