{"id":"CVE-2022-49089","aliases":["CVE-2022-49089"],"related":[],"kind":"vulnerability","state":"published","title":"IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: IB/rdmavt: agregar bloqueo a la llamada a rvt_error_qp para evitar una condición de ejecución La documentación de la función rvt_error_qp dice que tanto r_lock como s_lock deben mantenerse al llamar a esa función. También afirma usando lockdep que ambos bloqueos se mantienen. Sin embargo, el commit a la que hice referencia en Correcciones hace que la llamada a rvt_error_qp en rvt_ruc_loopback ya no esté cubierta por r_lock. Esto da como resultado que la afirmación de lockdep falle y también posiblemente en una condición de ejecución.","source":"nvd"}],"published":"2025-02-26T01:54:45.743Z","modified":"2026-10-15T22:17:22.763Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362","CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"8a50937227c385a477177c9ffa122b4230e40666","status":"affected"},{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0","status":"affected"},{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"92f1947c0d26060e978b3a9f21f32ce7c8c9cca3","status":"affected"},{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"77ffb2495a41098f9d6a14f8aefde3188da75944","status":"affected"},{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"57800cc36e55db0547461c49acf5cd84c0f502b0","status":"affected"},{"type":"git","introduced":"d757c60eca9b22f4d108929a24401e0fdecda0b1","fixed":"4d809f69695d4e7d1378b3a072fa9aef23123018","status":"affected"},{"type":"git","version":"25636de95557a95d54ac30be94af3748345a0a90","status":"affected"},{"type":"semver","introduced":"5.0.4","fixed":"5.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.4.189","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.111","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.34","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.20","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.3","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0.4","fixed":"5.4.189"},{"status":"affected","introduced":"5.5","fixed":"5.10.111"},{"status":"affected","introduced":"5.11","fixed":"5.15.34"},{"status":"affected","introduced":"5.16","fixed":"5.16.20"},{"status":"affected","introduced":"5.17","fixed":"5.17.3"},{"status":"affected","version":"5.18"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8a50937227c385a477177c9ffa122b4230e40666","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43c2d7890ecabe527448a6c391fb2d9a5e6bbfe0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92f1947c0d26060e978b3a9f21f32ce7c8c9cca3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77ffb2495a41098f9d6a14f8aefde3188da75944","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57800cc36e55db0547461c49acf5cd84c0f502b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d809f69695d4e7d1378b3a072fa9aef23123018","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:12:54.975Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49089","url":"https://www.cve.org/CVERecord?id=CVE-2022-49089","licence":"CVE Terms of Use","modified":"2026-10-15T21:21:06.530Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49089","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49089","licence":"Public domain","modified":"2026-10-15T22:17:22.763Z"}],"updatedAt":"2026-11-25T22:58:20.164Z","epss":{"score":0.00194,"percentile":0.09488,"date":"2026-12-01T12:00:22.000Z"}}