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 8020A3A545E for ; Sun, 19 Jul 2026 15:03:02 +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=1784473384; cv=none; b=uMTAHU1zxHi4PycqTZnkeXXRkUz3bs2a5ifSuwy2QyOxgAvLXRVHDSLjVdmhNIX54zySjqegFALLsKSWSahL43nmSBaJ0vow8vnaEqRmHFJlJmbLFWisoQhRNH9smy26s+RMR0H0vOuyaaHy7PXHFWwd9NgjwwyoRhJTsGle0c8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473384; c=relaxed/simple; bh=AmZmNKh8iNTTqYa4QV3ZjkBoEyzkJAi96bthwt4W3a0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OWw3vLxr+QrkEmKh+NhdOAUefnY7VLxKfJcWwy9vfg4KNMJkqQuERX8/ifHZWYNvU8UEzBEbmO3YHBUIfkq+hKdSF38w1cctt/RSRnNEcy6MIecFEjb6kgY+CNGNgVbX8P6bnuFLO2p25y/4rVB4Y/Ljl26RI6Be8MZkZbyCJrM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GWUlTl01; 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="GWUlTl01" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10F011F000E9; Sun, 19 Jul 2026 15:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473382; bh=UNgbprgJhM/JvUfkZfc43oKvxzp9phulc04HnaSft6M=; h=From:To:Cc:Subject:Date:Reply-To; b=GWUlTl01gjvYpnFt1GmTdVAIfT3bc5Iiqaiyd8CQ3IXlL7dpVKG3T76rmAvN2BwG3 7iWUrawIsHkzDyWbXpPXatavGVfxloMcFExjudlZYljXyOkOV/JftBpL7BYTW7Esnq x9BU6lVNEOHPnyRZ+s8tdslKkGEx1y6ZOUA6iuuc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63990: bonding: refuse to enslave CAN devices Date: Sun, 19 Jul 2026 16:57:30 +0200 Message-ID: <2026071904-CVE-2026-63990-3e0a@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=4502; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UM+kvn75lCxsZrmMZiG4vTkbEGpzQhRaaJjx7va582Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT1t2ep8IDz2v+Zbj+/mjj97VhlfNrfotnDrF3ou/h 3u/RWtDRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEXpVhfpHNq7hNZmVzpSqK ZM9M3hj45urTvwzzTC+0M4lky/t9F55z68d7U/P19SuuAwA= 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: bonding: refuse to enslave CAN devices syzbot reported a kernel paging request crash in can_rx_unregister() inside net/can/af_can.c. The crash occurs because a virtual CAN device (vxcan) is being enslaved to a bonding master. During the enslavement process, the bonding driver mutates and modifies the network device states to fit an Ethernet-like aggregation model. However, CAN devices operate on a completely different Layer 2 architecture, relying on the CAN mid-layer private data structure (can_ml_priv) instead of standard Ethernet structures. Since bonding does not initialize or maintain these CAN structures, subsequent operations on the half-enslaved interface (such as closing associated sockets via isotp_release) lead to a null-pointer dereference when accessing the CAN receiver lists. Bonding CAN interfaces is architecturally invalid as CAN lacks MAC addresses, ARP capabilities, and standard Ethernet link-layer mechanisms. While generic loopback devices are blocked globally in net/core/dev.c, virtual CAN devices bypass this check because they do not carry the IFF_LOOPBACK flag, despite acting as local software-loopbacks. Fix this by explicitly blocking network devices of type ARPHRD_CAN from being enslaved at the very beginning of bond_enslave(). This prevents illegal state mutations, eliminates the resulting KASAN crashes, and avoids potential memory leaks from incomplete socket cleanups. As the CAN support has been added a long time after bonding the Fixes-tag points to the introduction of ARPHRD_CAN that would have needed a specific handling in bonding_main.c. The Linux kernel CVE team has assigned CVE-2026-63990 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 5.15.210 with commit 69b78b5f3033272e53a2dc2dad675962654a5b38 Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 6.1.176 with commit 41e8478c4cd896d3abbe33d41afc90c84ac66602 Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 6.6.143 with commit f4d78a81f57df82e9d82a2c07471fed1a1235893 Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 6.12.93 with commit 02f1c87ded33b43d48b4a1d665da15f2157b30d8 Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 6.18.35 with commit 9ea8a648d9120f7652bcde1ce2c4ad66871af707 Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 7.0.12 with commit 563090e5d450c665f70d955a39f9587afc7842eb Issue introduced in 2.6.25 with commit cd05acfe65ed2cf2db683fa9a6adb8d35635263b and fixed in 7.1 with commit 8ba68464e4787b6a7ec938826e16124df20fd23d 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-63990 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/bonding/bond_main.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/69b78b5f3033272e53a2dc2dad675962654a5b38 https://git.kernel.org/stable/c/41e8478c4cd896d3abbe33d41afc90c84ac66602 https://git.kernel.org/stable/c/f4d78a81f57df82e9d82a2c07471fed1a1235893 https://git.kernel.org/stable/c/02f1c87ded33b43d48b4a1d665da15f2157b30d8 https://git.kernel.org/stable/c/9ea8a648d9120f7652bcde1ce2c4ad66871af707 https://git.kernel.org/stable/c/563090e5d450c665f70d955a39f9587afc7842eb https://git.kernel.org/stable/c/8ba68464e4787b6a7ec938826e16124df20fd23d