CVE-2026-46112

RDMA/hns: Fix unlocked call to hns_roce_qp_remove()

7.8 high EPSS 0.14%

Published 28 May 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-46112

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46112 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/hns: Fix unlocked call to hns_roce_qp_remove()

Sashiko points out that hns_roce_qp_remove() requires the caller to hold locks. The error flow in hns_roce_create_qp_common() doesn't hold those locks for the error unwind so it risks corrupting memory.

Grab the same locks the other two callers use.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.50% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before 1f0a3aa8b569d010316b427238222c5d899f9618
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before b6296ff2475fc95ee6ea1b528c4b385302808186
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before fb4ae739811d467409bd07d0e36cfd4140f3d26a
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before 1912f78798505dc9c637081bbddfbf1c22494c49
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before 615d9d260c32bb678504ca96f29ae46f9d745155
affected from e088a685eae94a0607b8f7b99949a0e14d748813, before 0c99acbc8b6c6dd526ae475a48ee1897b61072fb
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.140 up to and including 6.6.*
unaffected from 6.12.88 up to and including 6.12.*
unaffected from 6.18.30 up to and including 6.18.*
unaffected from 7.0.7 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46112 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46112

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46112
trivy image --scanners vuln IMAGE | grep CVE-2026-46112

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-46112 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.