Vulnerability in Linux
CVE-2022-49089
In 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.
Vulnerability class: Race Condition
EPSS: 0.002 (6.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 5.0.4, 5.4.189, 5.17.3
- Linux Linux_kernel — versions 5.18
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-49089?
- CVE-2022-49089 is a high-severity vulnerability in Linux, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 7.8/10. Published 2025-02-26.
- How severe is CVE-2022-49089?
- High severity. CVSS v3 base score is 7.8 out of 10.