{"id":"CVE-2026-46112","aliases":["CVE-2026-46112"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hns: Fix unlocked call to hns_roce_qp_remove()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix unlocked call to hns_roce_qp_remove()\n\nSashiko points out that hns_roce_qp_remove() requires the caller to hold\nlocks.  The error flow in hns_roce_create_qp_common() doesn't hold those\nlocks for the error unwind so it risks corrupting memory.\n\nGrab the same locks the other two callers use.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix unlocked call to hns_roce_qp_remove()\n\nSashiko points out that hns_roce_qp_remove() requires the caller to hold\nlocks.  The error flow in hns_roce_create_qp_common() doesn't hold those\nlocks for the error unwind so it risks corrupting memory.\n\nGrab the same locks the other two callers use.","source":"cvelist"}],"published":"2026-05-28T09:35:20.879Z","modified":"2026-08-05T12:29:44.058Z","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"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"1f0a3aa8b569d010316b427238222c5d899f9618","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"b6296ff2475fc95ee6ea1b528c4b385302808186","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"fb4ae739811d467409bd07d0e36cfd4140f3d26a","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"1912f78798505dc9c637081bbddfbf1c22494c49","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"615d9d260c32bb678504ca96f29ae46f9d745155","status":"affected"},{"type":"git","introduced":"e088a685eae94a0607b8f7b99949a0e14d748813","fixed":"0c99acbc8b6c6dd526ae475a48ee1897b61072fb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","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":"4.17","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.88"},{"status":"affected","introduced":"6.13","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.7"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1f0a3aa8b569d010316b427238222c5d899f9618","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6296ff2475fc95ee6ea1b528c4b385302808186","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46112","url":"https://www.cve.org/CVERecord?id=CVE-2026-46112","licence":"CVE Terms of Use","modified":"2026-08-05T12:29:44.058Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46112","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46112","licence":"Public domain","modified":"2026-06-24T18:25:40.057Z"}],"updatedAt":"2026-11-25T22:59:22.776Z","epss":{"score":0.001,"percentile":0.00883,"date":"2026-12-01T12:00:22.000Z"}}