총 15,720건
CVE-2026-99371
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an attribute value. xdr_reserve_space() aligns the reservation but does not initialize the extra bytes. If the complete value fits in that fragment, the loop that clears padding for the final fragment is never entered. A remote client reading an attribute whose length is not a multiple of four can therefore receive one to three stale bytes from the response page. Encode the first fragment with xdr_encode_opaque_fixed(), matching the final-fragment path and ensuring that any XDR padding is zeroed.
CVE-2026-99370
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: NFSD: SETXATTR 데이터를 모든 XDR 버퍼 세그먼트에서 복사 nfsd4_vbuf_from_vector()는 맨 앞의 데이터를 먼저 복사한 뒤 오프셋 0에서 시작하는 페이지들까지 포함해 전체를 복사합니다. 이때 남은 모든 데이터가 페이지 배열의 시작 부분에 있으며 꼬리 부분에 데이터가 저장되지 않는다고 가정합니다. 그러나 nfsd4_decode_setxattr()는 xdr_stream_subsegment()에 의해 반환된 xdr_buf를 전달합니다. 이러한 부분 버퍼는 0이 아닌 page_base를 가질 수 있으며 페이지 세그먼트와 tail 세그먼트를 포함할 수 있습니다. 그 레이아웃을 무시하면 vfs_setxattr()에 넘겨지는 값에 잘못된 바이트가 복사될 수 있습니다. 전체 xdr_buf 레이아웃을 관찰하는 read_bytes_from_xdr_buf()를 사용합니다.
CVE-2026-99369
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Destroy a recalled delegation the client does not hold A client that answers CB_RECALL with NFS4ERR_BADHANDLE or NFS4ERR_BAD_STATEID has no record of the delegation, so the FREE_STATEID that clears it from cl_revoked never arrives. Every later SEQUENCE reply carries SEQ4_STATUS_RECALLABLE_STATE_REVOKED, and the client loops issuing TEST_STATEID. Destroy such a delegation when it is reaped rather than revoking it onto cl_revoked. RFC 8881 Section 20.2.4 completes the recall at the reply when its status is neither NFS4_OK nor NFS4ERR_DELAY, so a rejected recall leaves nothing to revoke. An administrative revoke keeps that path, since NFS4ERR_ADMIN_REVOKED reports it. A destroyed stateid returns NFS4ERR_BAD_STATEID instead of NFS4ERR_DELEG_REVOKED. A client that rejects the recall but still holds the delegation gets no notice that its state was revoked. CB_RECALL can outrun the reply that granted the delegation, so honor a rejection only once the client has seen that grant. Per RFC 8881 Section 2.10.6.3, retirement of the slot that carried the grant is that proof; retry until then, and revoke when the retries lapse.
CVE-2026-99368
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Do not send CB_RECALL_ANY to NFSv4.0 clients deleg_reaper() sends CB_RECALL_ANY to every ACTIVE client holding delegations, but CB_RECALL_ANY is an NFSv4.1 operation. An NFSv4.0 client's callback service accepts only CB_GETATTR and CB_RECALL, so it replies OP_ILLEGAL. The decoder maps the unexpected opnum to -EIO, and nfsd4_cb_done() marks the client's callback channel down. Nothing brings the channel back. nfsd4_run_cb_work() sets NFSD4_CB_UP only for a minor version above zero, and the only nfsd4_probe_callback() call site an NFSv4.0 client reaches is nfsd4_setclientid_confirm(). One visit from the reaper therefore leaves the channel marked down until the client re-establishes its clientid. RENEW then returns NFS4ERR_CB_PATH_DOWN for as long as the client holds delegations. nfsd4_cb_channel_good() stops returning true, so the client is granted no further delegations. Skip clients at minor version zero.
CVE-2026-99367
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Don't complete a cld upcall the daemon has not read cld_pipe_downcall() matches a reply to its upcall on the xid alone. A write that arrives before the daemon has read that upcall completes __cld_pipe_upcall() while its struct rpc_pipe_msg is still queued on the pipe. The waiter returns, its stack frame goes away, and the pipe keeps a list_head that points into it. The next rpc_queue_upcall() walks that pointer: BUG: KASAN: vmalloc-out-of-bounds in __list_add_valid_or_report Read of size 8 at addr ffffc90007027950 by task syz.0.96/13066 __list_add_valid_or_report+0x6a/0x130 rpc_queue_upcall cld_pipe_upcall nfsd4_cld_grace_start nfsd4_cld_tracking_init The pipe is mode 0600 in rpc_pipefs, so the trigger is a broken or hostile nfsdcld rather than an unprivileged task. Record whether the daemon has consumed the whole message and complete only when it has. cld_pipe_destroy_msg() runs on every path by which the pipe releases a message, so it can maintain that flag under cn_lock. nfsdcld sends its -EINPROGRESS downcalls only after reading the upcall, so the new check does not break the GraceStart record stream.
CVE-2026-99366
번역 확인 필요2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었다: nfsd: 캐시된 응답을 재생할 때 세션 슬롯을 수정하지 않음 nfsd4_sequence()는 nn->client_lock 하에서 NFSD4_SLOT_INUSE를 설정해 세션 슬롯을 점유 claimed한다. 슬롯의 응답 캐시에서 제공된 응답은 이를 주장하지 않으며, 그 구분은 cstate->status에만 있었고 nfserr_replay_cache로 nfsd4_sequence()가 설정했다. 커밋 cc028a10a48c("NFSD: XDR 인코더 함수에 상태 코드 인코딩를 올려라")은 nfsd4_proc_compound()의 cstate->status 할당을 out: 라벨 아래로 옮겼고, 재생 경로의 goto out가 이를 건너뛰는 경로에 의존하던 유일한 경로였다. 따라서 nfsd4_sequence_done()의 테스트는 더 이상 재생을 식별하지 못하고, 이제 모든 재생은 응답을 저장하고 NFSD4_SLOT_INUSE를 해제하며 슬롯을 소유한 것처럼 동작한다. NFSD4_SLOT_INUSE은 상호 배타적 락: check_slot_seqid()는 재생이 cache와 일치하기 전에 이미 사용 중인 슬롯의 시퀀스 ID를 거부한다. 재생은 이를 설정하지 않으므로 같은 슬롯에서 두 개의 재생이 동시에 진행될 수 있다. 한 재생이 슬롯의 cr_uid, cr_gid 및 cr_flavor를 nn->client_lock 아래에서 읽을 수 있고 다른 재생의 완료가 잠긴 상태에서 XDR 인코더에서 이를 재구성해도 잠금이 없다. 두 완료가 충돌해 같은 group_info를 두 번 해제할 수도 있다. free_svc_cred()는 cr_uid, cr_gid 및 cr_flavor를 그대로 두므로 same_creds()의 이른 테스트를 통과하고 NULL cr_group_info를 역참조한다. 6.12.91 생산 서버에서: 버그: 커널 NULL 포인터 역참조, 주소: 0000000000000004 CPU: 63 UID: 0 PID: 39015 Comm: nfsd RIP: 0010:same_creds+0x38/0xa0 [nfsd] RDX: 0000000000000000 Call Trace: nfsd4_sequence+0x6a8/0x910 [nfsd] nfsd4_proc_compound+0x345/0x670 [nfsd] nfsd_dispatch+0x100/0x220 [nfsd] svc_process_common+0x311/0x700 [sunrpc] svc_process+0x131/0x1c0 [sunrpc] svc_recv+0x7ef/0x9c0 [sunrpc] nfsd+0xa3/0x100 [nfsd] 커널 패닉 - 동기화 중단: Fatal exception 버전 6.14부터 라이브 세션의 슬롯 표가 축소될 수 있으며 소유하지 않은 저장소는 use-after-free 쓰기가 된다. nfsd4_sequence()는 슬롯이 사용 중일 때 축소를 지연시키지만, NFSD4_SLOT_INUSE를 검사하는데 재생은 이를 설정하지 않으므로 free_session_slots()가 재생이 여전히 보유하고 있는 슬롯을 kfree()할 수 있다. nfsd4_sequence()가 요청을 수락할 때 cstate->slot_owned를 기록하고 nfsd4_sequence_done()에서 이를 확인하도록 하여 슬롯을 주장한 요청만이 캐시된 응답을 업데이트하고 NFSD4_SLOT_INUSE를 지운다. svc_generic_init_request()는 각 요청 전에 응답을 0으로 초기화하므로 플래그는 항상 초기화된 상태에서 시작한다.
CVE-2026-99365
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix id-to-name cache entry leak in idtoname_parse() idtoname_lookup() returns the id-to-name cache entry with a new reference. The name is parsed between the lookup and the update call, and when the parsed name is malformed (negative length or longer than IDMAP_NAMESZ), idtoname_parse() jumps to the error label without dropping the reference returned by idtoname_lookup(), leaking the cache entry. Release the reference with cache_put() before taking the error exit.
CVE-2026-99364
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix out-of-bounds read in the rpc_status dump nfsd_nl_rpc_status_get_dumpit() loads args->opcnt and args->ops separately, then walks ops[] before rechecking rq_status_counter. A COMPOUND that completes between the two loads runs nfsd4_release_compoundargs(), which zeroes opcnt and points ops back at the eight-entry inline array. A dump that already sampled an opcnt of 200 clamps it to the sixteen slots in rq_opnum, then indexes iops[0..15]. iops is the last member of struct nfsd4_compoundargs and rq_argp is allocated at exactly that size, so the walk runs off the end of the allocation. The trailing recheck discards the sampled data, but the read has already happened. NFSD_CMD_RPC_STATUS_GET carries no GENL_ADMIN_PERM, so an unprivileged local user can repeat the dump against a busy server until it lands in the window. Sample opcnt and ops into locals, then finish the counter recheck before dereferencing ops. An unchanged counter means both came from the same COMPOUND, where opcnt cannot exceed what ops holds.
CVE-2026-99363
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Map flex file layout IDs through the request's user namespace nfsd4_ff_proc_layoutget() and nfsd4_ff_encode_layoutget() translate the file's owner and group with init_user_ns, but every other identity nfsd places on the wire goes through nfsd_user_namespace(). When the transport carries a credential from a non-initial user namespace, the flex file layout reports host-global IDs. The client copies those IDs into the AUTH_SYS credential it presents to the data server, and svcauth_unix_accept() resolves that credential in the transport's namespace, so data server I/O runs under an identity unrelated to the file's owner. Switching to the request's namespace introduces a second hazard. from_kuid() returns (uid_t)-1 when the target namespace has no mapping for the owner, and the IOMODE_READ arm adds one to that result to derive an identity for which the data server denies writes. The addition would wrap to zero, handing the client uid 0 instead of an identity distinct from the owner. Translate both IDs in nfsd4_ff_proc_layoutget(), which has the svc_rqst, and carry the wire values in struct pnfs_ff_layout. from_kuid_munged() substitutes overflowuid for an unmapped owner and thus never returns (uid_t)-1, so the increment cannot wrap to zero.
CVE-2026-99362
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: nfsd: 슬롯을 받아들이기 전에 SEQUENCE 응답을 사전 검사 nfsd4_sequence()는 슬롯 seqid를 받아들이기 전에 세션의 캐시된 응답 한도까지 응답 버퍼를 축소합니다. 클라이언트가 ca_maxresponsesize_cached를 NFSD_MIN_HDR_SEQ_SZ까지 교섭하면, nfsd4_alloc_slot()은 각 슬롯에 대해 길이가 0인 sl_data[]를 부여합니다. COMPOUND 태그가 축소된 버퍼를 SEQUENCE 연산자까지 채우지만 그 뒤에 오는 상태 워드는 채우지 못합니다. nfsd4_encode_operation()은 nfsd4_encode_sequence()를 실행하지 않고 돌아오므로 cstate.data_offset은 0으로 남아 있습니다. 또한 op->status를 nfs_ok로 남겨 COMPOUND를 성공한 것으로 처리합니다. nfsd4_store_cache_entry()는 오류를 반환한 단독 SEQUENCE를 캐시하려고 하지 않습니다. 그 테스트는 연산이 보고한 상태를 읽으므로 여기서는 통과합니다. 복사본은 오프셋 0에서 시작되어, 슬롯의 길이가 0인 sl_data[]에 RPC 및 COMPOUND 헤더를 포함한 전체 응답을 가져갑니다. COMPOUND 태그도 함께 복사되므로, 클라이언트는 슬롯의 끝을 넘겨 기록된 바이트 중 대부분을 선택합니다: 버그: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 80 바이트를 addr ffff888003a549cd에 쓴 작업 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 협상된 한도보다 작아진 버퍼를 축소하고 슬롯 seqid를 소비하기 전에 고정 크기 SEQUENCE 결과와 후속 작업의 오류 상태 여유가 맞는지 확인하십시오. 슬롯과 그 응답 캐시는 RFC 8881 섹션 2.10.6.1.2에 따라 변경되지 않은 채로 남아 있습니다( SEQUENCE에서 오류가 반환되는 경우 ).
CVE-2026-99361
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: nfsd: propagate SETXATTR value decode errors nfsd4_decode_setxattr() stores the status returned while assembling a non-empty attribute value, but then unconditionally returns nfs_ok. An allocation failure can therefore leave a NULL value buffer paired with a non-zero length and allow compound processing to continue. Return the decoder status so that the operation stops on the original error.
CVE-2026-99360
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: Set nn->cld_net before registering the cld pipe rpc_mkpipe_dentry() instantiates the pipe's dentry before it returns, so the cld pipe can be opened as soon as nfsd4_cld_register_net() has run. __nfsd4_init_cld_pipe() does not store the new cld_net in nn->cld_net until after that call. cld_pipe_downcall() reaches the cld_net only through that pointer and takes cn_lock without checking it, so a write() that lands in the window oopses. Store nn->cld_net once @cn is fully initialized and before the pipe is registered, and clear it again when registration fails.
CVE-2026-99359
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: NFSD: validate transport name in listener_set before serv creation nfsd_nl_listener_set_doit() holds nfsd_mutex for the whole listener teardown and rebuild. The code checks NFSD_A_SOCK_TRANSPORT_NAME for presence only, and not for content. An arbitrary name therefore reaches svc_xprt_create_from_sa(). There, a name that matches no registered class calls request_module("svc%s", name). That call is a TASK_KILLABLE usermode helper upcall, and it runs under nfsd_mutex. Check the name against the classes that NFSD can create: tcp, udp and rdma. The check goes in nfsd_nl_validate_listeners(), which runs before the code takes nfsd_mutex. The rejection names the offending attribute through extack, since -EPROTONOSUPPORT on its own does not say which entry carried the bad name. This narrows the upcall. It does not remove it. NFSD accepts "rdma" without a condition, so on a kernel that does not build svcrdma the name still reaches request_module("svcrdma") under nfsd_mutex. That is necessary for the modular case, where the autoload is legitimate.
CVE-2026-99358
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: nfsd: zero NFSv4 COMPOUND tag padding nfs4svc_encode_compoundres() copies the tag bytes into reserved XDR space and skips directly to the aligned end of the field. xdr_reserve_space() rounds the reservation up but does not initialize the padding bytes. A remote client can choose a tag length that is not a multiple of four, causing one to three stale bytes from the response page to be returned in the COMPOUND reply. Use xdr_encode_opaque_fixed() to copy the tag and clear its XDR padding.
CVE-2026-99357
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Copy the deferred RPC Call from the head buffer svc_defer() snapshots the RPC Call for replay once a pending cache upcall resolves. It copies the Call starting (rq_arg.len - head[0].iov_len) bytes before head[0].iov_base, a back-up that once covered a transport header. No transport has had one since commit 983084b2672c ("SUNRPC: Remove svc_rqst::rq_xprt_hlen"), so the two lengths are meant to be equal. An RPCSEC_GSS Call breaks that assumption. Unwrapping the integrity service truncates rq_arg.len by the length of the trailing checksum, and unwrapping the privacy service leaves rq_arg.len short by an amount the client sets with trailing bytes after the wrap token. Neither adjusts head[0].iov_len. Both lengths are size_t, so the subtraction underflows and the copy starts past head[0].iov_base. Every deferred integrity Call replays a shifted snapshot. A deferred replay skips GSS verification, so a shifted snapshot runs as an authenticated Call. With the privacy service the offset is client-chosen. A forged Call placed in that window, naming another user's GSS context handle, runs under that identity. Copy the Call from head[0].iov_base. Refuse to defer a Call whose length runs past the head buffer, so the copy cannot read out of bounds.
CVE-2026-99356
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: SUNRPC: RPC 스트림에 제어 레코드 옥텟을 신용하지 않음 svc_tcp_sock_recv_cmsg()는 로컬 버퍼에 최대 두 개의 옥텟을 수신하고, TLS_RECORD_TYPE_ALERT가 아닌 모든 레코드 타입에 대해 그 개수를 반환합니다. 호출자의 버퍼에 아무 것도 도달하지 않았지만, svc_tcp_read_marker()가 그 개수를 sk_tcplen에 추가하고, svc_tcp_read_msg()의 호출자는 이를 sk_datalen에 더합니다. RPC 스트림은 실제로 받지 못한 옥텟들 위로 진행됩니다. 조각 마커는 구식 sk_marker 옥텟들로 조립됩니다. 메시지 본문은 아무 것도 쓰이지 않은 페이지에서 옵니다. 적합한 클라이언트는 이를 얻습니다. RFC 8446 섹션 4.6.3은 이미 Finished를 보낸 쪽이 KeyUpdate를 보낼 수 있도록 하고, svcsock에는 재키 경로가 없습니다. kTLS는 부분적으로 소비된 레코드를 ctx->rx_list에 남겨 두므로, 본문은 svc_tcp_recvfrom() 호출당 두 옥텟을 배출합니다. 각 쌍은 같은 방식으로 신용됩니다. 알림이 아닌 레코드에 대해 -EAGAIN을 반환합니다. 이는 receive가 로컬 버퍼로 이동하기 전에 svc_tcp_sock_process_cmsg()의 기본 분기가 반환한 것입니다.
CVE-2026-99355
2026년 11월 20일Linux 커널에서 다음 취약점이 해결되었다: SUNRPC: 과대 토큰 복사 수정 gss_read_proxy_verf()는 토큰 청크마다 한 페이지를 할당하지만, RPC 요청의 전체 선형 헤드를 in_token->pages[0]에 복사한다. UDP 데이터그램은 선형 헤드에 PAGE_SIZE 바이트 이상을 남길 수 있어, 큰 RPCSEC_GSS INIT 토큰이 뒤따르는 페이지를 덮어쓸 수 있다. 요청 페이지 배열로 전환하기 전에 선형 헤드를 페이지 크기 조각으로 복사한다. 선형 헤드 자체는 여러 페이지에 걸릴 수 있다.
CVE-2026-99354
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: sunrpc: pin gss module across auth_domain RCU free A gss auth_domain stores a raw pointer to svcauthops_gss in dom->flavour, and its release queues svcauth_gss_domain_release_rcu() via call_rcu(). Both live in auth_rpcgss.ko text, and nothing pins the module while a domain referencing it is reachable. rmmod auth_rpcgss can therefore unmap that text while an NFSD export still holds a reference to the domain. The export cache is one such holder. When the export is finally released, the domain reference drops from module text: svc_export_put() auth_domain_put(exp->ex_client) auth_domain_release() dom->flavour->domain_release(dom) /* into module text */ svcauth_gss_domain_release() call_rcu(&dom->rcu_head, svcauth_gss_domain_release_rcu) Once auth_rpcgss is unloaded, the domain_release call lands in unmapped memory. The rcu_barrier() in exit_rpcsec_gss() does not help: it waits only for callbacks already queued, and this one is not queued until the export goes away. NFSD's NFSv4 objects import symbols from auth_rpcgss.ko, so only a server built without CONFIG_NFSD_V4 can unload auth_rpcgss while exports still name a gss domain. Take a module reference in svcauth_gss_register_pseudoflavor() before publishing the domain and drop it at the end of svcauth_gss_domain_release_rcu(). The rcu_barrier() then holds the module image until this callback has returned. [ cel: rewrote description ]
CVE-2026-99353
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Reject a socket that already has an svc_sock attached Writing the same socket descriptor to /proc/fs/nfsd/portlist twice attaches a second svc_sock to one socket. svc_setup_socket() saves the socket's callbacks before installing its own, so the second attach records svc_write_space() as the old write_space callback. svc_udp_init() invokes that callback by way of svc_sock_setbufsize(), and svc_write_space() then calls itself until the kernel stack is exhausted: BUG: TASK stack guard page was hit at ffffc900037d7ff8 svc_write_space+0x90/0x2b0 net/sunrpc/svcsock.c:429 svc_write_space+0xe6/0x2b0 net/sunrpc/svcsock.c:430 ... 700 more ... svc_sock_setbufsize+0x18d/0x220 net/sunrpc/svcsock.c:386 svc_udp_init net/sunrpc/svcsock.c:854 [inline] svc_setup_socket+0xb2f/0x1090 net/sunrpc/svcsock.c:1498 svc_addsock+0x2fd/0x760 net/sunrpc/svcsock.c:1547 __write_ports_addfd fs/nfsd/nfsctl.c:742 [inline] write_ports+0xa5b/0xcc0 fs/nfsd/nfsctl.c:861 nfsctl_transaction_write+0x106/0x1a0 fs/nfsd/nfsctl.c:112 svc_data_ready() and svc_tcp_state_change() chain through their saved callbacks the same way, so a TCP descriptor added twice recurses on the next incoming segment instead. Reaching any of this takes a writer on portlist, and the nfsd filesystem sets no FS_USERNS_MOUNT, so the reproducer needs CAP_SYS_ADMIN in the initial user namespace. Reject a socket that already carries sk_user_data. svc_setup_socket() overwrites that field unconditionally, so a socket some other consumer has claimed is one NFSD would corrupt whether or not the callbacks recurse.
CVE-2026-99352
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: SUNRPC: trace an accepted transport before publishing it svc_handle_xprt() publishes a newly accepted transport before tracing it. svc_add_new_temp_xprt() places the transport on sv_tempsocks and clears XPT_BUSY, so another nfsd thread can dequeue it at once. If the peer has already closed the connection, that thread runs svc_delete_xprt(), which drops the list reference, the only reference the new transport holds. trace_svc_xprt_accept() then reads the transport's addresses and network namespace from freed memory. Before publication the accepting thread owns the transport exclusively: XPT_BUSY is still set from svc_xprt_init() and the transport is on no list. Emit the tracepoint there. [ cel: trace before publication instead of taking an extra reference ]