Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-64578— ksmbd: validate compound request size before reading StructureSize2

AI Predicted 7.5 Difficulty: Moderate EPSS 0.16% · P5

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-64578

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ksmbd: validate compound request size before reading StructureSize2
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate compound request size before reading StructureSize2 When ksmbd validates a compound (chained) SMB2 request, ksmbd_smb2_check_message() reads pdu->StructureSize2 without first checking that the compound element is large enough to contain it. StructureSize2 is a 2-byte field at offset 64 (__SMB2_HEADER_STRUCTURE_SIZE) from the start of each element. The compound-walking logic only guarantees that a full 64-byte SMB2 header is present for the trailing element: when NextCommand is 0, len is reduced to the number of bytes remaining after next_smb2_rcv_hdr_off. A remote client can craft a compound request whose last element has exactly 64 bytes, so the 2-byte StructureSize2 read at offset 64 extends one byte past the receive buffer, producing a slab-out-of-bounds read. BUG: KASAN: slab-out-of-bounds in ksmbd_smb2_check_message (fs/smb/server/smb2misc.c:402) Read of size 2 at addr ffff888012ae31ac by task kworker/0:1/14 The buggy address is located 172 bytes inside of allocated 173-byte region Workqueue: ksmbd-io handle_ksmbd_work Call Trace: ... kasan_report (mm/kasan/report.c:595) ksmbd_smb2_check_message (fs/smb/server/smb2misc.c:402) handle_ksmbd_work (fs/smb/server/server.c:119) process_one_work (kernel/workqueue.c:3314) worker_thread (kernel/workqueue.c:3397) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Reject any compound element that is too small to hold StructureSize2 before dereferencing it.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 ~ 2c307126ed8e7adddab82b8e31d962d3a2156ab1 -
LinuxLinux 5.15 -

II. Public POCs for CVE-2026-64578

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64578

登录查看更多情报信息。

Patches & Fixes for CVE-2026-64578 (5)

Same Patch Batch · Linux · 2026-08-05 · 17 CVEs total

CVE-2026-64582RDMA/rxe: Fix a use-after-free problem in rxe_mmap
CVE-2026-64581xfrm: fix sk_dst_cache double-free in xfrm_user_policy()
CVE-2026-64580xfrm6: clear dst.dev on error to avoid double netdev_put in xfrm6_fill_dst()
CVE-2026-64579xfrm: policy: preallocate inexact bins before xfrm_hash_rebuild reinsert
CVE-2026-64576nexthop: initialize extack in nh_res_bucket_migrate()
CVE-2026-64577gtp: check skb_pull_data() return in gtp1u_send_echo_resp()
CVE-2026-64575bpf: tcp: fix double sock release on batch realloc
CVE-2026-64573Bluetooth: qca: fix NVM tag length underflow in TLV parser
CVE-2026-64574wifi: mac80211: tear down new links on vif update error path
CVE-2026-64572ipv4: fib: free fib_alias with kfree_rcu() on insert error path
CVE-2026-64571wifi: p54: validate RX frame length in p54_rx_eeprom_readback()
CVE-2026-64570wifi: mac80211: fix fils_discovery double free on alloc failure
CVE-2026-64569mpls: fix NULL deref in mpls_valid_fib_dump_req() on CONFIG_INET=n
CVE-2026-64568wifi: mac80211: fix unsol_bcast_probe_resp double free on alloc failure
CVE-2026-64567btrfs: reject free space cache with more entries than pages
CVE-2026-64566xfrm: iptfs: propagate SKBFL_SHARED_FRAG in iptfs_skb_add_frags()

IV. Related Vulnerabilities

V. Comments for CVE-2026-64578

No comments yet


Leave a comment