Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154260; b=ywRmcR4EQkJvQ++nnckJD6kAihMVlXyaC/kDOXxlHz+TgQIC7WRIOCuU8h1llJt1EEp4 FazbXLecVwfrjTyFtdZXr85ePbbd4Nsx8bRd+tc+A8RxNAwSP5fJRzCS/HJoBxb1nY3xP Kr27FjqRxTJYR2mJxBA7Q6bmInROaPGsYnUDN38gOqa5RJs+Rlyq2FF313pedqNplqlD4 4bfL3ple8gobFwcx94WCPFSax/1PAAldIos9HLwW6gw+rBfjndzXTMdvwTUgPFW315e+C B9redB/6xvgmeUlWJvqIJIXucqROY0J1k3fzvzoFt4t13q9E1jZ4Z+GNITL9qT6Mtzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154260; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=op8GFRBMeeH5Bj+ncgad/dPsXx5e0wMbkVwKWUy05EQ=; b=MWs/glFk8U0KYP9OgNF7Cx1jdirKmldmvIWX4rba7yk/f7M6D14WQC3TGotTxlkIZD9i N51U2HmxkNpOP6FR1r0cvWaey7Y6DdFIJTOmXDHn50QeZ84SjOXqtGYpypW3TL/FnV0x8 oYvdGnJH0Yozyt17CeaqL6u0IvSvgj5gUfDH+hxR3nYTZwCiQidyfKJDjlLUA9chUjGfV QCZuzUhCx5SB8qU+TtQ46tEy4gZp3ydNVS6vxyeFEO73ct/N1ckQQ3LoWdRY+RhMWaQii 80OlimSlzoWtF6oXqmN6IZ8kTR5/Xu8ZK0W+4N2yGpjHPZvQidi9UZyyvZ13d5YcW7A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ikzGzBOc; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D67460A2614 for ; Fri, 20 Nov 2026 05:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ikzGzBOc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36D631F000E6; Fri, 20 Nov 2026 05:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154259; bh=op8GFRBMeeH5Bj+ncgad/dPsXx5e0wMbkVwKWUy05EQ=; h=From:To:Cc:Subject:Date:Reply-To; b=ikzGzBOcMHrbR2TlDyP6n6Koo4/nNjruJVq+LQ3jN/P1EJ/0NKD+4ajrvLXzrl368 OStd513jN7W3Lg46fKt/LxFds1MOVjyjl70P3hKyPrc6z841P3TQerTB/YHSz/k63l Ik7g+qDR0H9IpAwLmDa1IIUrWADwiZ+QwhsF5nQ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99674: can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices Date: Fri, 20 Nov 2026 06:51:00 +0100 Message-ID: <2026112052-CVE-2026-99674-59a4@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2922; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2qSz3tfXHYRLyvVXd4nU4IHPosXvALVjenqBdGJWUsg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7zfc4Ur0jXkp9WnFh8bFRj4XXUpZkk7sz7BI0HJJ1 7jANZmnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbympNhnkXyc8+LcsvYSsOv bTNeERW/dKk4E8OCxfv0V11dVXEkYbX0Tr2kJ+F+XPdtAA== 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: can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices Sending a PF_PACKET bypasses the CAN framework logic and can directly reach a CAN driver's xmit() function. The PF_PACKET framework only checks that skb->len does not exceed the net_device MTU. For a CAN device that is not CAN XL capable, anything above CANFD_MTU (72 bytes) is therefore dropped before it reaches the driver. However, CAN XL frames are variable length. can_is_canxl_skb() accepts lengths in the range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to 2060 bytes. As a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes can pass both the MTU and the can_dropped_invalid_skb() checks. A driver that does not support CAN XL will interpret canxl_frame->flags as a length because of the overlap with can_frame->len. And because CANXL_XLF is set, the resulting length is between 128 and 255. For drivers that do not check can_frame->len before copying can_frame->data, as most drivers do, this results in a buffer overflow of up to 247 bytes. Drop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL capability. Keep can_is_canxl_skb() for the validation of CAN XL skbs. The Linux kernel CVE team has assigned CVE-2026-99674 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit fb08cba12b52cba4366e858932307649dc5304e2 and fixed in 7.3.5 with commit 2de9c3df452e159f82ef14ca497e5be407c66493 Issue introduced in 6.1 with commit fb08cba12b52cba4366e858932307649dc5304e2 and fixed in 7.4-rc2 with commit 0fce44e29fce4b07642491b098afb41bd571e4f2 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-99674 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/can/dev/skb.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/2de9c3df452e159f82ef14ca497e5be407c66493 https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2