CVE-2026-99385
CriticalCVSS 9.8Exploitation Probability (EPSS)
Elevated risk60th percentile - higher than 60% of all known CVEs
Summary
In the Linux kernel SMB2 client, SMB2_tcon() allocates the unc_path buffer with a fixed size even though the UNC path length is user-controlled. After the length check on UNC mount options was removed, an oversized path causes cifs_strtoUTF16() to write past the end of the heap object, resulting in a slab-out-of-bounds write.
Risk Assessment
A local user can trigger kernel memory corruption by mounting an SMB share with an oversized UNC path, potentially causing a kernel panic or code execution. Additionally, tree names exceeding MAX_TREE_SIZE cause subsequent reconnects and failovers to fail.
Recommendation
Update the Linux kernel to a version containing the fix that validates the path length against MAX_TREE_SIZE and dynamically allocates the unc_path buffer. Until patched, restrict the ability of unprivileged users to mount SMB shares.
Other vulnerabilities in Linux kernel
See all- CVE-2026-3886High
A vulnerability in the virtio-gpu module of the Linux kernel involves an incorrect overflow check when allocating 2D images. This flaw can lead to a buffer overflow, potentially enabling privilege escalation or system crash.
- CVE-2026-143211Critical
In the Linux kernel ptp: kvm: x86 driver, kvm_arch_ptp_init() shares the clock_pair page with the host using set_memory_decrypted(), and kvm_arch_ptp_exit() makes it private again with set_memory_encrypted() before freeing. The untrusted host can make either call fail and leave the page shared, which is then freed, potentially allowing the host to access a page used by an unrelated user. The fix leaks the page in both cases.
- CVE-2026-143156Critical
In the Linux kernel, a race condition exists between frwr_unmap_sync() and rpcrdma_xprt_disconnect() in the xprtrdma module. frwr_unmap_sync() may post LOCAL_INV Work Requests after the QP has been drained, causing wait_for_completion() to block indefinitely waiting for a CQE that never arrives. This results in a hung task in the rpciod workqueue.
- CVE-2026-143152Critical
A vulnerability in the Linux kernel TCP stack was fixed where segments with the FIN flag could be incorrectly coalesced. When multiple FIN segments are merged into one skb, end_seq advances but only one FIN bit remains, leading to an inconsistent receive queue state. As a result, tcp_inq() may return a positive value even when the receive queue is empty, causing a use-after-free in kTLS receive path and a KASAN warning.
- CVE-2026-99895Critical
In the Linux kernel, decode_choose_arg() in libceph does not reject repeated bucket_index entries, allowing decoding into an already populated entry. This causes out-of-bounds reads (weight_set[-1]) during RBD placement, triggered by a malformed OSDMap from a monitor.
- CVE-2026-99894Critical
In the Linux kernel, the libceph CRUSH choose argument weight-set array is not initialized before decoding. The fix initializes this array so entries start in a defined state while the decoder fills them.
- CVE-2026-99891Critical
In the Linux kernel, ceph_mdsmap_decode() reads two remote u32 name lengths and advances the parser cursor without checking that either string remains in the message. On a 32-bit client, a sufficiently large length can wrap the cursor below end, leading to dereference of the wrapped address.
- CVE-2026-139768Critical
In the Linux kernel, dlm_search_rsb_tree() only checks len > DLM_RESNAME_MAXLEN, which does not catch negative values. A negative len passed to memcpy() is implicitly converted to a large size_t, causing a stack buffer overflow on the key[] array. The fix changes the len parameter type from int to unsigned int.
- CVE-2026-139281Critical
In the Linux kernel, the netfilter nf_conntrack module truncates the IPv6 nexthdr offset. find_prev_fhdr() returns the offset via an int pointer but stores it in a u8 local, so a long extension header chain can wrap the offset beyond byte 255. During reassembly the wrapped value overwrites another byte in the IPv6 header chain, potentially causing conntrack to parse a different transport tuple than the one used by local delivery.
- CVE-2026-139121Critical
In the Linux kernel blk-mq, blk_mq_exit_queue() exits a queue's hctxs without holding tag_list_lock, while a concurrent blk_mq_update_nr_hw_queues() also operates on those hctxs under the same lock. This causes double-exit of hctxs and creation of new ones that are never exited. The fix holds tag_list_lock for both steps.
Original NVD description (English source)
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix buffer overflow in SMB2_tcon() In SMB2_tcon(), unc_path is allocated with a fixed buffer size of MAX_SHARENAME_LENGTH * 2 bytes (672 bytes). However, the user-controlled UNC path (tree) length is passed to cifs_strtoUTF16(), which assumes the destination buffer is large enough and writes strlen(tree) + 1 UTF-16 code units. Commit 62a1a439e0fd ("cifs: clean up handling of unc= option") removed the length check on UNC mount options, allowing mount paths to exceed MAX_SHARENAME_LENGTH while retaining the fixed-size buffer allocation in SMB2_tcon(). Consequently, an oversized UNC string causes cifs_strtoUTF16() to write past the end of the heap object, resulting in a slab-out-of-bounds write. Furthermore, if a tree exceeds MAX_TREE_SIZE characters, strscpy() truncates it in cifs_tcon::tree_name, causing subsequent reconnects or failovers to fail. Fix this by first verifying that the length of tree does not exceed MAX_TREE_SIZE, returning -EINVAL if it does. Then, dynamically allocate unc_path based on the length of tree so that it safely accommodates all UTF-16 code units for paths within MAX_TREE_SIZE. [pc: remove unused MAX_SHARENAME_LENGTH]
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

