CVE-2026-72058: net: ixp4xx_hss: fix duplicate HDLC netdev allocation
In the Linux kernel, the following vulnerability has been resolved:
net: ixp4xxhss: fix duplicate HDLC netdev allocation
ixp4xxhssprobe() allocates two HDLC netdevs. The first one is stored in ndev, initialized, and registered with registerhdlcdevice(). The second one is stored in port->netdev and later used by the remove path for unregisterhdlcdevice() and freenetdev().
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 allochdlcdev() 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 allochdlcdev() 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72058?
CVE-2026-72058 has a risk rating of 11, indicating a high severity vulnerability in the Linux kernel.
How do I fix CVE-2026-72058?
To fix CVE-2026-72058, update your Linux kernel to the latest stable version where the vulnerability has been patched.
What systems are affected by CVE-2026-72058?
CVE-2026-72058 affects systems running vulnerable versions of the Linux kernel that utilize the ixp4xx_hss module.
What kind of vulnerability is CVE-2026-72058?
CVE-2026-72058 is a memory allocation error that leads to duplicate HDLC netdev allocation in the Linux kernel.
When was CVE-2026-72058 published?
CVE-2026-72058 was published on August 15, 2026.