CVE-2026-72151

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
17/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> tpm: tpm2-sessions: wait for async KPP completion in tpm_buf_append_salt<br /> <br /> tpm_buf_append_salt() in drivers/char/tpm/tpm2-sessions.c calls<br /> crypto_kpp_generate_public_key() and crypto_kpp_compute_shared_secret()<br /> without installing a completion callback, discards both return values,<br /> and immediately frees the kpp_request via kpp_request_free(). When the<br /> resolved ecdh-nist-p256 KPP backend is asynchronous (atmel-ecc, HPRE,<br /> keembay-ocs), either operation returns -EINPROGRESS and the deferred<br /> completion worker dereferences the freed request.<br /> <br /> The path fires automatically from the hwrng_fillfn kernel thread via<br /> tpm_get_random -&gt; tpm2_get_random -&gt; tpm2_start_auth_session -&gt;<br /> tpm_buf_append_salt on every entropy poll, without any userland action.<br /> <br /> Install crypto_req_done as the completion callback, wrap both KPP<br /> operations in crypto_wait_req(), and propagate errors to the caller.<br /> The wait is a no-op for synchronous backends.