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 1D62A3A383C for ; Sun, 19 Jul 2026 15:02:32 +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=1784473355; cv=none; b=Uhs7w9v5KuZ93a7ZbXpY2c2BtIr9lykhPXPW98RQV59+tKn4ygFPrOBcA1ZqOhDl9NvttkUHrX6jjwj3ojkgDLICCI5itdNIPEmBxZIGe3LvBWJQY6/oqBB5AYrJNB05O8oEEEWV0EYJ72Ks+apPm9dcVs5TLC8JhPwZM9zzBS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473355; c=relaxed/simple; bh=bMr3zk6cnTVGwW881QV67ytaWEwp0rpAk7gsUjl/T6U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Nh9L+D6ZymCja4UlyiRQMqY/yNgq+bWsEgFKxJefCQq2dqTACxqtZAV1Lk+J5OBEB6ZmqOw813pYf9fV8mWvZzeMisDhmrXoNcx546SfUnnWhHb6w8fQpsXfiwFA7eIy9RC++zRsw4A39Onf4oy22ZPiN6sS3KYLAEC1GxIqdBA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WH14hUP2; 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="WH14hUP2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D07211F00A3A; Sun, 19 Jul 2026 15:02:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473352; bh=fDRLKzGJ7hXJ867KmomP3q+SaOYNRtncm+yvL/wulrI=; h=From:To:Cc:Subject:Date:Reply-To; b=WH14hUP2tvJ8iuZc8Fe0FtbNTZ5M54FYx/Xb/EMuGkfxtmKyxNKJGJxNawlz/SNga iOiteg8Y5FfXHts0IwlZmJWlzuwGmcib6a+J44WMOio3YyaHfUidwYRPu/IDZ9fQPZ XlE/WQN3PYB+HccNLpP93T9DCPAW4T96WK6QwES4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63985: ethtool: eeprom: add more safeties to EEPROM Netlink fallback Date: Sun, 19 Jul 2026 16:57:25 +0200 Message-ID: <2026071903-CVE-2026-63985-56d0@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=3658; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xkKChJPIaOrVJ+fhOoylbStHKvEiFaDi5qBh9wiwq4U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT5u/PYvk37xdZ9/b8J1pb56nF339+3baFB+VK//m9 nzfFmXwqCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmkiDHMIf/E8/3feXcmdUL vWLkrf+8+r9SVIZhDkf+wsv/TtXPXv1c9lPsxU9BLhPLJwAA 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: ethtool: eeprom: add more safeties to EEPROM Netlink fallback The Netlink fallback path for reading module EEPROM (fallback_set_params()) validates that offset < eeprom_len, but does not check that offset + length stays within eeprom_len. The ioctl equivalent (ethtool_get_any_eeprom() in ioctl.c) has always enforced both bounds: if (eeprom.offset + eeprom.len > total_len) return -EINVAL; This could lead to surprises in both drivers and device FW. Add the missing offset + length validation to fallback_set_params(), mirroring the ioctl. Similarly - ethtool core in general, and ethtool_get_any_eeprom() in particular tries to zero-init all buffers passed to the drivers to avoid any extra work of zeroing things out. eeprom_fallback() uses a plain kmalloc(), change it to zalloc. The Linux kernel CVE team has assigned CVE-2026-63985 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 5.15.210 with commit 0e182689831277faf2ef683573a60474c208f690 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 6.1.176 with commit 6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 6.6.143 with commit 65674d2489a12b8efd2ca0effb3de1d12224b596 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 6.12.93 with commit d81376053a00865c70b8d8506a1cb93f2943d413 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 6.18.35 with commit fd0de51c54fa8474a0ddeedd71c65ad09fada390 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 7.0.12 with commit 4fe1bc4b3603f621240d5b401742f302190db769 Issue introduced in 5.13 with commit 96d971e307cc0e434f96329b42bbd98cfbca07d2 and fixed in 7.1 with commit 67cfdd9210b99f260b3e0afeb9525e0acc7be31e 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-63985 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/ethtool/eeprom.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/0e182689831277faf2ef683573a60474c208f690 https://git.kernel.org/stable/c/6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1 https://git.kernel.org/stable/c/65674d2489a12b8efd2ca0effb3de1d12224b596 https://git.kernel.org/stable/c/d81376053a00865c70b8d8506a1cb93f2943d413 https://git.kernel.org/stable/c/fd0de51c54fa8474a0ddeedd71c65ad09fada390 https://git.kernel.org/stable/c/4fe1bc4b3603f621240d5b401742f302190db769 https://git.kernel.org/stable/c/67cfdd9210b99f260b3e0afeb9525e0acc7be31e