CVE-2026-72058

net: ixp4xx_hss: fix duplicate HDLC netdev allocation

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 23, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before 77d925b948ee594a79afe66f85bb94b67940140bAffected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before 8f4c3c384092becbf4835a3f8ed8a3df1f544578Affected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before fd0b939ebd1eee29945a539c5ed65c35dddac8d6Affected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before ffba16e6f55948d94b7f16aa113d587c1c4c0643Affected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before 3f85fcd520aa703824b1958f35169925ddae2558Affected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before 91850f582783098415a334f8bd0a84c87ff15a8cAffected
  • 99ebe65eb9c0ada015931d239d9f2d1dc8897fee to before db818b0e8af7bac16860116a19c341a63d6677b4Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.