CVE-2022-49286
tpm: use try_get_ops() in tpm-space.c
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 5b1d2561a03e534064b51c50c774657833d3d2cf; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 95193d12f10a8a088843b25e0f5fe1d83ec6b079; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < eda1662cce964c8a65bb86321f8d9cfa6e9ceaab; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < ba84f9a48366dcc3cdef978599433efe101dd5bd; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9
- Anyone running Linux 4.12
Vulnerability facts
- Affected
- Linux >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 5b1d2561a03e534064b51c50c774657833d3d2cf; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 95193d12f10a8a088843b25e0f5fe1d83ec6b079; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < eda1662cce964c8a65bb86321f8d9cfa6e9ceaab; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < ba84f9a48366dcc3cdef978599433efe101dd5bd; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9; Linux 4.12
- Fixed in
- Linux 5b1d2561a03e534064b51c50c774657833d3d2cf, Linux 95193d12f10a8a088843b25e0f5fe1d83ec6b079, Linux 476ddd23f818fb94cf86fb5617f3bb9a7c92113d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-476
- Modified
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/20190205224723.19671-1-jarkko.sakkinen@linux.intel.com/ 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 5b1d2561a03e534064b51c50c774657833d3d2cf; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 95193d12f10a8a088843b25e0f5fe1d83ec6b079; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < eda1662cce964c8a65bb86321f8d9cfa6e9ceaab; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < ba84f9a48366dcc3cdef978599433efe101dd5bd; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9 | — | cvelist |
| Linux | 4.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49286. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49286.md Affected: Linux >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 5b1d2561a03e534064b51c50c774657833d3d2cf; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 95193d12f10a8a088843b25e0f5fe1d83ec6b079; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d; >= 4d57856a21ed2abe33412e0… Fixed in: Linux 5b1d2561a03e534064b51c50c774657833d3d2cf, Linux 95193d12f10a8a088843b25e0f5fe1d83ec6b079, Linux 476ddd23f818fb94cf86fb5617f3bb9a7c92113d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5b1d2561a03e534064b51c50c774657833d3d2cf
- https://git.kernel.org/stable/c/95193d12f10a8a088843b25e0f5fe1d83ec6b079
- https://git.kernel.org/stable/c/476ddd23f818fb94cf86fb5617f3bb9a7c92113d
- https://git.kernel.org/stable/c/eda1662cce964c8a65bb86321f8d9cfa6e9ceaab
- https://git.kernel.org/stable/c/ba84f9a48366dcc3cdef978599433efe101dd5bd
- https://git.kernel.org/stable/c/fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9
FAQ
Is CVE-2022-49286 being exploited?
There is no confirmed exploitation: CVE-2022-49286 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49286?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-49286?
Linux >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 5b1d2561a03e534064b51c50c774657833d3d2cf; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 95193d12f10a8a088843b25e0f5fe1d83ec6b079; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < 476ddd23f818fb94cf86fb5617f3bb9a7c92113d; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < eda1662cce964c8a65bb86321f8d9cfa6e9ceaab; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < ba84f9a48366dcc3cdef978599433efe101dd5bd; >= 4d57856a21ed2abe33412e0526cc84bdcf67ea08, < fb5abce6b2bb5cb3d628aaa63fa821da8c4600f9; Linux 4.12.
Is there a fix for CVE-2022-49286?
Yes. Fixed in Linux 5b1d2561a03e534064b51c50c774657833d3d2cf, Linux 95193d12f10a8a088843b25e0f5fe1d83ec6b079, Linux 476ddd23f818fb94cf86fb5617f3bb9a7c92113d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49286?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.