보안 뉴스 · 업데이트
Linux Kernel의 NFS 서버(nfsd) 메모리 범위 초과 쓰기 취약점
원문 제목·공식 자료 보강 근거
원문 제목: Linux 제품 보안 업데이트 권고
Linux Kernel의 NFS 서버(nfsd) 메모리 범위 초과 쓰기 취약점 해결 버전 5.10.275 이상, 5.15.226 이상, 6.1.193 이상 및 공급사 적용 조건 확인.
패치 출시일은 별도 확인된 근거가 없으면 미확인입니다. 자동 수집은 관리자 직접 확인이 아닙니다.
KISA 보호나라·KrCERT/CC · https://www.boho.or.kr/kr/bbs/view.do?bbsId=B0000133&menuNo=&nttId=72330 · 수집 2026-12-01T20:02:39.818Z
Linux · CVE-2026-99362 · 수집 2026-12-01T20:02:40.228Z · CVE 공개 2026-11-19T14:22:44.299Z · 해당 공식 문서 수정 2026-11-28T22:04:33.832Z
위험도
9.8 Linux · CVSS 3.1
공식 평가 근거9.8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 · CVSS 3.1
공식 평가 근거영향 대상
Linux Kernel
관련 구성 요소
Linux nfsd / NFSv4 서버 · fs/nfsd/nfs4state.c
규칙 기반 안내 · 공식 자료 준비 · 규칙 기반 분석 · 관리자 검토 필요 · 승인 점검 스크립트 준비 중
패치해야 하는 원인
Linux Kernel의 NFS 서버(nfsd) 메모리 범위 초과 쓰기 취약점
해결 방안
공식 해결 버전: Linux Kernel 5.10.275 이상 / Linux Kernel 5.15.226 이상 / Linux Kernel 6.1.193 이상 / Linux Kernel 6.6.163 이상. 제품·배포판별 백포트와 적용 조건을 공식 자료에서 대조하세요.
점검 및 조치 스크립트
01. 점검 스크립트
공식 CVE 점검 명령 미확인
명령 확인 필요 / Dot 정보 보강. 실제 OS·버전·권한·전제조건과 공식 원문을 확인한 뒤 제공합니다.
02. 조치 스크립트
조치 스크립트는 시스템 설정이나 패키지를 변경할 수 있습니다.
공식 패치 명령 미확인
명령 확인 필요 / Dot 정보 보강. 실제 OS·버전·권한·전제조건과 공식 원문을 확인한 뒤 제공합니다.
패치 적용 뒤 설치 패키지와 재부팅 후 실행 커널을 확인해야 합니다.
공식 해결 방안 확인기술 상세 보기
취약점 상세 기술 설명
공식 자료와 유형 규칙의 개념도
- NFSv4.1 요청
- nfsd 서버
- 응답 캐시 경계 검사 문제
- 공식 원문의 경계 밖 쓰기
- NFSv4.1 요청 → nfsd 서버
- nfsd 서버 → 응답 캐시 경계 검사 문제
- 응답 캐시 경계 검사 문제 → 공식 원문의 경계 밖 쓰기
공식 기술 설명의 구성 요소만 연결한 개념도입니다. 실제 서버 점검·공격 재현 결과가 아닙니다.
취약점 상세 기술 설명
In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.
영문 원문과 제한된 한국어 용어 규칙을 구분하며, 정확한 변환과 실제 적용은 관리자 검토가 필요합니다.
CWE 및 취약점 유형 설명
공식 CWE: 미제공 · 확인 필요
경계 밖 쓰기 (Out-of-bounds Write) · 공식 원문 용어 분류
정해진 메모리 경계를 벗어나 데이터를 쓰는 유형입니다. 개별 CVE의 공격 조건이나 피해를 이 일반 설명만으로 확정하지 않습니다. CWE 일반 설명
영향받는 제품 및 버전
영향받는 시스템 및 버전
Linux: 47ee52986472dba068e8223cbaf1b65d74238781 이상 aff12e327620258123f847d7d06565f4555c5cb4 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 6a26c5473bb112d8420ffd48d5331bc5fb5a2065 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 fa85acf074f000ad3d1a5ffb703128ff97de983d 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 1a5a227bca6a8a9f9d31230697aeb84c62a21da6 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 37fc2ec211630360e9aefcaaec8730db964645f2 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 ed98b0c57e5e84290c5b35428144ab26778905f3 미만 (영향 있음), 47ee52986472dba068e8223cbaf1b65d74238781 이상 35ff1a7a7e3835c3e974bc5c45d335897564ceae 미만 (영향 있음)
Linux: 3.16 (영향 있음), 0 이상 3.16 미만 (영향 없음), 5.10.275 이상 5.10.* 이하 (영향 없음), 5.15.226 이상 5.15.* 이하 (영향 없음), 6.1.193 이상 6.1.* 이하 (영향 없음), 6.6.163 이상 6.6.* 이하 (영향 없음), 6.12.117 이상 6.12.* 이하 (영향 없음), 6.18.61 이상 6.18.* 이하 (영향 없음), 7.3.2 이상 7.3.* 이하 (영향 없음), 7.4-rc1 이상 * 이하 (영향 없음)
Linux Kernel: 3.16 이상 5.10.275 미만 (영향 있음)
Linux Kernel: 5.11 이상 5.15.226 미만 (영향 있음)
Linux Kernel: 5.16 이상 6.1.193 미만 (영향 있음)
Linux Kernel: 6.2 이상 6.6.163 미만 (영향 있음)
Linux Kernel: 6.7 이상 6.12.117 미만 (영향 있음)
Linux Kernel: 6.13 이상 6.18.61 미만 (영향 있음)
Linux Kernel: 6.19 이상 7.3.2 미만 (영향 있음)
공식 수정 버전 및 패치 적용
- Linux · 5.10.275 / 5.10.* · 공식 영향 제외 범위
- Linux · 5.15.226 / 5.15.* · 공식 영향 제외 범위
- Linux · 6.1.193 / 6.1.* · 공식 영향 제외 범위
- Linux · 6.6.163 / 6.6.* · 공식 영향 제외 범위
- Linux · 6.12.117 / 6.12.* · 공식 영향 제외 범위
- Linux · 6.18.61 / 6.18.* · 공식 영향 제외 범위
- Linux · 7.3.2 / 7.3.* · 공식 영향 제외 범위
배포판별 백포트·패키지 이름·실행 버전은 별도 확인하며 위 표만으로 서버 패치 완료를 판정하지 않습니다.
재수집한 공식 영향·수정 버전
- Linux Kernel · 5.10.275 이상 공식 근거
- Linux Kernel · 5.15.226 이상 공식 근거
- Linux Kernel · 6.1.193 이상 공식 근거
- Linux Kernel · 6.6.163 이상 공식 근거
- Linux Kernel · 6.12.117 이상 공식 근거
- Linux Kernel · 6.18.61 이상 공식 근거
- Linux Kernel · 7.3.2 이상 공식 근거
- Linux · 5.10.275 공식 근거
- Linux · 5.15.226 공식 근거
- Linux · 6.1.193 공식 근거
- Linux · 6.6.163 공식 근거
- Linux · 6.12.117 공식 근거
- Linux · 6.18.61 공식 근거
- Linux · 7.3.2 공식 근거
배포판별 백포트와 실제 설치 버전을 별도 대조하세요. 서버 패치 완료 판정이 아닙니다.
상세 공격 조건
상세 공격 조건
AV:N - svc_tcp_recvfrom delivers an NFSv4.1 TCP RPC to svc_process, nfsd_dispatch, and nfsd4_proc_compound, which calls nfsd4_sequence. The client supplies ca_maxresponsesize_cached in CREATE_SESSION (nfsd4_decode_channel_attrs4) and the COMPOUND tag plus SEQUENCE sa_cachethis (nfsd4_decode_sequence); that reply is what nfsd4_store_cache_entry copies past sl_data. AC:L - The client sets ca_maxresponsesize_cached to NFSD_MIN_HDR_SEQ_SZ and a COMPOUND tag that leaves room for the SEQUENCE opcode but not its status word. nfsd4_encode_operation then returns with op->status still nfs_ok and cstate.data_offset still 0, so nfsd4_store_cache_entry copies the reply on that COMPOUND with no further timing or peer state. PR:N - EXCHANGE_ID with SP4_NONE, CREATE_SESSION, and SEQUENCE are ALLOWED_WITHOUT_FH and never call fh_verify or check_nfsd_access. svcauth_unix_accept copies the AUTH_SYS uid from the RPC without checking it, and svcauth_null_accept accepts AUTH_NULL; svcauth_unix_set_client only maps the source address to an export. UI:N - The attacker opens the TCP connection and sends EXCHANGE_ID, CREATE_SESSION, and the SEQUENCE COMPOUND itself. No local user must mount a share or open a file. S:U - The overflow corrupts the nfsd4_slot allocation in the kernel that is running nfsd. It does not cross a guest-to-host or IOMMU boundary. C:H - nfsd4_store_cache_entry leaves data_offset at 0, sets sl_datalen to the whole reply, and copies it into a zero-length sl_data[]. nfsd4_replay_cache_entry then xdr-encodes those sl_datalen bytes from sl_data into the RPC reply, so the read extends into the adjacent slab object and is returned to the client. I:H - read_bytes_from_xdr_buf writes the reply, including the client-chosen COMPOUND tag, at slot->sl_data. With ca_maxresponsesize_cached equal to NFSD_MIN_HDR_SEQ_SZ, nfsd4_alloc_slot makes sl_data zero-length, so the 80-byte copy runs off the kmalloc'd nfsd4_slot into the next object of that slab. A:H - The write is performed from nfs4svc_encode_compoundres via nfsd4_sequence_done on the triggering SEQUENCE. KASAN reports it as a slab-out-of-bounds write in read_bytes_from_xdr_buf, which oopses the nfsd thread and can panic the host.
공급사별 패치 방법
공급사별 패치 및 임시 완화 방안
공식 임시 완화 방안 확인 필요. 임의의 패키지 업데이트·서비스 중지·재부팅 명령을 생성하지 않았습니다.
백업 및 복구 방법
백업 및 복구 방법
변경 전 공급사 절차에 따른 백업·복구 계획과 유지보수 시간을 검토하세요. 이 안내는 실제 백업이나 복구 검증 완료를 뜻하지 않습니다.