# CVE-2026-72058: net: ixp4xx_hss: fix duplicate HDLC netdev allocation

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-08-15T05:52:13.616Z
- Modified: 2026-08-23T13:16:38.720Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before 77d925b948ee594a79afe66f85bb94b67940140b; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before 8f4c3c384092becbf4835a3f8ed8a3df1f544578; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before fd0b939ebd1eee29945a539c5ed65c35dddac8d6; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before ffba16e6f55948d94b7f16aa113d587c1c4c0643; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before 3f85fcd520aa703824b1958f35169925ddae2558; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before 91850f582783098415a334f8bd0a84c87ff15a8c; from 99ebe65eb9c0ada015931d239d9f2d1dc8897fee before db818b0e8af7bac16860116a19c341a63d6677b4; 5.14 (not affected: before 5.14; from 5.15.217 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/77d925b948ee594a79afe66f85bb94b67940140b>
- <https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578>
- <https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6>
- <https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643>
- <https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558>
- <https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c>
- <https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4>

## Sources

- CVE List: [CVE-2026-72058](https://www.cve.org/CVERecord?id=CVE-2026-72058), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2026-72058](https://nvd.nist.gov/vuln/detail/CVE-2026-72058), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2026-72058 · Whole record: https://cve.day/CVE-2026-72058.json · Rebuilt by cve.day 2026-11-25T22:59:32.989Z
