{"id":"CVE-2022-50137","aliases":["CVE-2022-50137"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/irdma: Fix a window for use-after-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Fix a window for use-after-free\n\nDuring a destroy CQ an interrupt may cause processing of a CQE after CQ\nresources are freed by irdma_cq_free_rsrc(). Fix this by moving the call\nto irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is\ncalled under the cq_lock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Fix a window for use-after-free\n\nDuring a destroy CQ an interrupt may cause processing of a CQE after CQ\nresources are freed by irdma_cq_free_rsrc(). Fix this by moving the call\nto irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is\ncalled under the cq_lock.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/irdma: Se corrige una ventana para el Use-After-Free. Durante un CQ de destrucción, una interrupción puede provocar el procesamiento de un CQE después de que irdma_cq_free_rsrc() libere recursos CQ. Se soluciona este problema trasladando la llamada a irdma_cq_free_rsrc() después de irdma_sc_cleanup_ceqes(), que se ejecuta bajo cq_lock.","source":"nvd"}],"published":"2025-06-18T11:03:00.899Z","modified":"2026-08-05T08:57:31.640Z","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:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"92520864ef9f912f38b403d172a0ded020683d55","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"0abf2eef80295923b819ce89ff9edc1fe61be17c","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"350ac793a03c8a30a3f2b27fc282cd1c67070763","status":"affected"},{"type":"git","introduced":"b48c24c2d710cf34810c555dcef883a3d35a9c08","fixed":"8ecef7890b3aea78c8bbb501a4b5b8134367b821","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","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.14","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/92520864ef9f912f38b403d172a0ded020683d55","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0abf2eef80295923b819ce89ff9edc1fe61be17c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/350ac793a03c8a30a3f2b27fc282cd1c67070763","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ecef7890b3aea78c8bbb501a4b5b8134367b821","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50137","url":"https://www.cve.org/CVERecord?id=CVE-2022-50137","licence":"CVE Terms of Use","modified":"2026-08-05T08:57:31.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50137","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50137","licence":"Public domain","modified":"2026-08-04T10:18:05.900Z"}],"updatedAt":"2026-11-25T22:58:21.071Z","epss":{"score":0.0027,"percentile":0.20492,"date":"2026-12-01T12:00:22.000Z"}}