CVE-2022-49286
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2022-49286 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.12
and later are affected. Fixed in
5.4.188,
5.10.109,
5.15.32,
5.16.18,
5.17.1,
5.18
and their respective stable series.
References
The following references provide additional information about CVE-2022-49286 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/476ddd23f818fb94cf86fb5617f3bb9a7c92113d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5b1d2561a03e534064b51c50c774657833d3d2cf
-
PatchKernel patch commithttps://git.kernel.org/stable/c/95193d12f10a8a088843b25e0f5fe1d83ec6b079
Frequently asked questions
-
What is CVE-2022-49286?
CVE-2022-49286 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 4.12 onward and has been patched in 5.4.188, 5.10.109, 5.15.32 and others. CVE-2022-49286 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49286?
CVE-2022-49286 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49286?
Yes — CVE-2022-49286 has been patched. Fixed versions include 5.4.188, 5.10.109, 5.15.32 and others. If you are running Linux kernel 4.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49286 actively exploited?
No — CVE-2022-49286 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →