{"id":"CVE-2026-72058","summary":"net: ixp4xx_hss: fix duplicate HDLC netdev allocation","details":"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-\u003enetdev 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-\u003enetdev. 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-\u003enetdev.","modified":"2026-08-18T03:31:12.238960411Z","published":"2026-08-15T05:52:13.616Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72058.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72058.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72058"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}