CVE-2026-68457

ksmbd: use opener credentials for FSCTL mutations

State
Published
Severity
9.1 Critical
Published
Aug 15, 2026
Updated
Aug 18, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: use opener credentials for FSCTL mutations

SET_SPARSE, SET_ZERO_DATA and SET_COMPRESSION operate on an open SMB handle but call VFS xattr, fallocate or fileattr helpers with the current ksmbd worker credentials. Those helpers can revalidate inode permissions, ownership and LSM policy independently of the SMB handle access mask.

Run each operation with the credentials captured in the target file when the handle was opened. Keep credential handling local to these single-file FSCTLs rather than applying session credentials to the complete IOCTL handler, which also contains handle-less and multi-handle operations.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before a8c18434e1f0d9f7989170bdb0490c0160baf065Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 1e112c47ec5dd1942e2d4ca6e8e9b712238e20c2Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before fb1cae6302d58414ddf029e3f642711bd30243f7Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before e205f3e7e8c31a47cd11efb6cf663a527177e432Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before cfb2c6f71d61ed807c9d7a7af331d406f1f31877Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before c6394bcaf254c5baf9aff43376020be5db6d3316Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.