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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-64398— ksmbd: add a permission check for FSCTL_SET_ZERO_DATA

CVSS 8.1 · High EPSS 0.46% · P38

Affected Version Matrix 14

VendorProductVersion RangeStatus
LinuxLinuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< 25377f369688dd0bd814dc8965ed26d44238ecaaaffected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< 3072d82461f498c85daea8766e9d8bfbada31605affected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< ca53bb17f4e8232cfaece3953d3cef62c559b039affected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< 57f2042fd87d7ce8fc3ac8b6c176e554df68b1a7affected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< deffa929086d7902e30918adf3dd27ccfe9c08b1affected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9< 3320ba068198adc144c89d6661b805acce01735baffected
5.15affected
< 5.15unaffected
… +6 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-64398

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: add a permission check for FSCTL_SET_ZERO_DATA
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add a permission check for FSCTL_SET_ZERO_DATA FSCTL_SET_ZERO_DATA in smb2_ioctl() destroys file data via ksmbd_vfs_zero_data() -> vfs_fallocate(PUNCH_HOLE/ZERO_RANGE) after checking only the share-level KSMBD_TREE_CONN_FLAG_WRITABLE, with no per-handle access check. A handle opened with only FILE_WRITE_ATTRIBUTES still yields an FMODE_WRITE filp (FILE_WRITE_ATTRIBUTES is part of FILE_WRITE_DESIRE_ACCESS_LE, so smb2_create_open_flags() opens it O_WRONLY), so the vfs_fallocate FMODE_WRITE check does not stop it; only the missing fp->daccess gate would. Reproduced on mainline 7.1-rc7 with KASAN by an authenticated SMB client: a FILE_WRITE_ATTRIBUTES-only handle zeroed 4096 bytes of file data it had no FILE_WRITE_DATA right to (6/6; a FILE_READ_DATA-only handle was correctly denied). This is the unfixed sibling of commit cc57232cae23 ("ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE"). Because SET_ZERO_DATA writes data (not an attribute), require FILE_WRITE_DATA.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会开源的一款操作系统内核。 Linux kernel 5.15版本存在安全漏洞,该漏洞源于对FSCTL_SET_ZERO_DATA操作缺少权限检查,可能导致经过身份验证的SMB客户端破坏文件数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 ~ 25377f369688dd0bd814dc8965ed26d44238ecaa -
LinuxLinux 5.15 -

II. Public POCs for CVE-2026-64398

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64398

登录查看更多情报信息。

Patches & Fixes for CVE-2026-64398 (6)

Same Patch Batch · Linux · 2026-07-25 · 274 CVEs total

CVE-2026-643559.8 CRITICALbpf: Reject fragmented frames in devmap
CVE-2026-644109.8 CRITICALnetfilter: flowtable: IPIP tunnel hardware offload is not yet support
CVE-2026-643999.8 CRITICALksmbd: add permission checks for FSCTL_DUPLICATE_EXTENTS_TO_FILE
CVE-2026-643979.8 CRITICALksmbd: serialize QUERY_DIRECTORY requests per file
CVE-2026-643919.8 CRITICALksmbd: use opener credentials for ADS I/O
CVE-2026-643879.8 CRITICALsmb: client: fix query directory replay double-free
CVE-2026-643869.8 CRITICALsmb: client: fix query_info() replay double-free
CVE-2026-643859.8 CRITICALsmb: client: fix double-free in SMB2_ioctl() replay
CVE-2026-643839.8 CRITICALsmb: client: fix double-free in SMB2_flush() replay
CVE-2026-643849.8 CRITICALsmb: client: fix change notify replay double-free
CVE-2026-642689.8 CRITICALRDMA/siw: bound Read Response placement to the RREAD length
CVE-2026-644399.8 CRITICALcrypto: krb5 - filter out async aead implementations at alloc
CVE-2026-643039.8 CRITICALspi: fsl-lpspi: terminate the RX channel on TX prepare failure path
CVE-2026-645239.8 CRITICALnet/handshake: Take a long-lived file reference at submit
CVE-2026-644599.8 CRITICALtcp: restore RCU grace period in tcp_ao_destroy_sock
CVE-2026-643209.1 CRITICALnvmet: fix pre-auth out-of-bounds heap read in Discovery Get Log Page
CVE-2026-642699.1 CRITICALRDMA/rtrs-srv: Bound RDMA-Write length to chunk size in rdma_write_sg
CVE-2026-643939.1 CRITICALksmbd: run set info with opener credentials
CVE-2026-644509.1 CRITICALtipc: fix out-of-bounds read in broadcast Gap ACK blocks
CVE-2026-643199.1 CRITICALnvmet-auth: validate reply message payload bounds against transfer length

Showing top 20 of 274 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-64398

No comments yet


Leave a comment