{"id":"CVE-2022-50662","aliases":["CVE-2022-50662"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hns: fix memory leak in hns_roce_alloc_mr()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: fix memory leak in hns_roce_alloc_mr()\n\nWhen hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not\nreleased. Compiled test only.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: fix memory leak in hns_roce_alloc_mr()\n\nWhen hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not\nreleased. Compiled test only.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nRDMA/hns: corrección de fuga de memoria en hns_roce_alloc_mr()\n\nCuando hns_roce_mr_enable() falló en hns_roce_alloc_mr(), mr_key no es liberado. Solo prueba compilada.","source":"nvd"}],"published":"2025-12-09T01:29:10.614Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87","fixed":"164fa80330a81db67c26d10d071083941d29a510","status":"affected"},{"type":"git","introduced":"9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87","fixed":"35f9cd060e68ff910e49bf37b1b0d336a311849a","status":"affected"},{"type":"git","introduced":"9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87","fixed":"fd32e378bc1dea0d48767adf2bbb478581bb0a95","status":"affected"},{"type":"git","introduced":"9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87","fixed":"fc2c43bf41c89e7451fe750025ae55eb2e2a741d","status":"affected"},{"type":"git","introduced":"9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87","fixed":"a115aa00b18f7b8982b8f458149632caf64a862a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/164fa80330a81db67c26d10d071083941d29a510","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35f9cd060e68ff910e49bf37b1b0d336a311849a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd32e378bc1dea0d48767adf2bbb478581bb0a95","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc2c43bf41c89e7451fe750025ae55eb2e2a741d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a115aa00b18f7b8982b8f458149632caf64a862a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50662","url":"https://www.cve.org/CVERecord?id=CVE-2022-50662","licence":"CVE Terms of Use","modified":"2026-05-11T19:23:12.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50662","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50662","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.311Z","epss":{"score":0.00255,"percentile":0.18206,"date":"2026-12-01T12:00:22.000Z"}}