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

net: ixp4xx_hss: fix duplicate HDLC netdev allocation

ixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored
in ndev, initialized, and registered with register_hdlc_device(). The
second one is stored in port->netdev and later used by the remove path
for unregister_hdlc_device() and free_netdev().

This means that the registered netdev is not the same object that is
unregistered and freed on remove. It also leaks the first allocation if
the second alloc_hdlcdev() call fails, and the first allocation is not
checked before ndev is used.

Older code allocated the HDLC netdev only once and stored the same object
in both the local variable and port->netdev. The buggy conversion split
this into two alloc_hdlcdev() calls. A later rename changed the local
variable name to ndev, but the underlying mismatch remained.

Fix this by allocating the HDLC netdev only once and assigning the same
object to port->netdev.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

When the ixp4xx_hss driver probes, it allocates an HDLC network device twice. The first allocation is stored in a local variable, initialized, and registered, while the second allocation is stored in the device port structure and later used for unregister and free operations. This mismatch causes the driver to free a different object than the one registered, leaking the first allocation if the second fails and potentially deregistering an unrelated device. The result is a memory leak and an inconsistent cleanup path that can lead to kernel memory exhaustion or stability problems.

Affected Systems

All Linux kernel configurations that build the ixp4xx_hss driver are affected. No specific kernel release is listed, so any kernel containing the driver prior to the patch is vulnerable. The fix applies to all such versions by allocating the HDLC netdev only once and assigning it to both pointers.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is less than 1%; the vulnerability is not in the CISA KEV catalog. Based on the description, the likely attack vector would require kernel‑level access to trigger the allocation bug. Exploitation is inferred to need privileged or kernel‑level access to affect the driver’s allocation, so the likelihood of attack is low. The risk manifests as a resource leak that could degrade system performance or cause a crash under heavy network usage. Applying the patch removes the flaw and eliminates the risk of memory exhaustion and instability.

Generated by OpenCVE AI on August 18, 2026 at 05:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the ixp4xx_hss fix, such as the commits referenced in the advisory.
  • If an immediate kernel upgrade is not possible, disable or unload the ixp4xx_hss driver on systems that do not require it beforehand to prevent the leak.
  • Test the updated kernel in a staging environment to confirm that the leak is resolved and that no unintended side effects occur.

Generated by OpenCVE AI on August 18, 2026 at 05:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 23 Aug 2026 13:15:00 +0000


Tue, 18 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CWE-764

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Sat, 15 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CWE-764

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: ixp4xx_hss: fix duplicate HDLC netdev allocation ixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored in ndev, initialized, and registered with register_hdlc_device(). The second one is stored in port->netdev and later used by the remove path for unregister_hdlc_device() and free_netdev(). This means that the registered netdev is not the same object that is unregistered and freed on remove. It also leaks the first allocation if the second alloc_hdlcdev() call fails, and the first allocation is not checked before ndev is used. Older code allocated the HDLC netdev only once and stored the same object in both the local variable and port->netdev. The buggy conversion split this into two alloc_hdlcdev() calls. A later rename changed the local variable name to ndev, but the underlying mismatch remained. Fix this by allocating the HDLC netdev only once and assigning the same object to port->netdev.
Title net: ixp4xx_hss: fix duplicate HDLC netdev allocation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-23T12:46:37.509Z

Reserved: 2026-08-09T03:40:39.903Z

Link: CVE-2026-72058

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:15.260

Modified: 2026-08-23T13:16:38.720

Link: CVE-2026-72058

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72058 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:30:08Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime