CVE-2026-139571

RDMA/hfi1: shut down the trap timer before unregistering

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/hfi1: shut down the trap timer before unregistering

MAD processing arms a trap timer embedded in each hfi1_ibport. Device
unregistration does not stop the timer, so its callback can run after
the port and its containing hfi1_devdata have been released.

Shut down every port timer before unregistering the IB device. The
shutdown form also prevents a concurrent path from rearming the timer.

Analysis

AI-generated

Technical impact

In the Linux kernel’s RDMA/hfi1 driver, a trap timer is not disabled when a device is unregistered. The timer’s callback can then execute on memory that has already been freed for the port and its containing device data, resulting in a use‑after‑free condition that can corrupt kernel memory and potentially allow arbitrary code execution.

Affected Systems

The flaw resides in the RDMA/hfi1 driver code in the Linux kernel. Any system running a kernel build that includes this driver and has RDMA/hfi1 enabled is potentially vulnerable; no specific kernel version range is specified in the available data.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable; the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is local, requiring an attacker to control RDMA device configuration or obtain privileges sufficient to register and unregister RDMA devices. If the timer callback is triggered on freed objects, an attacker could corrupt kernel memory, possibly leading to privilege escalation to the kernel level. The exploitation would therefore require local access and privileged capabilities, but the absence of public exploitation data suggests a moderate to high risk given the severity of the memory corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that shuts down the trap timer before unregistering the IB device to eliminate the use‑after‑free risk.
  • If the patch is unavailable, unload or uninstall the RDMA/hfi1 driver on systems that do not require RDMA functionality.
  • Until the patch can be applied, restrict or block access to RDMA services so that only privileged users can interact with the RDMA interfaces.

Generated by OpenCVE AI on December 1, 2026 at 12:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: shut down the trap timer before unregistering MAD processing arms a trap timer embedded in each hfi1_ibport. Device unregistration does not stop the timer, so its callback can run after the port and its containing hfi1_devdata have been released. Shut down every port timer before unregistering the IB device. The shutdown form also prevents a concurrent path from rearming the timer.
Title RDMA/hfi1: shut down the trap timer before unregistering
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM