# CVE-2026-64392: ksmbd: use opener credentials for delete-on-close

- 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.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:38.634Z
- Modified: 2026-10-30T13:19:36.017Z
- Assigned by: Linux

## Description

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

ksmbd: use opener credentials for delete-on-close

Delete-on-close can be completed by deferred or durable handle teardown,
where no request work is available. Both the base-file unlink and the ADS
xattr removal consequently run with the ksmbd worker credentials and can
bypass filesystem permission checks.

Run both operations with the credentials captured in struct file when the
handle was opened. This preserves the authenticated user's fsuid, fsgid,
supplementary groups and capability restrictions at final close.

(As written by CVE List.)

## Affected

- Linux Linux: from f44158485826c076335d6860d35872271a83791d before 3cb2e6e2a6798909507b9d695e4b80e685e72d26; from f44158485826c076335d6860d35872271a83791d before f08b3f451f12eee4abd8a5981803bc36db84458b; from f44158485826c076335d6860d35872271a83791d before 18c59109bb6fb816d5102171666f87cf1e29901d; from f44158485826c076335d6860d35872271a83791d before e72c15085b6d86f45d224d98aa75b5cace4aaab9; from f44158485826c076335d6860d35872271a83791d before 4b7059974549d278e30fe70e2a4e421f9839817d; from f44158485826c076335d6860d35872271a83791d before 52e2f21911158ec961cd5aae19c56460db382af0; 5.15 (not affected: before 5.15; from 6.1.191 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.15 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/3cb2e6e2a6798909507b9d695e4b80e685e72d26>
- <https://git.kernel.org/stable/c/f08b3f451f12eee4abd8a5981803bc36db84458b> (patch)
- <https://git.kernel.org/stable/c/18c59109bb6fb816d5102171666f87cf1e29901d> (patch)
- <https://git.kernel.org/stable/c/e72c15085b6d86f45d224d98aa75b5cace4aaab9> (patch)
- <https://git.kernel.org/stable/c/4b7059974549d278e30fe70e2a4e421f9839817d> (patch)
- <https://git.kernel.org/stable/c/52e2f21911158ec961cd5aae19c56460db382af0> (patch)

## Sources

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

---

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