총 16,343건
CVE-2026-90157
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Reject negative optlen in cgroup getsockopt hook A cgroup getsockopt BPF program can shrink ctx->optlen after the kernel getsockopt handler has run. The kernel-buffer variant, used by TCP_ZEROCOPY_RECEIVE, only rejects values larger than the original length. If BPF writes a negative optlen, that value is accepted and propagated back to the TCP getsockopt code. It can then be passed to copy_to_sockptr() as a size_t and trigger the hardened usercopy bytes > INT_MAX warning. Reject negative ctx.optlen in __cgroup_bpf_run_filter_getsockopt_kern(), matching the lower-bound validation already present in the sockptr-based getsockopt hook.
CVE-2026-90156
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ksmbd: safely discard unregistered deferred locks When vfs_lock_file() defers a lock, smb2_lock() puts its ksmbd_lock on rollback_list before allocating and registering the asynchronous work. If either operation fails, rollback assumes that smb_lock->conn is initialized and dereferences NULL. The deferred file_lock also remains linked into the VFS blocked-lock state while it is freed. Keep the lock off rollback_list until async setup succeeds. On setup failures, explicitly unblock and wake the deferred lock before freeing it and its ksmbd wrapper.
CVE-2026-90155
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ksmbd: detach blocked lock requests before freeing A file_lock retained by ksmbd for byte-range lock bookkeeping can still be part of the VFS blocked-request graph. In particular, the VFS can chain a new waiter below an already blocked request through flc_blocked_requests. The ksmbd_file reference count does not cover that graph. Both __ksmbd_close_fd() and the cross-request unlock path free these retained file_lock objects directly. If a dependent waiter is still attached, locks_release_private() hits BUG_ON(!list_empty(&flc->flc_blocked_requests)). The same lifetime mismatch can leave a freed ksmbd_lock reachable through its request-local llist. Detach the file_lock from the blocked-request graph before freeing it in the close, cross-request unlock, and rollback paths. locks_delete_block() also wakes requests chained below the object. Remove llist when a completed lock is published so a globally visible ksmbd_lock no longer points into the submitting worker's stack.
CVE-2026-90154
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ksmbd: scope session state changes to bound connections ksmbd_all_conn_set_status() treats every connection whose transient binding flag is set as belonging to the target SessionId. A logoff or session replacement can consequently move an unrelated connection to NEED_RECONNECT or NEED_SETUP. Pass the target session itself and select connections using either the connection-local session xarray or the session's permanent channel list. Use the same association test while waiting for requests to drain. Serialize session-wide status changes under request_lock and do not overwrite EXITING or RELEASING. Protect the shutdown transition with the same lock so a concurrent session update cannot revive a closing connection.
CVE-2026-90153
2026년 9월 18일리눅스 커널에서 다음 취약점이 해결되었다: ksmbd: smb_check_perm_dacl() 함수의 ACE 순회가 DACL 크기로 제한되지 않음 smb_check_perm_dacl() 함수는 DACL이 NT 보안 디스크립터 내에 들어맞는지 검증하지만, 두 ACE 순회는 DACL이 선언한 크기(pdacl_size) 대신 남은 NTSD 길이(acl_size)로 제한한다. pdacl->size가 후행 NTSD 버퍼보다 작을 때, 선언된 DACL 경계 이후의 바이트가 저장된 보안 디스크립터 내에 남아 있어 접근 검사 중 ACE로 해석된다. 조작된 DACL은 pdacl->size를 넘어 접근 권한을 부여하는 ACE를 배치할 수 있으며, 현재 코드는 SMB2_CREATE 접근 검증 시 이를 허용하지만 parse_dacl()과 smb_inherit_dacl()은 pdacl_size에서 멈춘다. 서버 내 다른 부분에서 사용하는 DACL 경계 의미와 일치하도록 두 ACE 순회를 pdacl_size로 제한한다. 검증: - 의미론적 KUnit 하니스는 수정 전에는 경계 이후 ACE가 선택되고 수정 후에는 거부(EACCES)됨을 보여줌 - linux master (7.2-rc6), x86_64
CVE-2026-90152
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: smb/server: fix session leak in ksmbd_session_register() See the procedure below: smb2_sess_setup ksmbd_smb2_session_create __session_create atomic_set(&sess->refcnt, 2) hash_add(sessions_table, &sess->hlist, sess->id) ksmbd_session_register xa_store(&conn->sessions, sess->id, sess) // fail ksmbd_user_session_put atomic_dec(&sess->refcnt) // refcnt is 1, session is not freed Remove the session from sessions_table and drop its table reference if xa_store() fails.
CVE-2026-90151
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: NFSv4: 클라이언트 할당 실패 시 콜백 IDR 항목 제거 nfs4_alloc_client()는 클라이언트 설정을 완료하기 전에 NFSv4.0 콜백 식별자를 할당한다. 이후 초기화 단계 중 어느 하나라도 실패하면, 오류 경로는 nfs_free_client()를 사용하여 nfs_client를 직접 해제한다. 이는 정상 종료 시 콜백 IDR 항목이 제거되는 nfs_put_client()를 우회한다. 따라서 할당 실패는 cb_ident_idr이 해제된 nfs_client를 가리키게 할 수 있다. 이후 cb_ident에 의한 NFSv4.0 콜백 조회는 오래된 포인터를 찾아 참조를 취할 수 있다. 할당 실패 경로에서 콜백 IDR 제거 도우미 함수를 호출 가능하게 하여, 클라이언트를 해제하기 전에 콜백 식별자를 제거하도록 한다. 이 문제는 로컬 정적 분석 검사기가 publish-before-free 수명 주기 버그를 발견하고 수동 검사로 확인하였다.
CVE-2026-90150
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: pnfs/blocklayout: Fix device leaks on parse failure bl_parse_concat() and bl_parse_stripe() allocate a child device array and then parse each child in turn. If parsing a child fails, the failed child is not counted in nr_children and the parent may be left with a children array that bl_free_device() will not release when nr_children is zero. Release the failed child and the already parsed children before returning the error. Also make bl_free_device() release the child array whenever the children pointer is set, so that partially initialised concat or stripe devices are cleaned up correctly. bl_parse_scsi() can also fail after assigning d->bdev_file and dropping the file reference. Clear the pointer after fput() so that an outer cleanup path does not put it again.
CVE-2026-90149
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: NFSv4/flexfiles: NFSv4.0 데이터 서버에 대한 NULL 역참조 수정 flexfiles는 NFSv4.0 데이터 서버를 허용하지만, 두 개의 NFSv4 코드 경로는 데이터 서버 클라이언트가 세션을 가지고 있다고 가정한다. NFSv4.1 이상과 달리, NFSv4.0 클라이언트는 세션이 없으며(clp->cl_session은 NULL이고 clp->cl_slot_tbl을 사용함), 따라서 v4.0 flexfiles DS에 대한 I/O가 오류를 발생시킨다: - nfs4_init_ds_session()은 DS 임대(lease)를 초기화하는 동안 clp->cl_session->session_state를 역참조한다. 또한 NFS4_SESSION_INITING이 설정된 경우에만 cl_lease_time을 초기화하는데, 세션이 없으면 이 작업이 발생하지 않아 cl_lease_time이 0으로 유지되고 nfs4_renew_state()가 바쁘게 루프를 돌며 5초마다 재대기한다. 세션이 없을 때는 임대를 초기화하고 세션 상태를 건드리기 전에 반환한다. - ff_layout_async_handle_error_v4()는 모든 DS I/O 오류 시 clp->cl_session->fc_slot_table을 역참조한다. 세션이 없으면 v4.0 전송 슬롯 테이블(clp->cl_slot_tbl)로 대체한다.
CVE-2026-90148
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease() When nfs4_add_lease() races with a delegation return, it calls nfs4_delete_lease() to clean up. Previously, it passed priv, which can legitimately be NULL. Passing a NULL priv eventually leads to a NULL pointer dereference in generic_setlease().
CVE-2026-90147
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: clk: devres: fix cleanup in devm_clk_get_optional_enabled_with_rate() devm_clk_get_optional_enabled_with_rate() registers its cleanup action before setting the clock rate. If setting the rate fails, it attempts to disable and unprepare a clock that was never enabled. This issue was spotted while reviewing "rust: clk: add devres-managed clks" [1]. Register the cleanup action only after successfully preparing and enabling the clock. [1]: https://lore.kernel.org/rust-for-linux/[email protected]
CVE-2026-90146
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: bpf, xdp: 오프로딩(offload) 검사를 dev_xdp_install()로 이동 bpf_xdp_link_update()는 dev_xdp_install()을 직접 호출하고 dev_xdp_attach()를 건너뛰므로 dev_xdp_attach() 내의 검사가 실행되지 않는다. 사용자는 일반 프로그램으로 XDP 링크를 만든 후 BPF_LINK_UPDATE를 사용하여 오프로딩되거나 장치에 바인딩된 프로그램으로 교체할 수 있는데, 이 경우 소프트웨어 경로에 놓이게 된다. dev_xdp_install()은 세 경로 모두가 통과하는 유일한 지점이다: "ip link set xdp"와 BPF_LINK_CREATE는 dev_xdp_attach()를 통해 도달하며, BPF_LINK_UPDATE는 이를 직접 호출한다. 따라서 프로그램 검사(오프로딩, 다른 장치에 바인딩, 일반 모드에서 장치 바인딩, 네이티브 대 일반, DEVMAP 및 CPUMAP)를 dev_xdp_install()로 이동시키고, dev_xdp_attach()에는 netlink 플래그 검사(XDP_FLAGS_UPDATE_IF_NOEXIST)만 유지한다.
CVE-2026-90145
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: hinic3: skb 선형화 불일치 수정 및 skb_checksum_help() 실패 시 skb 삭제 이전에는 hinic3_send_one_skb()가 hinic3_tx_offload()를 호출하기 전에 skb 조각 수를 캐시했다. 만약 hinic3_tx_csum()이 지원되지 않는 터널 패킷에 대해 skb_checksum_help()로 대체 호출되면 skb가 선형화될 수 있다. 오래된 조각 수를 사용하여 TX 디스크립터를 계속 생성하면 디스크립터 불일치가 발생하여 범위 밖 DMA 읽기 또는 IOMMU 오류를 유발할 수 있다. 또한, 이전 코드는 skb_checksum_help()의 반환 값을 무시하여 실패 시 불완전한 체크섬을 가진 손상된 패킷을 전송했다. 다음과 같이 수정하였다: 1. SKB가 선형화된 경우 올바른 조각 수를 사용하도록 'num_sge' 계산 전에 hinic3_tx_offload() 호출을 이동. 2. skb_checksum_help() 오류를 전파하고 HINIC3_TX_OFFLOAD_INVALID를 반환하여 skb를 적절히 삭제.
CVE-2026-90144
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: dpll: fix NULL deref in dpll_device_ops() during teardown race When the last owner of a dpll device unregisters while a foreign driver still holds a pin on it via dpll_pin_on_pin_register(), the dpll object stays alive with an empty registration list. A pin notification queued before the unregister (e.g. ice reacting to zl3073x_i2c removal) then walks pin->dpll_refs into dpll_device_ops(), which trips the WARN_ON and dereferences the missing registration. dpll_lock cannot help because the notification work was queued before the unregistering driver took the lock. Treat the empty registration list as a legitimate transient state. Make dpll_priv() and dpll_device_ops() return NULL in that case and make every pin netlink path that resolves a device from a pin skip such dplls. dpll_cmd_pin_get_one() picks a ref with a live registration and returns -ENODEV when there is none, the pin dumpit skips such a pin instead of aborting the dump, dpll_msg_add_pin_dplls() and the frequency, esync, reference sync and phase adjust set paths skip dead refs, and dpll_pin_parent_device_set() validates the parent with dpll_device_get_by_id(). dpll_pin_register() is the last caller that dereferenced the device ops without a check, so move its frequency monitor validation under dpll_lock and tolerate a missing registration there as well. The empty registration list is equivalent to a cleared DPLL_REGISTERED mark, both transitions happen under dpll_lock in dpll_device_register() and dpll_device_unregister(). A pin notification for a pin whose dplls are all gone is now dropped with -ENODEV instead of crashing, all callers in the core ignore that return value. WARNING: drivers/dpll/dpll_core.c:1092 at dpll_device_ops+0x24/0x40, CPU#83: kworker/u576:3/23471 Modules linked in: ... ice ... zl3073x_i2c(-) ... zl3073x ... Workqueue: ice_dpll_wq ice_dpll_pin_notify_work [ice] RIP: 0010:dpll_device_ops+0x24/0x40 Call Trace: <TASK> dpll_cmd_pin_get_one+0x336/0x520 dpll_pin_event_send+0x82/0x140 dpll_pin_on_pin_unregister+0xbb/0x160 ice_dpll_pin_notify_work+0x1bc/0x1f0 [ice] process_one_work+0x19e/0x370 worker_thread+0x1a6/0x310 kthread+0xe4/0x120 ret_from_fork+0x1a1/0x270 ret_from_fork_asm+0x1a/0x30 </TASK> ---[ end trace 0000000000000000 ]--- BUG: kernel NULL pointer dereference, address: 0000000000000010 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page
CVE-2026-90143
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: net: kcm: BPF 파서를 실행하는 동안 RCU 읽기 락 유지 kcm_parse_func_strparser()는 CPU 마이그레이션을 방지하는 bpf_prog_run_pin_on_cpu()를 호출하지만 RCU 읽기 측면의 중요한 구간을 설정하지 않는다. 결과적으로, KCM strparser 프로그램에서 호출될 때 BPF 맵 작업이 WARN_ON_ONCE(!bpf_rcu_lock_held())를 유발할 수 있다. 프로그램을 실행하는 동안 RCU 읽기 락을 유지한다.
CVE-2026-90142
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: virtio_net: RX 링 크기 조정 수정 AF_XDP 소켓이 연결될 때, virtnet_rx_resize는 rq->xsk_buffs XSK 버퍼 배열의 크기를 조정해야 한다. 그렇지 않으면 크기가 커질 때 virtnet_rx_resume()이 배열 끝을 넘어 쓰기를 발생시킨다. 이는 다음 명령어로 쉽게 재현할 수 있다: ethtool -G ens3 rx 32 ./xdpsock -i eth0 -q 0 -r -z & ethtool -G eth0 rx 256
CVE-2026-90141
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: ipvs: ftp 헬퍼 포트/주소 파싱에서 정수 오버플로 수정 ip_vs_ftp_get_addrport() 함수는 오버플로를 검사하지 않고 10진수를 __u16(hport)과 unsigned char(p[])에 누적한다. 조작된 FTP PASV/EPSV 응답에서 너무 긴 포트 또는 주소 옥텟이 값이 래핑되어 헬퍼가 잘린 포트/주소로 데이터 연결을 구성한다. netfilter conntrack FTP 헬퍼도 동일한 결함이 있었으며, 2b413fc689ba 커밋("netfilter: nf_conntrack_ftp: avoid u16 overflows")에서 수정되었다. 여기에도 동등한 수정을 적용하였다: 포트 누적 변수를 u32로 확장하고 65535를 초과하는 값을 거부하며, 주소 옥텟이 255를 초과하는 것도 거부한다.
CVE-2026-90140
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: cuse: wait for pending RCU callbacks on module exit Since commit 053fc4f755ad ("fuse: fix UAF in rcu pathwalks"), fuse_conn_put() frees the fuse_conn through call_rcu() rather than synchronously. For cuse, fc->release is cuse_fc_release(), which lives in the cuse module. If the module is removed before the RCU grace period ends, the callback jumps into freed module memory: userspace / module unload | RCU softirq ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ close(/dev/cuse) | cuse_channel_release() | fuse_dev_release() | fuse_conn_put(fch->conn) | call_rcu(delayed_release) ------+---> callback queued | rmmod cuse | cuse_exit() | cuse_channel_destroy() | ... | return | | <module text freed> | | rcu_do_batch() | delayed_release() | fc->release() | -> cuse_fc_release() | ^^^ freed text! The freed module text is unmapped by vfree(), so the jump into the stale callback triggers a page-fault Oops. If the virtual address is subsequently reused, the callback could execute unrelated code (undefined behaviour). Fix this by calling rcu_barrier() in cuse_exit() so that any pending fuse_conn release callback completes before the module is removed.
CVE-2026-90139
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: fuse: check for NULL root inode in fuse_fill_super_submount fuse_iget() can return NULL when its inode allocation fails, but fuse_fill_super_submount() passed the result straight to get_fuse_inode() and decremented fi->nlookup without checking it: root = fuse_iget(sb, parent_fi->nodeid, ...); fi = get_fuse_inode(root); fi->nlookup--; Inside fuse_iget() the inode allocation can fail and return NULL. The submount root takes the iget5_locked() path, whose alloc_inode() can fail under memory pressure (the auto-submount branch can fail the same way in new_inode() or fuse_alloc_submount_lookup()): inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); if (!inode) return NULL; A NULL root makes get_fuse_inode() a container_of() on NULL and the nlookup decrement a write to a bogus address, oopsing the mount. With CONFIG_KASAN the following null pointer dereference is reported when the root inode allocation of an auto-submount fails (e.g. under memory pressure): ================================================================== BUG: KASAN: null-ptr-deref in fuse_get_tree_submount+0x656/0x8b0 Read of size 8 at addr 00000000000002b0 by task ls/942 CPU: 0 PID: 942 Comm: ls Tainted: G W 6.6 #15 Call Trace: <TASK> fuse_get_tree_submount+0x656/0x8b0 vfs_get_tree+0x48/0x140 fc_mount+0x13/0x50 fuse_dentry_automount+0x7a/0xb0 __traverse_mounts+0xca/0x330 step_into+0x339/0xac0 path_lookupat+0xc5/0x2f0 filename_lookup+0x163/0x2a0 vfs_statx+0xd5/0x200 do_statx+0x83/0xd0 __x64_sys_statx+0xa0/0xc0 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x78/0xe2 </TASK> ================================================================== Return -ENOMEM instead; the caller tears down the partially built superblock on error, matching the other error returns in this function.
CVE-2026-90138
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: vsock: don't check the listener's sk_err in vsock_accept() Syzbot reported an issue which can be reproduced with these steps: r0 = socket(AF_VSOCK, SOCK_STREAM, 0) bind(r0, {VMADDR_CID_ANY, PORT}) connect(r0, {VMADDR_CID_LOCAL, PORT}) -> -1, EPROTO (self-connect) listen(r0, backlog) -> 0 r1 = socket(AF_VSOCK, SOCK_STREAM, 0) connect(r1, {VMADDR_CID_LOCAL, PORT}) -> 0 accept(r0) -> -1, EPROTO (stale sk_err) Basically, it creates a socket (r0) and triggers a self-connect after binding it. This self-connect fails with EPROTO because it loops back to r0 while the socket is still in the TCP_SYN_SENT state, causing it to be incorrectly dispatched to the connecting-client path. The unexpected packet type encountered there sets sk_err to EPROTO. After that, it invokes a listen() call on the same socket. This listen() call succeeds because the kernel's listening path never inspects or clears sk_err. Then, a new socket (r1) is created as a normal client and connects to r0. However, vsock_accept() rejects this incoming connection because the listener's sk_err still holds the EPROTO error from the earlier failed self-connect. This rejection causes the child socket created for r1's connection to never be freed on virtio or hyperv transports; only the VMCI transport implements pending_work to revisit and clean up a rejected socket. For a non-blocking connect(), vsock_connect() may return -EINPROGRESS immediately, and vsock_connect_timeout() can later set sk->sk_err asynchronously. Since no vsock transport ever sets sk_err on a socket while it is in TCP_LISTEN state, checking it in vsock_accept() serves no purpose and only carries forward errors left behind by earlier, unrelated connection attempts on the same socket. Remove the checks so accept() no longer rejects valid incoming connections because of a stale error, which also avoids the resource leak described above.