CVE-2022-49089
MediumIn the Linux kernel, the following vulnerability has been resolved: IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition The documentation of the function rvt_error_qp says both r_lock and s_lock need to be held when calling that function. It also asserts using lockdep that both of those locks are held. However, the commit I referenced in Fixes accidentally makes the call to rvt_error_qp in rvt_ruc_loopback no longer covered by r_lock. This results in the lockdep assertion failing and also possibly in a race condition.
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-362CVE-2022-49089 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.0.4,
5.1
and later are affected. Fixed in
5.4.189,
5.10.111,
5.15.34,
5.16.20,
5.17.3,
5.18
and their respective stable series.
References
The following references provide additional information about CVE-2022-49089 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/43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4d809f69695d4e7d1378b3a072fa9aef23123018
-
PatchKernel patch commithttps://git.kernel.org/stable/c/57800cc36e55db0547461c49acf5cd84c0f502b0
Frequently asked questions
-
What is CVE-2022-49089?
CVE-2022-49089 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 5.0.4 onward and has been patched in 5.4.189, 5.10.111, 5.15.34 and others. CVE-2022-49089 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49089?
CVE-2022-49089 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-49089?
Yes — CVE-2022-49089 has been patched. Fixed versions include 5.4.189, 5.10.111, 5.15.34 and others. If you are running Linux kernel 5.0.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49089 actively exploited?
No — CVE-2022-49089 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 →