{"id":"CVE-2022-49089","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:\n\nIB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition\n\nThe documentation of the function rvt_error_qp says both r_lock and s_lock\nneed to be held when calling that function.  It also asserts using lockdep\nthat both of those locks are held.  However, the commit I referenced in\nFixes accidentally makes the call to rvt_error_qp in rvt_ruc_loopback no\nlonger covered by r_lock.  This results in the lockdep assertion failing\nand also possibly in a race condition.","modified":"2026-11-17T07:01:13.462570474Z","published":"2025-02-26T01:54:45.743Z","related":["SUSE-SU-2025:0834-1","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49089.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d809f69695d4e7d1378b3a072fa9aef23123018"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57800cc36e55db0547461c49acf5cd84c0f502b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77ffb2495a41098f9d6a14f8aefde3188da75944"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a50937227c385a477177c9ffa122b4230e40666"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92f1947c0d26060e978b3a9f21f32ce7c8c9cca3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49089.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49089"},{"type":"PACKAGE","url":"https://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":"25636de95557a95d54ac30be94af3748345a0a90"}]}],"versions":["v5.0.21","v5.0.20","v5.0.19","v5.0.18","v5.0.17","v5.0.16","v5.0.15","v5.0.14","v5.0.13","v5.0.12","v5.0.11","v5.0.10","v5.0.9","v5.0.8","v5.0.7","v5.0.6","v5.0.5","v5.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49089.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.4"},{"fixed":"5.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.4.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.20"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"5.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49089.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}