KernelScan.io

HIGH Introduced in 6.15

krb5 DerivedKey Leak

CVE-2026-80924

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

KernelScan AI4.7MEDIUM

01

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.

02

Engine v0.6.0

Risk summary

The Kerberos crypto subsystem frees buffers containing freshly derived encryption and checksum keys without zeroing them, leaving sensitive key material in freed kernel slab objects. A local attacker who can reclaim that slab and read its contents could recover cryptographic keys used to protect NFS or AFS traffic. Products using Kerberos-authenticated network filesystems on systems with local untrusted code are most at risk.

Affectedcrypto/krb5/krb5_api.c (Kerberos crypto core)

Vulnerability analysis

When the kernel's Kerberos crypto core derives encryption and checksum keys, it stores them in a temporary buffer and then frees that buffer with a plain memory deallocator that does not zero the contents. This leaves the raw key material sitting in a freed slab object, where a local process that subsequently allocates the same slab could read it. The fix replaces the plain deallocator with one that zeroes the buffer before freeing it, ensuring no key material survives in freed memory. The vulnerable path is reached when the kernel sets up Kerberos authentication for network filesystems such as NFS or AFS, and exploitation requires local access to the system to reclaim and inspect the freed slab.

03

BranchIntroducedFixed inPatch commit
6.186.156.18.49731a5b6fb4c1
7.16.157.1.1391b96dc9cc25
7.26.157.2.3a1bf79365794
mainline6.157.3-rc1f7d53dd3f267