CVE-2026-72058

Source
https://cve.org/CVERecord?id=CVE-2026-72058
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72058.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72058
Downstream
Published
2026-08-15T05:52:13.616Z
Modified
2026-08-18T03:31:12.238960411Z
Summary
net: ixp4xx_hss: fix duplicate HDLC netdev allocation
Details

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

net: ixp4xx_hss: 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 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72058.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Fixed
8f4c3c384092becbf4835a3f8ed8a3df1f544578
Fixed
fd0b939ebd1eee29945a539c5ed65c35dddac8d6
Fixed
ffba16e6f55948d94b7f16aa113d587c1c4c0643
Fixed
3f85fcd520aa703824b1958f35169925ddae2558
Fixed
91850f582783098415a334f8bd0a84c87ff15a8c
Fixed
db818b0e8af7bac16860116a19c341a63d6677b4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72058.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72058.json"