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 A0CD53A759C for ; Sun, 19 Jul 2026 15:43:07 +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=1784475788; cv=none; b=KmtXOfOspINQkoW6BNMCROcPXo11fCGlqkzL9IuaElR6Lfw7OEDUWyHwWEe1uUN69DTPZC+8exlrM9PKYRdl/Csi9BjiPCCULl7PGx2HjEfLhhKdU6qtq7J5kz0KHory3VOkd5E3raFGnsUfTAZXGHTaR+98YEE0txLIhMBIltw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475788; c=relaxed/simple; bh=iC58l286N58kVWVgn6pWJVbixtHC+sgFk8So6W/+9SY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u6crTtqxusbXy9tTJtFHRwt+JfumEjVeSwXIGs0rx+CP6CGkp/K91+Vbiojp7BtA47+tAWogX9WdUq3iiU0w7YSEKcMrl8kQKjHEojXI6vX3eryFnkjgpYsMEPfv/NksEZYoDDNgalbnwAKNKpb/I9se3Y2K+fTfGVU80bpHJQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=G+2Gvpzx; 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="G+2Gvpzx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A25891F000E9; Sun, 19 Jul 2026 15:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475787; bh=oaxHcPMwAv2gDS1l4A03nbeBLtATC+WiTdS8qfyCVqk=; h=From:To:Cc:Subject:Date:Reply-To; b=G+2GvpzxtTnDPwT32xDEtiONrxK9a+5iYVn55jIZGrv+Z4Mhql3kI0jrm169tXZvh JujyPXGbQe9wHiK0YRXHR2HLN6jKPP+DnFxrIZ+67lm8xuvK8LHbvfjQaz6QbalTS0 iYIudS16CP0aGWB+aD0CuY34d5kt7cydi0W3WBtA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64083: hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors Date: Sun, 19 Jul 2026 17:39:05 +0200 Message-ID: <2026071916-CVE-2026-64083-d36b@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=4117; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HMKmOLtConXMOOOHVvoctOFycVJ0jIGFCQb1gyP/u4c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7zO2KfLrTJl5eaXc1cMPXi0tElhw5RNPfLYSo92ju lOyL+2rOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAilVcYFjQZnpDXLyuyDn5R u3NHj15TyPTgdIZ5akLpv9efy94zIdG8Z4HfgqSIpEOsAA== 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: hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors adm1266_gpio_get() and adm1266_gpio_get_multiple() both compose the pin-status word as pins_status = read_buf[0] + (read_buf[1] << 8); right after i2c_smbus_read_block_data(), guarding only against an error return. A well-behaved device returns 2 bytes for GPIO_STATUS/PDIO_STATUS, but the helper happily reports a 0- or 1-byte response too. If the device returns 0 bytes, both read_buf slots are uninitialized stack memory; if it returns 1 byte, read_buf[1] is. The composed value then flows through set_bit() into the caller's *bits in adm1266_gpio_get_multiple(), or into the return value of adm1266_gpio_get(), and ends up in userspace via gpiolib (sysfs and the char-dev ioctls). That leaks a few bits of kernel stack per request on any device whose firmware glitch, bus error, or hostile slave produces a short block-read response. Add the missing length check to both call sites and surface a short response as -EIO. The Linux kernel CVE team has assigned CVE-2026-64083 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 5.10.258 with commit fd9196aad9e5a3845cea17de3405ebc700382142 Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 5.15.209 with commit ee4799becf7d2af3778007e22c2e55c4009a49c7 Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 6.1.175 with commit c603b6c6840ac0c6285f5eefea0de6242710af21 Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 6.6.142 with commit a2d1c819348b36fccbbfcf37c5fa7a50a9b4528f Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 6.12.92 with commit ae25cf2ea9ebd06d7ad416647dbdc7b5d0172946 Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 6.18.34 with commit eb3cd9bb590460c6127145cb245be925d23f5232 Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 7.0.11 with commit 64fa9328948ddcc0f7f3c23ea1756c126d9dffac Issue introduced in 5.10 with commit d98dfad35c38c037b37c4adc99df01da571031a5 and fixed in 7.1 with commit a7232f68c43ca62f545049b7f5fbfc75137b843b 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-64083 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/hwmon/pmbus/adm1266.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/fd9196aad9e5a3845cea17de3405ebc700382142 https://git.kernel.org/stable/c/ee4799becf7d2af3778007e22c2e55c4009a49c7 https://git.kernel.org/stable/c/c603b6c6840ac0c6285f5eefea0de6242710af21 https://git.kernel.org/stable/c/a2d1c819348b36fccbbfcf37c5fa7a50a9b4528f https://git.kernel.org/stable/c/ae25cf2ea9ebd06d7ad416647dbdc7b5d0172946 https://git.kernel.org/stable/c/eb3cd9bb590460c6127145cb245be925d23f5232 https://git.kernel.org/stable/c/64fa9328948ddcc0f7f3c23ea1756c126d9dffac https://git.kernel.org/stable/c/a7232f68c43ca62f545049b7f5fbfc75137b843b