CVE Database›Document archive›CVE-2025-68790

CVE-2025-68790

kernel: net/mlx5: Fix double unregister of HCA_PORTS component

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · January 13, 2026

Updated · June 28, 2026

Description

A use-after-free vulnerability was found in the Mellanox mlx5 driver in the Linux kernel. The HCA_PORTS devcom component is not cleared from device private data after being unregistered during LAG teardown. When PCI error recovery triggers two passes through mlx5_unload_one(), the second pass attempts to unregister an already-freed component, causing a use-after-free and kernel panic.

Statement

This vulnerability primarily affects s390 systems with Mellanox network adapters where PCI error recovery events trigger multiple unload passes. The issue requires specific error recovery timing conditions to manifest. While the use-after-free causes a kernel panic, the attack surface is limited to systems experiencing PCI-level errors.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-364 · Signal Handler Race Condition