ksmbd: Don't log keys in SMB3 signing and encryption key generation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · < 441336115df26b966575de56daf7107ed474faed| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: Don't log keys in SMB3 signing and encryption key generation
When KSMBD_DEBUG_AUTH logging is enabled, generate_smb3signingkey() and generate_smb3encryptionkey() log the session, signing, encryption, and decryption key bytes. Remove the logs to avoid exposing credentials.
From the CVE record · Linux
The Linux kernel's ksmbd logs SMB3 session, signing, encryption, and decryption key bytes during key generation when KSMBD_DEBUG_AUTH logging is enabled. Anyone able to read those logs could obtain the exposed keys; the input does not specify network access, authentication requirements, or user interaction.
Operators running Linux with ksmbd should check their systems; affected versions are not specified.