{"api_version":"1","generated_at":"2026-05-30T17:58:31+00:00","cve":"CVE-2026-46112","urls":{"html":"https://cve.report/CVE-2026-46112","api":"https://cve.report/api/cve/CVE-2026-46112.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46112","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46112"},"summary":{"title":"RDMA/hns: Fix unlocked call to hns_roce_qp_remove()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-28 10:16:26","updated_at":"2026-05-30 11:17:21"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155","name":"https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb","name":"https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a","name":"https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49","name":"https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb","name":"https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46112","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46112","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e088a685eae94a0607b8f7b99949a0e14d748813 fb4ae739811d467409bd07d0e36cfd4140f3d26a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e088a685eae94a0607b8f7b99949a0e14d748813 fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e088a685eae94a0607b8f7b99949a0e14d748813 1912f78798505dc9c637081bbddfbf1c22494c49 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e088a685eae94a0607b8f7b99949a0e14d748813 615d9d260c32bb678504ca96f29ae46f9d745155 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e088a685eae94a0607b8f7b99949a0e14d748813 0c99acbc8b6c6dd526ae475a48ee1897b61072fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.88 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.30 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.7 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46112","cve":"CVE-2026-46112","epss":"0.000180000","percentile":"0.051640000","score_date":"2026-05-29","updated_at":"2026-05-30 00:13:24"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/hw/hns/hns_roce_qp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"fb4ae739811d467409bd07d0e36cfd4140f3d26a","status":"affected","version":"e088a685eae94a0607b8f7b99949a0e14d748813","versionType":"git"},{"lessThan":"fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb","status":"affected","version":"e088a685eae94a0607b8f7b99949a0e14d748813","versionType":"git"},{"lessThan":"1912f78798505dc9c637081bbddfbf1c22494c49","status":"affected","version":"e088a685eae94a0607b8f7b99949a0e14d748813","versionType":"git"},{"lessThan":"615d9d260c32bb678504ca96f29ae46f9d745155","status":"affected","version":"e088a685eae94a0607b8f7b99949a0e14d748813","versionType":"git"},{"lessThan":"0c99acbc8b6c6dd526ae475a48ee1897b61072fb","status":"affected","version":"e088a685eae94a0607b8f7b99949a0e14d748813","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/hw/hns/hns_roce_qp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.17"},{"lessThan":"4.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.88","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.30","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.88","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.30","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.7","versionStartIncluding":"4.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc3","versionStartIncluding":"4.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-05-30T10:47:44.863Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a"},{"url":"https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb"},{"url":"https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49"},{"url":"https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155"},{"url":"https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb"}],"title":"RDMA/hns: Fix unlocked call to hns_roce_qp_remove()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46112","datePublished":"2026-05-28T09:35:20.879Z","dateReserved":"2026-05-13T15:03:33.098Z","dateUpdated":"2026-05-30T10:47:44.863Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-28 10:16:26","lastModifiedDate":"2026-05-30 11:17:21","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46112","Ordinal":"1","Title":"RDMA/hns: Fix unlocked call to hns_roce_qp_remove()","CVE":"CVE-2026-46112","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46112","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"RDMA/hns: Fix unlocked call to hns_roce_qp_remove()"}]}}}