Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CEC873446A7 for ; Wed, 24 Dec 2025 13:11:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581875; cv=none; b=hH4PgTu++4o5q5wMZkJH2L8RSSSAsBp2KkSGKYj3pCxC1D8BQv5FNiSafNwgn3FLRhBGrFKTP9H4lpiTlaGR/IUV5uQlUO603UvxG7wOcfkx6sYwbH7mJrWdGL7ptvsOlYayClwWzJBDmSvy7DDeaffR1TsEP8BEfhr3U2+n3L4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581875; c=relaxed/simple; bh=xgj0c6YyAtdpUTEPO+g5TVGS6yCm9yPJl7b0CvcVgYI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b8erI+s8SC5BMXZBxvL6jHr7YJ1AiWjzOQ9yZL5/axA+Aq4tmn35VZkOgf2GbbWMe4oZxz48nIEB8UadEp3UJNzvU1uDz12bws+HZPiESiDrCL9LA42OUTDfdcHXg8bfAZZDI3ZEhwj6j//1CC1/xI0bRrPxu/JWPXDaCRMFQEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=icAXlPnw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="icAXlPnw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59743C4CEFB; Wed, 24 Dec 2025 13:11:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581875; bh=xgj0c6YyAtdpUTEPO+g5TVGS6yCm9yPJl7b0CvcVgYI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=icAXlPnwwKNo/JMqGf/eZ0SBHljJ6c2a4/K3RCPLUHgjsB5WSFysowr16XxFB0Jxm weaTmLYWNDwVOkFdoANzKF2nHq1IB8SS8+qcbMS9YHYe594EKR19+VbNHzpauF25++ AZE2/Py4pFW4MWpjh14HezWGhU52iJni2DY2vB2w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54105: can: isotp: check CAN address family in isotp_bind() Date: Wed, 24 Dec 2025 14:07:02 +0100 Message-ID: <2025122411-CVE-2023-54105-fbe5@gregkh> X-Mailer: git-send-email 2.52.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=2441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vVB12GBNf3gdDpUwbcDQUv2rz6TlDr571HDndtEsHIA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT513pL9qObpsWUR6oIt0k+bjnS1HzwXycdaJaD+Qz F/dK3S6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy8wDDfAcf/5hvmtNimv8L 2MtvnFm5WnPmB4Z55mGvGf6sljy6SmXdPuOGClXDV5Z1AA== 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: isotp: check CAN address family in isotp_bind() Add missing check to block non-AF_CAN binds. Syzbot created some code which matched the right sockaddr struct size but used AF_XDP (0x2C) instead of AF_CAN (0x1D) in the address family field: bind$xdp(r2, &(0x7f0000000540)={0x2c, 0x0, r4, 0x0, r2}, 0x10) ^^^^ This has no funtional impact but the userspace should be notified about the wrong address family field content. The Linux kernel CVE team has assigned CVE-2023-54105 to this issue. Affected and fixed versions =========================== Fixed in 5.10.200 with commit de3c02383aa678f6799402ac47fdd89cf4bfcaa9 Fixed in 5.15.138 with commit 2fc6f337257f4f7c21ecff429241f7acaa6df4e8 Fixed in 6.1.16 with commit 9427584c2f153d0677ef3bad6f44028c60d728c4 Fixed in 6.2.3 with commit dd4faace51e41a82a8c0770ee0cc26088f9d9d06 Fixed in 6.3 with commit c6adf659a8ba85913e16a571d5a9bcd17d3d1234 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-2023-54105 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: net/can/isotp.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/de3c02383aa678f6799402ac47fdd89cf4bfcaa9 https://git.kernel.org/stable/c/2fc6f337257f4f7c21ecff429241f7acaa6df4e8 https://git.kernel.org/stable/c/9427584c2f153d0677ef3bad6f44028c60d728c4 https://git.kernel.org/stable/c/dd4faace51e41a82a8c0770ee0cc26088f9d9d06 https://git.kernel.org/stable/c/c6adf659a8ba85913e16a571d5a9bcd17d3d1234