Improper access control in Linux kernel - CVE-2026-64398

 

Improper access control in Linux kernel - CVE-2026-64398

Published: July 27, 2026


Vulnerability identifier: #VU139568
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64398
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to modify file data without the required file write permission.

The vulnerability exists due to improper access control in smb2_ioctl() when processing FSCTL_SET_ZERO_DATA requests. A remote user can use a handle opened with only FILE_WRITE_ATTRIBUTES to zero file data and modify file contents without the required FILE_WRITE_DATA right.

The issue affects ksmbd, and the advisory states it was reproduced by an authenticated SMB client using a handle that was granted FILE_WRITE_ATTRIBUTES but not FILE_WRITE_DATA.


Affected software

Linux kernel

How to mitigate CVE-2026-64398

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins