CVE-2026-64392 PUBLISHED

ksmbd: use opener credentials for delete-on-close

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to f08b3f451f12eee4abd8a5981803bc36db84458b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 18c59109bb6fb816d5102171666f87cf1e29901d (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to e72c15085b6d86f45d224d98aa75b5cace4aaab9 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 4b7059974549d278e30fe70e2a4e421f9839817d (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 52e2f21911158ec961cd5aae19c56460db382af0 (excl.)
  • affected from 0 to 6.6.145 (excl.)
  • affected from 0 to 6.12.96 (excl.)
  • affected from 0 to 6.18.39 (excl.)
  • affected from 0 to 7.1.4 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References