# CVE-2026-43377: ksmbd: Don't log keys in SMB3 signing and encryption key generation

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2026-05-08T14:21:26.618Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 4084ed720d7d5f4e975c9e4a6267a552dad3b24a; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before fec5c70b82af3f59f15bb984df94e5ad1fccfb1e; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 3fe2d9ec166b7df9a8df6c0fdcfc210572e27e3f; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 407cc37c21d51f9b9d4d20204b04890880cfa6ae; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c6b01b997a2094969e315f1ebfc1d64b8ae2163d; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 441336115df26b966575de56daf7107ed474faed; 5.15 (not affected: before 5.15; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/4084ed720d7d5f4e975c9e4a6267a552dad3b24a> (patch)
- <https://git.kernel.org/stable/c/fec5c70b82af3f59f15bb984df94e5ad1fccfb1e> (patch)
- <https://git.kernel.org/stable/c/3fe2d9ec166b7df9a8df6c0fdcfc210572e27e3f> (patch)
- <https://git.kernel.org/stable/c/407cc37c21d51f9b9d4d20204b04890880cfa6ae> (patch)
- <https://git.kernel.org/stable/c/c6b01b997a2094969e315f1ebfc1d64b8ae2163d> (patch)
- <https://git.kernel.org/stable/c/441336115df26b966575de56daf7107ed474faed> (patch)

## Sources

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

---

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