CVE-2022-49001
HighIn the Linux kernel, the following vulnerability has been resolved: riscv: fix race when vmap stack overflow Currently, when detecting vmap stack overflow, riscv firstly switches to the so called shadow stack, then use this shadow stack to call the get_overflow_stack() to get the overflow stack. However, there's a race here if two or more harts use the same shadow stack at the same time. To solve this race, we introduce spin_shadow_stack atomic var, which will be swap between its own address and 0 in atomic way, when the var is set, it means the shadow_stack is being used; when the var is cleared, it means the shadow_stack isn't being used. [Palmer: Add AQ to the swap, and also some comments.]
CVSS 3.1 score
7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-362CVE-2022-49001 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.14
and later are affected. Fixed in
5.15.82,
6.0.12,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-49001 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/7e1864332fbc1b993659eab7974da9fe8bf8c128
-
PatchKernel patch commithttps://git.kernel.org/stable/c/879fabc5a95401d9bce357e4b1d24ae4a360a81f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ac00301adb19df54f2eae1efc4bad7447c0156ce
Frequently asked questions
-
What is CVE-2022-49001?
CVE-2022-49001 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 5.14 onward and has been patched in 5.15.82, 6.0.12 and 6.1. CVE-2022-49001 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49001?
CVE-2022-49001 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-49001?
Yes — CVE-2022-49001 has been patched. Fixed versions include 5.15.82, 6.0.12 and 6.1. If you are running Linux kernel 5.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49001 actively exploited?
No — CVE-2022-49001 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →