{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49089","id":"CVE-2022-49089","title":"IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition","description":"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","descriptionLong":"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.","published":"2025-02-26T01:54:45.743Z","updated":"2026-11-17T07:01:13.462570474Z","reserved":"2025-02-26T01:49:39.248Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"8a50937227c385a477177c9ffa122b4230e40666","status":"affected","versionType":"git"},{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0","status":"affected","versionType":"git"},{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"92f1947c0d26060e978b3a9f21f32ce7c8c9cca3","status":"affected","versionType":"git"},{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"77ffb2495a41098f9d6a14f8aefde3188da75944","status":"affected","versionType":"git"},{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"57800cc36e55db0547461c49acf5cd84c0f502b0","status":"affected","versionType":"git"},{"version":"d757c60eca9b22f4d108929a24401e0fdecda0b1","lessThan":"4d809f69695d4e7d1378b3a072fa9aef23123018","status":"affected","versionType":"git"},{"version":"25636de95557a95d54ac30be94af3748345a0a90","status":"affected","versionType":"git"},{"version":"5.0.4","lessThan":"5.1","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.4.189","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.111","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.34","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.20","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.3","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362","CWE-667"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8a50937227c385a477177c9ffa122b4230e40666","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/92f1947c0d26060e978b3a9f21f32ce7c8c9cca3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/77ffb2495a41098f9d6a14f8aefde3188da75944","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/57800cc36e55db0547461c49acf5cd84c0f502b0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4d809f69695d4e7d1378b3a072fa9aef23123018","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49089.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49089","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00194,"epssPercentile":0.09156,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49089","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49089","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49089","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49089","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}