CVE-2026-72058
net: ixp4xx_hss: fix duplicate HDLC netdev allocation
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.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Allocate HDLC netdev only once.
- Assign the single allocated netdev to port->netdev.
- Ensure correct netdev registration and unregistration.
- Update the Linux kernel to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72058.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72058 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72058
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72058 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72058 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '8f4c3c384092becbf4835a3f8ed8a3df1f544578', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'fd0b939ebd1eee29945a539c5ed65c35dddac8d6', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'ffba16e6f55948d94b7f16aa113d587c1c4c0643', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '3f85fcd520aa703824b1958f35169925ddae2558', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '91850f582783098415a334f8bd0a84c87ff15a8c', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'db818b0e8af7bac16860116a19c341a63d6677b4', 'versionType': 'git'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '8f4c3c384092becbf4835a3f8ed8a3df1f544578', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'fd0b939ebd1eee29945a539c5ed65c35dddac8d6', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'ffba16e6f55948d94b7f16aa113d587c1c4c0643', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '3f85fcd520aa703824b1958f35169925ddae2558', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '91850f582783098415a334f8bd0a84c87ff15a8c', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'db818b0e8af7bac16860116a19c341a63d6677b4', 'versionType': 'git'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '8f4c3c384092becbf4835a3f8ed8a3df1f544578', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'fd0b939ebd1eee29945a539c5ed65c35dddac8d6', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'ffba16e6f55948d94b7f16aa113d587c1c4c0643', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '3f85fcd520aa703824b1958f35169925ddae2558', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': '91850f582783098415a334f8bd0a84c87ff15a8c', 'versionType': 'git'}, {'status': 'affected', 'version': '99ebe65eb9c0ada015931d239d9f2d1dc8897fee', 'lessThan': 'db818b0e8af7bac16860116a19c341a63d6677b4', 'versionType': 'git'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wan/ixp4xx_hss.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558 Added Reference https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578 Added Reference https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c Added Reference https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4 Added Reference https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6 Added Reference https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643