CVE-2026-72151
tpm: tpm2-sessions: wait for async KPP completion in tpm_buf_append_salt
Description
In the Linux kernel, the following vulnerability has been resolved: tpm: tpm2-sessions: wait for async KPP completion in tpm_buf_append_salt tpm_buf_append_salt() in drivers/char/tpm/tpm2-sessions.c calls crypto_kpp_generate_public_key() and crypto_kpp_compute_shared_secret() without installing a completion callback, discards both return values, and immediately frees the kpp_request via kpp_request_free(). When the resolved ecdh-nist-p256 KPP backend is asynchronous (atmel-ecc, HPRE, keembay-ocs), either operation returns -EINPROGRESS and the deferred completion worker dereferences the freed request. The path fires automatically from the hwrng_fillfn kernel thread via tpm_get_random -> tpm2_get_random -> tpm2_start_auth_session -> tpm_buf_append_salt on every entropy poll, without any userland action. Install crypto_req_done as the completion callback, wrap both KPP operations in crypto_wait_req(), and propagate errors to the caller. The wait is a no-op for synchronous backends.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Install crypto_req_done as the completion callback.
- Wrap KPP operations in crypto_wait_req().
- Propagate errors to the caller.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72151.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72151 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72151
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72151 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72151 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '111e520efbe82b324bc42b1999b723c0619eea6d', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '934d1cd40e2893bf7a041b54f6afd1c008d7a21c', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '493333f167926c7adab8e7563e21ad71d8af84fa', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '73851a7c43dfa52d2ed9415889b33daf85da0ed9', 'versionType': 'git'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '111e520efbe82b324bc42b1999b723c0619eea6d', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '934d1cd40e2893bf7a041b54f6afd1c008d7a21c', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '493333f167926c7adab8e7563e21ad71d8af84fa', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '73851a7c43dfa52d2ed9415889b33daf85da0ed9', 'versionType': 'git'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '111e520efbe82b324bc42b1999b723c0619eea6d', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '934d1cd40e2893bf7a041b54f6afd1c008d7a21c', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '493333f167926c7adab8e7563e21ad71d8af84fa', 'versionType': 'git'}, {'status': 'affected', 'version': '1085b8276bb4239daa7008f0dcd5c973e4bd690f', 'lessThan': '73851a7c43dfa52d2ed9415889b33daf85da0ed9', 'versionType': 'git'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/char/tpm/tpm2-sessions.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: tpm: tpm2-sessions: wait for async KPP completion in tpm_buf_append_salt tpm_buf_append_salt() in drivers/char/tpm/tpm2-sessions.c calls crypto_kpp_generate_public_key() and crypto_kpp_compute_shared_secret() without installing a completion callback, discards both return values, and immediately frees the kpp_request via kpp_request_free(). When the resolved ecdh-nist-p256 KPP backend is asynchronous (atmel-ecc, HPRE, keembay-ocs), either operation returns -EINPROGRESS and the deferred completion worker dereferences the freed request. The path fires automatically from the hwrng_fillfn kernel thread via tpm_get_random -> tpm2_get_random -> tpm2_start_auth_session -> tpm_buf_append_salt on every entropy poll, without any userland action. Install crypto_req_done as the completion callback, wrap both KPP operations in crypto_wait_req(), and propagate errors to the caller. The wait is a no-op for synchronous backends. Added Reference https://git.kernel.org/stable/c/111e520efbe82b324bc42b1999b723c0619eea6d Added Reference https://git.kernel.org/stable/c/493333f167926c7adab8e7563e21ad71d8af84fa Added Reference https://git.kernel.org/stable/c/73851a7c43dfa52d2ed9415889b33daf85da0ed9 Added Reference https://git.kernel.org/stable/c/934d1cd40e2893bf7a041b54f6afd1c008d7a21c