총 15,720건
CVE-2026-99551
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ocfs2: drain quorum work before removing the cluster The configured cluster must remain available until an in-flight quorum decision has finished using its fencing method. o2quo_make_decision() drops qs_lock before calling o2quo_fence_self(), which marks heartbeat regions for unclean stop and then reads o2nm_single_cluster->cl_fence_method. Cluster removal clears the singleton without waiting for this independent system-workqueue item. When a failed-quorum decision overlaps removal of the heartbeat regions, nodes and cluster through configfs, the worker can be preempted after marking the regions and resume after the singleton has been cleared: Quorum worker Configfs removal select fence; drop qs_lock o2hb_stop_all_regions() remove regions; join heartbeat threads remove nodes; stop o2net clear singleton; release cluster read cl_fence_method The resumed read dereferences NULL instead of applying the configured fencing method. The heartbeat thread's dependency protects the local node only until the thread exits, and draining o2net does not wait for qs_work. Add o2quo_flush_work() to drain pending or running quorum decisions before clearing the singleton in o2nm_cluster_group_drop_item(). By this point the heartbeat regions and nodes have been removed, so their work publishers are stopped. The worker can finish while the cluster and its configured fencing method remain available. It does not acquire the configfs mutex held by the removal path. Keep o2quo_exit() as the counterpart of o2quo_init() for module teardown and initialization failure, and have it call the same drain helper. Cluster removal uses only the explicitly named drain operation. KASAN report as below: Oops: general protection fault, probably for non-canonical address 0xdffffc000000011b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000008d8-0x00000000000008df] CPU: 0 UID: 0 PID: 72 Comm: kworker/0:2 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events o2quo_make_decision RIP: 0010:o2quo_fence_self+0x65/0x200 Register dump omitted. Call Trace: <TASK> o2quo_make_decision+0x345/0x3a0 ? __pfx_o2quo_make_decision+0x10/0x10 ? process_one_work+0x834/0x1b40 ? srso_alias_return_thunk+0x5/0xfbef5 ? lock_release+0xc8/0x290 ? srso_alias_return_thunk+0x5/0xfbef5 process_one_work+0x9a8/0x1b40 ? __pfx_process_one_work+0x10/0x10 ? lock_acquire+0x190/0x300 ? lock_is_held_type+0x8f/0x100 ? srso_alias_return_thunk+0x5/0xfbef5 worker_thread+0x65c/0xe40 ? srso_alias_return_thunk+0x5/0xfbef5 ? __kthread_parkme+0x177/0x220 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_worker_thread+0x10/0x10 kthread+0x351/0x460 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x659/0x940 ? __pfx_ret_from_fork+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? __switch_to+0x74f/0xf70 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK> Modules linked in: ---[ end trace 0000000000000000 ]---
CVE-2026-99550
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ocfs2: pin owning modules for open debugfs files The OCFS2 debugfs file operation tables do not set owner. The full debugfs proxy obtains real_fops with fops_get() at open and keeps it until final release. Without an owner, this does not acquire a reference to the module containing the table and its callbacks. Removing the debugfs entries does not drain retained open files. An open connected_nodes file can therefore outlive ocfs2_nodemanager and make full_proxy_release() read real_fops->release from freed module memory. Heming also reproduced the issue with fs_state and asked for the other OCFS2 debugfs operation tables to be checked. Set owner to THIS_MODULE in all eleven explicit debugfs operation tables: five in ocfs2_nodemanager, four in ocfs2_dlm, and two in ocfs2. The existing debugfs get/put pair then holds the appropriate module until final release. Leave the open, read and release callbacks unchanged. The blockcheck table already sets owner through DEFINE_DEBUGFS_ATTRIBUTE(), so it needs no change. The original controlled test used an unloadable OCFS2 module and case-local probe filters without changing the candidate open, unload or release logic. Closing a retained connected_nodes file after normal unload produced: BUG: unable to handle page fault for address: fffffbfff804cfef Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:full_proxy_release+0xbf/0x190 Call Trace: <TASK> __fput+0x39a/0xa60 fput_close_sync+0xff/0x200 __x64_sys_close+0x8c/0xf0 do_syscall_64+0x114/0x620 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Modules linked in: [last unloaded: ocfs2_nodemanager]
CVE-2026-99549
번역 확인 필요2026년 11월 20일리눅스 커널의 취약점이 해결되었습니다: smb: 클라이언트가 is_oplock_break()에 NULL buf를 전달하지 않도록 함 receive_encrypted_read()는 *num_mids를 1로 설정하고 caller의 bufs[]를 절대 쓰지 않습니다. Offload는 *num_mids = 0으로 -1을 반환하므로 디멀티플렉스 스레드가 프레임을 건너뜁니다. 인라인 복호화 경로는 smb2_find_mid() 실패 시에도 0을 반환합니다. cifs_demultiplex_thread()는 mids[i] == NULL을 oplock 해제로 간주하고 buf들[i]를 아직 NULL인 상태에서 서버와 함께 is_oplock_break(bufs[i], server)를 호출합니다. smb2_is_valid_oplock_break()는 offset 12의 hdr.Command를 읽고 예외를 발생시킵니다. 메시지 ID가 일치하지 않는 큰 암호화 READ는 cifsd를 패닉에 빠뜨리기에 충분합니다. Oops: 일반 보호 실패, 비정상 주소일 가능성 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: 널 포인터 역참조 범위 [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 100 Comm: cifsd RIP: smb2_is_valid_oplock_break+0xc8/0x2270 [cifs] cifs_demultiplex_thread 커널 패닉 - 동기화하지 않음: 치명적 예외 inline decrypt에서 mid를 찾지 못하면 -1을 반환하고, is_oplock_break()를 건너뛰며 bufs[i]가 NULL일 때의 알려진 프레임 덤프를 수행합니다. receive_encrypted_standard()는 이미 bufs[*num_mids]를 할당합니다.
CVE-2026-99548
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: smb: client: fix early procfs exposure race Currently, init_cifs() calls cifs_proc_init() near the beginning of the function, before INIT_LIST_HEAD, leading to a momentarily uninitialized, but exposed, procfs. If a userspace process reads this empty procfs, iterating over a zeroed list_head leads to a NULL pointer dereference and a kernel oops/panic. For example, if a delay is added between cifs_proc_init() and INIT_LIST_HEAD, and a userspace process is polling /proc/fs/cifs/DebugData, the following oops occurs: BUG: kernel NULL pointer dereference, address: 0000000000000608 Oops: Oops: 0000 [#1] SMP PTI CPU: 0 UID: 0 PID: 3477 Comm: cat Not tainted 7.3.0-02212-g4df4d2a577db-dirty #6 PREEMPT(lazy) RIP: 0010:cifs_debug_data_proc_show+0x103/0xd80 [cifs] Call Trace: <TASK> ? seq_read_iter+0x86/0x400 ? seq_read_iter+0x86/0x400 seq_read_iter+0x183/0x400 proc_reg_read_iter+0x62/0x90 copy_splice_read+0x215/0x310 splice_file_to_pipe+0xec/0x1c0 do_splice+0x4b8/0x780 __se_sys_splice+0x18f/0x250 do_syscall_64+0x109/0x330 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Fix this by moving cifs_proc_init() down in init_cifs(), ensuring it runs only after all internal lists, locks, counters, and workqueues are fully ready, but before registering the filesystem. Update the error cleanup ladder and exit_cifs() to maintain proper LIFO order.
CVE-2026-99547
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Do not RPM complete unrelated subtrees on unplug When a Thunderbolt device is unplugged, that switch and every switch subsequent to it on the bus device list is `complete()`d, not just its child devices. In the case of multiple domains, it may cause, eg, an attempt to `complete()` the uninitialized domain 1 root switch RPM completion on unplug of a switch from domain 0 (though ordering is not guaranteed numerically sorted). I initially noticed this issue on a Dell XPS9720 when the system would seem to sporadically not wake after unplugging a Thunderbolt dock. I tried multiple kernel versions including v7.2.7 and v7.3-rc4 to see if that resolved the issue, but the issue persisted. Eventually I found that I could consistently generate a kernel Oops reporting a page fault at 0xffff_ffff_ffff_fff8 on unplug from one side of the laptop and went bug hunting. I became suspicious of the `bus_for_each_dev()` walk that I ultimately ended up changing. To confirm this issue, I did an eBPF trace of `bus_for_each_dev()`, `complete_rpm()`, and `complete()` while unplugging in a variety of situations and found that an unplug from domain 0 tries to `complete_rpm()` domain 1's switch, whose RPM completion is not initialized and thus is holding a null wait-list pointer, triggering the page fault. Here are the key sections of that eBPF trace. Note that HEAD denotes the completion's own wait-list HEAD: ``` RESCAN_ENTER domain=0 COMPLETE rescan_domain=0 target=0-1 target_domain=0 route=0x1 parent=0-0 unplugged=1 COMPLETION done=0 head=HEAD next=HEAD prev=HEAD BUS_WALK domain=0 start=0-1 callback=complete_rpm CALLBACK_ENTER rescan_domain=0 dev=1-0 parent=domain1 is_switch=1 COMPLETE rescan_domain=0 target=1-0 target_domain=1 route=0x0 parent=domain1 unplugged=0 COMPLETION done=0 head=HEAD next=0 prev=0 complete+5 complete_rpm+43 bus_for_each_dev+133 icm_free_unplugged_children+250 icm_rescan_work+42 ``` This patch gates the `complete()` on an additional condition - that the Thunderbolt domain matches the domain of the device that was unplugged. I only have a single system with multiple Thunderbolt domains - the Dell XPS9720. I am consistently able to reproduce the Oops on that system. Since running with this patch, I have not seen the Oops reoccur. I have also tested it on a Thinkpad X1-Gen12, and that system boots and runs well with it, but it only has a single Thunderbolt domain, so it does not exercise the multi-domain failure case.
CVE-2026-99546
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었다: net/sched: cls_flower: 삭제 후 남은 마스크 참조를 피한다 Flower는 분류기에서 필터가 제거될 때 마스크 참조를 해제한다. 필터 객체는 dump, walk 또는 하드웨어 재오프로드 경로에서 참조를 보유하고 있는 동안 살아 있을 수 있다. 이러한 경로는 마스크가 이미 해제된 후에도 f->mask를 역참조할 수 있다. 필터 참조 수가 0이 될 때까지 마스크 참조를 유지한다. 호출자가 tcf_proto 참조를 여전히 보유한 상태에서 __fl_put()의 최종 시점에서 마스크를 동기적으로 해제하고, 기존의 RCU 작업은 마스크를 해제하도록 두라고 한다. 이를 통해 필터를 아직 참조하고 있는 모든 리더가 마스크를 사용할 수 있게 한다. 필터는 여전히 분류기 인덱스에서 즉시 제거된다. 따라서 삭제된 필터가 가끔 비어 있는 마스크를 일시적으로 보유할 수 있다; fl_delete()는 분류기가 비었는지 여부를 판단하기 위해 마스크 목록이 아니라 핸들 IDR을 사용한다. 실패한 마스크 할당은 fnew->mask를 소유 마스크 참조 없이 오류나 차용 포인터로 남길 수 있다. 공통 실패 경로 전에 이를 지우므로 최종적인 put이 소유하지 않은 참조를 해제하지 않도록 한다. 이 수정은 필드, 스냅샷 또는 필터별 메모리를 추가하지 않는다.
CVE-2026-99545
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: driver core: take parent lock on deferred probe USB interfaces should be probed with the parent USB device lock held, but this is not honoured when probe is deferred. Add a new bus_probe_device_deferred() helper to handle deferred probe where the parent device lock is not held.
CVE-2026-99544
2026년 11월 20일Linux 커널에서 다음 취약점이 해결되었다: 드라이버: hv: vmbus: 공유 링 버퍼 인덱스에 대한 경계 검사 CoCo VM에서 호스트는 신뢰할 수 없다. VMBus 링 버퍼 읽기/쓰기 인덱스가 공유 메모리에 존재하므로 게스트는 두 인덱스를 잠재적으로 악의적인 것으로 간주해야 한다. hv_ringbuffer_write()가 인덱스의 경계 검증 없이 링에 write_index 위치로 데이터를 복사하므로 호스트가 링 버퍼 시작 지점에서 최대 4 GiB까지 임의의 오프셋에 패킷 데이터를 게스트에 쓰도록 할 수 있다. read_index 역시 중요한데 두 인덱스에서 파생된 사용 가능한 공간이 복사되는 양의 유일한 경계이며, 범위를 벗어난 인덱스는 링보다 훨씬 크게 복사되게 만들 수 있다. 수정 사항은 사용 전에 두 인덱스를 검증하고 검증된 스냅샷을 재접근 대신 사용하도록 하는 것이다. 잘못된 인덱스에 대해서 hv_ringbuffer_write()는 로깅하고 -EIO를 반환한다. 패치에서 write_index를 한 번 더 재읽기하는 부분은 제어되지 않은 상태로 남아 있다: hv_get_ring_bufferindices()가 prev_indices 트레일러에 대해 다시 가져온다. 이 값은 호스트에 반환될 뿐이고 오프셋이나 길이로 인덱싱하는 데 사용되지 않는다. 이것은 보안 이슈가 아니므로 시퀀스의 후속 패치에서 다룬다. 바이트 가용성 산술을 인라인으로 구현하는 것은 프리리퀴짓 없이도 수정이 이루어지도록 하며, 추후 패치에서 헬퍼 함수로 리팩토링한다.
CVE-2026-99543
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: backlight: qcom-wled: Fix NULL pointer dereference in wled_remove() wled_probe() doesn't set the driver data for the platform device. As a result, platform_get_drvdata() in wled_remove() will return NULL, and the first dereference of it crashes on unbind. Set the platform device driver data in wled_probe().
CVE-2026-99542
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: deny access for an empty DACL instead of granting the request smb_check_perm_dacl() returns the access mask it computes to the SMB2 CREATE handler, which uses it as the granted access for the open. For a security descriptor whose DACL is present but contains no ACEs, the function is supposed to deny access: an empty (non-NULL) DACL grants no access to anyone except the object owner's implicit READ_CONTROL and WRITE_DAC (MS-DTYP 2.4.5). The empty-DACL branch only denies when both - the DACL has no trailing bytes (pdacl_size == sizeof(struct smb_acl)), and - the request contains bits beyond READ_CONTROL / WRITE_DAC. In every other case it takes the shared "goto err_out" with rc still 0, which returns success without modifying *pdaccess, so the caller grants the full requested access. Three problems follow: - The READ_CONTROL / WRITE_DAC carve-out models the owner's implicit rights, but the check runs before is_owner is computed, so those rights are handed to *every* caller, not just the owner. For READ_CONTROL the SMB2 CREATE path does not fall back to inode_permission(), so any user can read the security descriptor of an object whose empty DACL is meant to deny them. - A request of exactly READ_CONTROL and/or WRITE_DAC is granted to any caller. WRITE_DAC lets the handle rewrite the DACL. - A DACL that declares zero ACEs but carries trailing bytes (pdacl_size > sizeof(struct smb_acl)) skips the deny entirely and is granted whatever was requested. On shares where the NT ACL is the authoritative access control -- e.g. "force user" shares, where every client maps to one POSIX identity so POSIX cannot distinguish users -- this is an access-control bypass. Compute is_owner before the empty-DACL branch and deny access from an empty DACL unless the caller is the owner requesting no more than READ_CONTROL / WRITE_DAC.
CVE-2026-99541
2026년 11월 20일리눅스 커널에서 아래 취약점이 해결되었습니다: ksmbd: ksmbd_validate_name_reconnect()의 OOB 읽기 및 공유 간 혼동 수정 ksmbd_validate_name_reconnect()는 경로 길이가 share->path_sz + 1보다 긴지 확인하지 않은 채 ab_pathname[share->path_sz + 1]를 인덱싱합니다 (d_path()가 버퍼를 끝에서부터 채웁니다). 내구성 fp가 원래의 공유에 바인딩되지 않으므로 클라이언트가 짧은 경로 공유에서 파일을 보존하고 이를 긴 경로 공유에서 다시 연결할 수 있어 strcmp()가 PATH_MAX 버퍼를 초과 읽기를 하게 됩니다. 충분히 긴 공유 경로가 있으면 커널이 충돌하고 매핑된 페이지에서 인접된 힙에 대해 바이트 동등 비밀문을 제공합니다(재연결은 초과 문자열이 요청된 이름과 정확히 같을 때만 성공합니다). 내구성 fp가 공유 루트에 있을 때의 동일 공유 변형은 버퍼를 1바이트 초과 읽습니다(strlen(ab_pathname) == share->path_sz). 비교하기 전에 확인합니다: 경로가 share->path_sz보다 길고, 경로가 share->path로 시작하며, 다음 문자가 '/'여야 합니다. 공유 루트 자체는 빈 이름인 경우에만 허용됩니다.
CVE-2026-99540
2026년 11월 20일Linux 커널에서 다음 취약점이 해결되었습니다: ksmbd: 디렉토리 열거에서 상위 dentry 생명주기 수정 ksmbd_populate_dot_dotdot_entries()가 열려 있는 디렉토리의 상위 디렉토리의 포인터를 참조를 취하지 않은 채로 ksmbd_vfs_fill_dentry_attrs()에 전달합니다. 이 포인터는 디렉토리가 이 상위 디렉토리 아래에 있을 때만 유효합니다. 동시 이름 변경으로 디렉토리가 다른 위치로 이동하면 이전 상위 디렉토리가 마지막 참조를 잃고, 그 후 rmdir가 실행되어 음의 dentry가 되고 d_inode이 해제되며, RCU 여유 기간 이후에도 dentry 자체가 해제됩니다. 작업자는 여전히 원시 포인터를 보유하며 vfs_getattr() 및 vfs_getxattr()를 통해 d_inode을 역참조합니다. 인증되었거나 게스트인 원격 SMB 클라이언트가 디렉토리가 새 상위 디렉토리 아래로 이동되고 이전 상위 디렉토리가 삭제될 때 디렉토리를 나열하면 이를 트리거할 수 있습니다. 쓰기 접근 권한이 있는 클라이언트 자체에 의해, 또는 다른 동시 쓰기자에 의해 수행될 수 있으며, nullptr 역참조와 KASAN 빌드에서의 slab-use-after-free를 유발합니다. KASAN: 0x0000000000000000-0x0000000000000007 구간의 NULL 포인터 역참조 워크 큐: ksmbd-io handle_ksmbd_work RIP: 0010:xattr_permission+0x9d/0x160 호출 추적: vfs_getxattr+0x9c/0x1b0 ksmbd_vfs_getxattr+0x82/0x100 ksmbd_vfs_get_dos_attrib_xattr+0x7f/0x130 ksmbd_vfs_fill_dentry_attrs+0x435/0x650 ksmbd_populate_dot_dotdot_entries+0x25e/0x630 smb2_query_dir+0xcf9/0x1a20 handle_ksmbd_work+0x5f1/0x1c80 process_one_work+0x90b/0x19d0 dentry 참조 카운팅 API를 사용한 수정 방법: 상위를 dget_parent()로 취하고, "."에 대해 일치하는 dget()를 취한 다음 ksmbd_vfs_fill_dentry_attrs()가 반환되거나 패턴이 일치하지 않게 되면 dentry를 dput() 한다.
CVE-2026-99539
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session reference leak on compounded SESSION_SETUP A compound request can place SESSION_SETUP after another command. That earlier command leaves a reference to its session in work->sess. smb2_sess_setup() then overwrites work->sess with the session it looks up or creates, and the dispatcher later puts work->sess only once. The inherited reference is never dropped. That leaks the session, together with its setup connection and socket, and every repeat of the compound leaks another. unreferenced object (size 512): __kmalloc_cache_noprof+0x32c/0x3a0 ksmbd_smb2_session_create+0xf6/0x9c0 [ksmbd] smb2_sess_setup+0xda4/0x6280 [ksmbd] handle_ksmbd_work+0x88c/0x1cb0 [ksmbd] Save the inherited session on entry. After the request has been processed, release it once, but only when smb2_sess_setup() has replaced work->sess with its own session or cleared it. Do this after ksmbd_conn_unlock() so the put does not run under srv_mutex. An error path may instead leave the inherited session in work->sess. Keep it there, so the dispatcher still puts it and the error response is still signed or encrypted with it as before.
CVE-2026-99538
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: ignore network devices of other namespaces With no interface list configured, ksmbd binds every interface that comes up. ksmbd_netdev_event() does not look at the device's namespace, and create_socket() opens the listener in the namespace of the task raising NETDEV_UP. A container with its own address on a bridge brings up its interface and finds port 445 in its namespace already taken by ksmbd, so an SMB server running inside the container fails with "Address already in use". Interfaces are also matched by name only, so a container's eth0 going down would stop the listener on the host's eth0. Only handle netdev events for devices in init_net.
CVE-2026-99537
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: preserve unreadable named streams on open A write-only client can open an existing named stream with FILE_OPEN_IF without permission to read the underlying file. The case-insensitive lookup finds the xattr name, but querying its value length then fails with -EACCES. smb2_set_stream_name_xattr() treats every negative result as a missing stream and replaces the existing xattr with an empty value. A failed xattr list is not proof that the stream is absent either: for example, -ENOMEM can lead to the same empty replacement. Preserve listing errors and create a stream only for -ENOENT or -ENODATA. The latter can occur if the xattr is removed between listing its name and querying its value. Return other lookup errors without changing the stream. A write-only FILE_OPEN now reports access denied instead of name not found. FILE_OVERWRITE_IF and FILE_SUPERSEDE on an unreadable stream also fail instead of appearing to replace it. Stream writes and EOF changes already need to read the old value, so such handles cannot update the stream after opening either.
CVE-2026-99536
2026년 11월 20일리눅스 커널에서 다음 취약점이 해결되었습니다: ksmbd: 복합 요청에서 세션 바인딩을 방지 다중 채널 바인딩 실패는 작업 항목에 대상 세션을 유지시켜 오류 응답에 서명될 수 있게 합니다. 이후의 복합 명령은 이전 명령에서 남아 있던 트리 연결과 함께 해당 세션을 사용할 수 있습니다. 세션 설정 요청의 바인딩을 메시지 검증 중 독립 메시지로 제한하여 smb2_sess_setup()가 work->sess를 교체하기 전에 제한합니다. 다음 명령과 현재 요청 오프셋을 모두 확인하여 복합 바인딩의 첫 번째, 중간, 마지막 위치를 커버합니다. 기존 검증 오류 경로는 STATUS_INVALID_PARAMETER를 반환하고 남아 있는 명령의 처리를 중지합니다. 이는 의도적으로 복합 바인딩에 대한 지원을 제한합니다. 바인딩이 독립적이어야 한다는 프로토콜 요건은 아닙니다. 독립 바인딩과 비바인딩 복합은 세션, 트리 또는 응답 암호화 처리 방식을 변경하지 않고 기존 동작을 유지합니다."},
CVE-2026-99535
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent share root removal through empty paths A FileLinkInformation request can supply "/" as the new link name. smb2_get_name() strips the trailing slash and passes an empty string to ksmbd_vfs_kern_path_start_removing(). ksmbd_vfs_path_lookup() resolves an empty pathname as the configured share path, without LOOKUP_BENEATH. With ReplaceIfExists set, smb2_create_link() can therefore remove the share root from its parent before link creation fails. An authenticated client with a writable share and DELETE access to a file can trigger this if the share root is empty and the mapped user has write and search permission on its parent directory. Return -EINVAL for empty pathnames when for_remove is set, before resolving the share path or acquiring removal resources. Ordinary lookups continue to accept empty pathnames for opening the share root.
CVE-2026-99534
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent stale data from being written by SMB2 WRITE requests Initialize the compatibility byte in request buffers without zeroing the entire allocation. Keep the one-byte compatibility exception for SMB2 messages so valid zero-length WRITE requests remain compatible, and validate the data range in the WRITE handlers against the current compound request before accessing it. This prevents stale request-buffer data from being written to files or sent to IPC pipes.
CVE-2026-99533
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate AppInstanceId takeover target AppInstanceId lookup currently selects the first open with the matching identifier. CREATE for an unrelated share or path can therefore force-close another session's open before authorization of the new target. Matching only the base path also conflates alternate data streams with the unnamed stream. MS-SMB2 requires the old open to match the share and path, belong to a different ClientGuid, and be closed only when the requester has GENERIC_READ access. Search all opens with the ID and match share, resolved path, stream, and the current connection's client GUID. Retain a share configuration reference in ksmbd_file and reuse its name instead of allocating a name for every open. This keeps matching safe during tree connection teardown and preserves name-based matching across configuration updates. Refresh the share reference on durable reconnect and restore the old reference if reopening fails. Serialize connection and share comparisons with durable disconnect/reconnect, and recheck the target before closing it. Keep the original ClientGuid for durable replay and lease checks. Check AppInstanceVersion before querying access, even when GENERIC_READ is absent, and before disconnected delete-on-close cleanup. Rejected CREATE must leave other durable opens untouched. Calculate maximal access on the matched open's referenced path so a rename cannot substitute another file's authorization. Require read access with the effective VFS credentials as well as the NT DACL before takeover. Access denial only skips takeover and leaves CREATE to its normal access checks. Restore filesystem credentials before returning a takeover error. Handle takeover before checking FILE_CREATE collisions, and re-resolve the path after closing the old open. This lets delete-on-close remove the old file before a new one is created. Include SYNCHRONIZE in the baseline maximal-access mask so read-only files report GENERIC_READ correctly.
CVE-2026-99532
2026년 11월 20일In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate security descriptor offsets before pointer arithmetic parse_sec_desc() constructs SID and DACL pointers by adding untrusted 32-bit offsets to the security descriptor before checking their bounds. The existing checks reject offsets into the descriptor header, but do not reject offsets beyond the descriptor's length. On a 32-bit kernel, a large offset can wrap the pointer before the descriptor. The end-only checks in parse_sid() and parse_dacl() can then accept it, allowing an authenticated SMB2 SET_INFO request to access memory outside the security descriptor and fault the kernel. Check each nonzero offset against acl_len before constructing its pointer. Initialize the optional owner and group SID pointers to NULL so an omitted SID remains absent when parsing the DACL.