crypto: krb5 - use kfree_sensitive() for derived key buffers
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: krb5 - use kfree_sensitive() for derived key buffers
crypto_krb5_prepare_encryption() and crypto_krb5_prepare_checksum() free the buffer holding the freshly derived keys with plain kfree(), leaving the key material behind in the freed slab object.
From the CVE record · Linux
The Linux kernel's krb5 crypto code frees buffers holding freshly derived keys without clearing them, leaving key material in freed slab objects. The input does not establish how an attacker could access that material or specify network, authentication, or user-interaction conditions.
Engineers running Linux kernels with krb5 crypto should check their versions; affected versions are not specified.