From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65CCC34FF62 for ; Sat, 15 Aug 2026 06:09:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774156; cv=none; b=uICXHEAwRF+0MJ8JnrvkcheIaFfcSz4da2zKF+KftUsDzmLk06/E5vhABc7w7EZSAoL+Y5D3kw36WkXC21GTZWw/YuxERfDy0d20M84B/1yWILN3fls0RSJZww/E2e3f+yOma468gao9274m8QUPqLsOSnF/tb/1mJieeCo5zoo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774156; c=relaxed/simple; bh=J5YJrlnrIys2UP4b1Awk9meDzAjwHQc8zxRyhGq/rBw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dac8JnSslsm1hgG9CFVIp1wVIckfjmn1pxx1t5HVN8/ZIK7eyVIqhhE1i8lmwaYHCwLiq4FRA/w7Zr6RrW2qjkaSPktgQzLesMg0gdwhGhBUgEz29vwTCP35NbBWAVmbJOqaxE2geYvn9XFejGGXkwxxUlX1rP9uxd3eT/Rp1FM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WMxQwJLd; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WMxQwJLd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF2CE1F000E9; Sat, 15 Aug 2026 06:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774155; bh=iilrD+VNnYLHPJyUNTHG23PltHzNigmq1PxuPP8wkhE=; h=From:To:Cc:Subject:Date:Reply-To; b=WMxQwJLd5UssRAjiyl0eq5m1EYx+Z+9wD/GJhnFuEr5n20LuHJXkr4iF0P+m3SKBi JUxJnt5wsfeYC8ozcWoDJIS/SAjVKx8DRXfw0FtdY+JqkAPY0O1BCtnQzwNaNCq7HD ls/ZmYIhiKc50mN7uJ2GmoT4Bhuf5xusFE8sMtqI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72058: net: ixp4xx_hss: fix duplicate HDLC netdev allocation Date: Sat, 15 Aug 2026 15:02:17 +0900 Message-ID: <2026081516-CVE-2026-72058-c750@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3575; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Y9GKEmNB72j0V958efbHkWgZ0MJ4VdXvGb1ZsPDPZE8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDGuNY31iWhZPOhGdER/3JvUjU7npZGGm9Eync12vr VtFNpZ3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESMvjIsmNNr/L7eY3d0fzaj 27ECs4/xLxPXMyyY/6BgWlT86vetuwsW+LPFxTYUTNwPAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-72058 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 6.1.178 with commit 8f4c3c384092becbf4835a3f8ed8a3df1f544578 Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 6.6.145 with commit fd0b939ebd1eee29945a539c5ed65c35dddac8d6 Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 6.12.97 with commit ffba16e6f55948d94b7f16aa113d587c1c4c0643 Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 6.18.40 with commit 3f85fcd520aa703824b1958f35169925ddae2558 Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 7.1.5 with commit 91850f582783098415a334f8bd0a84c87ff15a8c Issue introduced in 5.14 with commit 99ebe65eb9c0ada015931d239d9f2d1dc8897fee and fixed in 7.2-rc1 with commit db818b0e8af7bac16860116a19c341a63d6677b4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72058 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wan/ixp4xx_hss.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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