Skip to main content

Linux Kernel CVE-2026-45891

| EUVDEUVD-2026-32357 HIGH
Double Free (CWE-415)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-h6g2-742c-p38f
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local CAP_NET_ADMIN on hns3 host
  2. Delivery
    Induce kernel memory pressure
  3. Exploit
    Invoke ethtool set ringparam repeatedly
  4. Execution
    Trigger allocation failure in ring re-init
  5. Persist
    Double-free of stale tx_spare buffer
  6. Impact
    Corrupt slab / panic kernel (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires local access to a host running an affected Linux kernel WITH the HiSilicon hns3 driver active on a present NIC, plus the CAP_NET_ADMIN privilege needed to invoke the ethtool 'set ringparam' operation (hns3_set_ringparam) - this is the exact feature that must be reached. Critically, the bug only manifests when a memory allocation fails inside hns3_init_all_ring() during the ring re-setup, so the attacker must additionally induce allocation failure (e.g., memory exhaustion) to reach the faulty error/cleanup path. Limiting factors that reduce realistic risk: it is not remotely reachable (AV:L), it is not exploitable by fully unprivileged users (PR:L / CAP_NET_ADMIN), it is hardware-specific to HiSilicon/Kunpeng platforms with hns3 NICs, and the allocation-failure precondition cannot be triggered deterministically.

Impact

Signals are consistent and point to a low-to-moderate, locally-scoped risk rather than an urgent priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, base 7.8) confirms local access and some privilege are required and there is no network reachability; the C:H/I:H/A:H impacts reflect the theoretical worst case of kernel memory corruption from a double-free, but in practice the most realistic outcome is a kernel crash/DoS, with code execution being difficult and not demonstrated. EPSS is 0.02% (7th percentile), the CVE is NOT in CISA KEV, and no POC is referenced - so there is no evidence of exploitation. Two data conflicts should be flagged: (1) the input Tags label this 'Information Disclosure,' which does not match a double-free/memory-corruption root cause - the tag appears mislabeled; and (2) the published AC:L is arguably optimistic because triggering the bug depends on an allocation failure in the error path, a condition an attacker cannot reliably force without memory pressure. Net: patch in normal maintenance cycles; this is not a drop-everything issue, and it only matters on systems using HiSilicon hns3 NICs.

Exploit ScenarioDerived

