CVE-2022-49286 Details
Description
In the Linux kernel, the following vulnerability has been resolved: tpm: use try_get_ops() in tpm-space.c As part of the series conversion to remove nested TPM operations: https://lore.kernel.org/all/[email protected]/ exposure of the chip->tpm_mutex was removed from much of the upper level code. In this conversion, tpm2_del_space() was missed. This didn't matter much because it's usually called closely after a converted operation, so there's only a very tiny race window where the chip can be removed before the space flushing is done which causes a NULL deref on the mutex. However, there are reports of this window being hit in practice, so fix this by converting tpm2_del_space() to use tpm_try_get_ops(), which performs all the teardown checks before acquring the mutex.
A vulnerability in the Linux kernel's TPM (Trusted Platform Module) handling has been identified, specifically within the TPM 2.0 operations. The issue arises from a race condition related to the management of TPM spaces, which can lead to a null pointer dereference. This vulnerability was introduced during a series of changes aimed at removing nested TPM operations, where the proper synchronization was overlooked in certain functions. Although the flaw is typically brief and occurs only under specific circumstances, there have been reports of it being exploited in practice.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/476ddd23f818fb94cf86fb5617f3bb9a7c92113d | kernel.org | Patch |
| https://git.kernel.org/stable/c/5b1d2561a03e534064b51c50c774657833d3d2cf | kernel.org | Patch |
| https://git.kernel.org/stable/c/95193d12f10a8a088843b25e0f5fe1d83ec6b079 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ba84f9a48366dcc3cdef978599433efe101dd5bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/eda1662cce964c8a65bb86321f8d9cfa6e9ceaab | kernel.org | Patch |
| https://git.kernel.org/stable/c/fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.12, < 5.4.188 >= 5.5, < 5.10.109 >= 5.11, < 5.15.32 >= 5.16, < 5.16.18 5.17 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 13, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Sep 22, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |