CVE Database›Document archive›CVE-2026-45891

CVE-2026-45891

kernel: net: hns3: fix double free issue for tx spare buffer

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 27, 2026

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's hns3 network driver. This double-free vulnerability occurs due to incorrect handling of the tx_spare buffer during ring parameter setup. If memory allocation fails in the error cleanup path, a stale pointer to backup memory is erroneously freed twice. This can be exploited by a local attacker, potentially leading to a system crash and a denial of service (DoS).

Statement

This vulnerability is rated as Moderate because exploitation requires local access, elevated privileges to configure network interface ring parameters via ethtool, and specific HiSilicon network hardware. The flaw is triggered only during an error recovery path following an allocation failure when altering transmit ring settings on systems utilizing the hns3 driver. Consequently, systems without this specialized network hardware or unprivileged local users cannot trigger the condition, limiting the overall impact to a localized denial of service.

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-825 · Expired Pointer Dereference