CVE-2022-49089

Source
https://cve.org/CVERecord?id=CVE-2022-49089
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49089.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49089
Downstream
Related
Published
2025-02-26T01:54:45.743Z
Modified
2026-03-20T12:22:09.910590Z
Summary
IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
Details

In the Linux kernel, the following vulnerability has been resolved:

IB/rdmavt: add lock to call to rvterrorqp to prevent a race condition

The documentation of the function rvterrorqp says both rlock and slock 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 rvterrorqp in rvtrucloopback no longer covered by r_lock. This results in the lockdep assertion failing and also possibly in a race condition.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49089.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d757c60eca9b22f4d108929a24401e0fdecda0b1
Fixed
8a50937227c385a477177c9ffa122b4230e40666
Fixed
43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0
Fixed
92f1947c0d26060e978b3a9f21f32ce7c8c9cca3
Fixed
77ffb2495a41098f9d6a14f8aefde3188da75944
Fixed
57800cc36e55db0547461c49acf5cd84c0f502b0
Fixed
4d809f69695d4e7d1378b3a072fa9aef23123018
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
25636de95557a95d54ac30be94af3748345a0a90

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49089.json"