{"id":"CVE-2026-72058","aliases":["CVE-2026-72058"],"related":[],"kind":"vulnerability","state":"published","title":"net: ixp4xx_hss: fix duplicate HDLC netdev allocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ixp4xx_hss: fix duplicate HDLC netdev allocation\n\nixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored\nin ndev, initialized, and registered with register_hdlc_device(). The\nsecond one is stored in port->netdev and later used by the remove path\nfor unregister_hdlc_device() and free_netdev().\n\nThis means that the registered netdev is not the same object that is\nunregistered and freed on remove. It also leaks the first allocation if\nthe second alloc_hdlcdev() call fails, and the first allocation is not\nchecked before ndev is used.\n\nOlder code allocated the HDLC netdev only once and stored the same object\nin both the local variable and port->netdev. The buggy conversion split\nthis into two alloc_hdlcdev() calls. A later rename changed the local\nvariable name to ndev, but the underlying mismatch remained.\n\nFix this by allocating the HDLC netdev only once and assigning the same\nobject to port->netdev.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ixp4xx_hss: fix duplicate HDLC netdev allocation\n\nixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored\nin ndev, initialized, and registered with register_hdlc_device(). The\nsecond one is stored in port->netdev and later used by the remove path\nfor unregister_hdlc_device() and free_netdev().\n\nThis means that the registered netdev is not the same object that is\nunregistered and freed on remove. It also leaks the first allocation if\nthe second alloc_hdlcdev() call fails, and the first allocation is not\nchecked before ndev is used.\n\nOlder code allocated the HDLC netdev only once and stored the same object\nin both the local variable and port->netdev. The buggy conversion split\nthis into two alloc_hdlcdev() calls. A later rename changed the local\nvariable name to ndev, but the underlying mismatch remained.\n\nFix this by allocating the HDLC netdev only once and assigning the same\nobject to port->netdev.","source":"cvelist"}],"published":"2026-08-15T05:52:13.616Z","modified":"2026-08-23T13:16:38.720Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"77d925b948ee594a79afe66f85bb94b67940140b","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"8f4c3c384092becbf4835a3f8ed8a3df1f544578","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"fd0b939ebd1eee29945a539c5ed65c35dddac8d6","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"ffba16e6f55948d94b7f16aa113d587c1c4c0643","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"3f85fcd520aa703824b1958f35169925ddae2558","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"91850f582783098415a334f8bd0a84c87ff15a8c","status":"affected"},{"type":"git","introduced":"99ebe65eb9c0ada015931d239d9f2d1dc8897fee","fixed":"db818b0e8af7bac16860116a19c341a63d6677b4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/77d925b948ee594a79afe66f85bb94b67940140b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72058","url":"https://www.cve.org/CVERecord?id=CVE-2026-72058","licence":"CVE Terms of Use","modified":"2026-08-23T12:46:37.509Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72058","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72058","licence":"Public domain","modified":"2026-08-23T13:16:38.720Z"}],"updatedAt":"2026-11-25T22:59:32.989Z","epss":{"score":0.00215,"percentile":0.12643,"date":"2026-12-01T12:00:22.000Z"}}