# CVE-2026-68457: ksmbd: use opener credentials for FSCTL mutations

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-08-15T05:51:18.233Z
- Modified: 2026-08-18T07:16:52.283Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a8c18434e1f0d9f7989170bdb0490c0160baf065; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 1e112c47ec5dd1942e2d4ca6e8e9b712238e20c2; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before fb1cae6302d58414ddf029e3f642711bd30243f7; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before e205f3e7e8c31a47cd11efb6cf663a527177e432; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before cfb2c6f71d61ed807c9d7a7af331d406f1f31877; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c6394bcaf254c5baf9aff43376020be5db6d3316; 5.15 (not affected: before 5.15; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/a8c18434e1f0d9f7989170bdb0490c0160baf065>
- <https://git.kernel.org/stable/c/1e112c47ec5dd1942e2d4ca6e8e9b712238e20c2>
- <https://git.kernel.org/stable/c/fb1cae6302d58414ddf029e3f642711bd30243f7>
- <https://git.kernel.org/stable/c/e205f3e7e8c31a47cd11efb6cf663a527177e432>
- <https://git.kernel.org/stable/c/cfb2c6f71d61ed807c9d7a7af331d406f1f31877>
- <https://git.kernel.org/stable/c/c6394bcaf254c5baf9aff43376020be5db6d3316>

## Sources

- CVE List: [CVE-2026-68457](https://www.cve.org/CVERecord?id=CVE-2026-68457), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-68457](https://nvd.nist.gov/vuln/detail/CVE-2026-68457), Public domain, modified 2026-08-18

---

Page: https://cve.day/CVE-2026-68457 · Whole record: https://cve.day/CVE-2026-68457.json · Rebuilt by cve.day 2026-11-25T22:59:32.962Z
