CVE-2026-64393 PUBLISHED

ksmbd: run set info with opener credentials

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: run set info with opener credentials

SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials.

Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope.

Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 5cbabf3a71575cd31bc7785d92d4ab42338a654b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to b35afd5cf8fab236ef21117e42ee45691d4ffa7b (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 0ce682867fd506f61f40c76bde7e4205bde34e87 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 20ee516a62989a8d505ee432f9e59525ea23984e (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 8cc9ec711f5255167247a9ab6a7179b787426ed7 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to b383bcad3d2fe634b26efbce53e22bbb5753a520 (excl.)
  • affected from 0 to 6.1.178 (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.1.178 to 6.1.* (incl.)
  • 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