A local user or container that has been granted CAP_NET_ADMIN on a host with a HiSilicon hns3 NIC repeatedly invokes 'ethtool -G <iface> tx/rx <size>' under deliberate memory pressure, aiming to make the ring re-allocation fail. When hns3_init_all_ring() hits an allocation failure, the error path double-frees the stale tx_spare buffer, corrupting kernel slab state and crashing the host (DoS), with a theoretical path to escalation via heap grooming. No public exploit is identified at time of analysis, and the dependence on an allocation failure makes reliable triggering difficult.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Local privilege-holder denial of service (and potential kernel memory corruption) in the Linux kernel's HiSilicon hns3 network driver allows a user with CAP_NET_ADMIN to trigger a double-free of the tx_spare backup buffer. The flaw lives in hns3_set_ringparam(), where a temporary ring copy is made for rollback but the original ring's tx_spare pointer is left dangling; if a subsequent allocation in hns3_init_all_ring() fails, the error path frees the stale pointer twice (CWE-415). EPSS is negligible (0.02%, 7th percentile) and there is no public exploit identified at time of analysis, but a vendor-released patch is available across multiple stable trees.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.1.165, 5.15.202, 6.6.128, 6.12.75, 6.18.14, 6.19.4, or mainline 7.0 (or your distribution's backport carrying the equivalent fix), which sets tx_spare to NULL in the original ring after the new tx_spare allocation fails so the cleanup path only frees genuinely new buffers. The corresponding upstream commits are at https://git.kernel.org/stable/c/6dc10494cfe27b6f1e9adb7e293293ae39c50b7c (and siblings fb6a4c376d45, 43015461662d, 6d2f142b1e4b, c3659273860b, d2c785733dfb, fdbccddb7e78); track distro advisories via the NVD reference above. If immediate patching is not possible, the practical compensating control is to restrict who can change NIC ring parameters: limit or drop CAP_NET_ADMIN for untrusted users/containers and avoid granting unprivileged namespaces network-admin capability, since the trigger is the ethtool set-ringparam path - the trade-off is that operators legitimately needing to tune ring sizes (e.g. for throughput tuning) will lose that ability. Systems that do not use HiSilicon hns3 NICs are not affected and need no action beyond normal patching.

Affected VersionsENISA

Linux patch: 6.19.4
Linux 907676b130711fd1f627824559e92259db2061d1 <6dc10494cfe27b6f1e9adb7e293293ae39c50b7c
Linux 907676b130711fd1f627824559e92259db2061d1 <fb6a4c376d454b425555b1b0bda36e99f56ec307
Linux 907676b130711fd1f627824559e92259db2061d1 <43015461662d41dcfb3bb95fadd8a2a42ad8eacf
Linux patch: 6.1.165
Linux 907676b130711fd1f627824559e92259db2061d1 <6d2f142b1e4b203387a92519d9d2e34752a79dbb
Linux patch: 6.18.14
Linux patch: 0
Linux 5.14
Linux patch: 5.15.202
Linux 907676b130711fd1f627824559e92259db2061d1 <fdbccddb7e7822016601829f95de4008e193f7bc
Linux 907676b130711fd1f627824559e92259db2061d1 <d2c785733dfb853ea0b53984c75662a1af230a94
Linux 907676b130711fd1f627824559e92259db2061d1 <c3659273860bed0c8e573b865e3769abc51225a8
Linux patch: 6.12.75
Linux patch: 6.6.128
Linux patch: 7.0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the hns3 Ethernet driver (drivers/net/ethernet/hisilicon/hns3) that supports HiSilicon/Huawei network interface controllers found on Kunpeng/Hi16xx ARM64 platforms. The bug is exercised through the ethtool 'set ringparam' operation (hns3_set_ringparam), which reconfigures TX/RX ring sizes at runtime. To support rollback on failure, the driver copies the live ring structures into a temporary array (tmp_rings); however the tx_spare pointer in the original ring handle continued to reference the old backup memory after that memory ownership had logically moved to the copy. When a later allocation in hns3_init_all_ring() fails, the cleanup loop walks all rings and frees buffers it believes were newly allocated, freeing the stale tx_spare a second time. This is a classic CWE-415 Double Free arising from incomplete pointer ownership transfer (the source pointer was not NULLed after its value was preserved elsewhere). The CPE data identifies only cpe:2.3:o:linux:linux_kernel as affected, with no userland package - confirming this is a kernel-space defect.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.3 MEDIUM

Local CAP_NET_ADMIN gives PR:L; AC:H because the double-free needs an allocation failure the attacker cannot reliably force; impact is primarily DoS (A:H) with no confidentiality loss.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 25, 2026 - 21:22 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
HIGH 7.8
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

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

In hns3_set_ringparam(), a temporary copy (tmp_rings) of the ring structure is created for rollback. However, the tx_spare pointer in the original ring handle is incorrectly left pointing to the old backup memory.

Later, if memory allocation fails in hns3_init_all_ring() during the setup, the error path attempts to free all newly allocated rings. Since tx_spare contains a stale (non-NULL) pointer from the backup, it is mistaken for a newly allocated buffer and is erroneously freed, leading to a double-free of the backup memory.

The root cause is that the tx_spare field was not cleared after its value was saved in tmp_rings, leaving a dangling pointer.

Fix this by setting tx_spare to NULL in the original ring structure when the creation of the new tx_spare fails. This ensures the error cleanup path only frees genuinely newly allocated buffers.

Executive ViewAI

Why It Matters

A Linux kernel vulnerability (CVE-2026-45891) in HiSilicon network drivers permits privileged local users to trigger system denial of service and kernel memory corruption, creating material risks to system availability and stability. No public exploit code has been identified, and exploitation requires local administrative network access, but the kernel-level impact necessitates timely patching to prevent operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Medium
Linux is ubiquitous but the vulnerable hns3 driver is specific to HiSilicon/Huawei NICs
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy