CVE-2022-49089 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition

High 7.8 Published Updated

A race condition in the Linux kernel InfiniBand driver can cause lockdep assertion failures and potential system instability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49089?

CVE-2022-49089 is a high-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-667, CWE-362

Which versions are affected by CVE-2022-49089?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49089?

Apply the vendor's patch.

Is CVE-2022-49089 being exploited?

There is no known exploitation of CVE-2022-49089 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49089, GHSA-jr72-7h43-2283, UBUNTU-CVE-2022-49089.

Is CVE-2022-49089 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free