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 81AC4376A03 for ; Sat, 15 Aug 2026 06:26:12 +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=1786775173; cv=none; b=YDtDRG7VLI4kdQPeJOqC2vjivgM+U7Z4C9ndOpKugpXAlYWinSrkxnxPgXPYX5FisBPta+I/YHPvEjbik8S7YSSUAbD5IVmLrCYfsv0KqjSwt184vAerJb6HnZnVSL84SU9FlkZyNS3QKPy47Lw3TcRTXwUvOhybFOmtnFbyPg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775173; c=relaxed/simple; bh=0O8gSygUT85rUMj+dzpfbTacO6ItKBHpEHGW7La1RLI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RBZsv79WeZEj6ffoWVCf4GcTid6fzWQixA6XmTAwttixJ0MS3HGkIXLC3tm9tkn0CK4BrZVKxaQH6IZBx+WZ/zo+OE/dRitRqa5JHOzhtTedWxF/BWQGjplzDfv1f6Tctfgkk75rD8zFikmXOSMO5Xxl8GSrNGOg1EDJNOOF8xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rq4OCf2A; 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="rq4OCf2A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2E521F000E9; Sat, 15 Aug 2026 06:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775172; bh=fTSuaKr6C4wmRUTdyXp89JPzUfIYqxLI62XGs1KzKGc=; h=From:To:Cc:Subject:Date:Reply-To; b=rq4OCf2AyyxPUS67SWHsPW+xo1RLj+zj0fpBJxwNm77RueVk3ZuOaJoOIT7uHRn2i qYAf3iREVL273dms7SJYI93HGr2REutjI7kI31SJixlNsGjimBKzE5G66w86kJt/J0 9crl+lYCro2GhVXZi8dfYpWzNbPjiGgjhgOqkB/Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72396: hwmon: adm1275: Prevent reading uninitialized stack Date: Sat, 15 Aug 2026 15:07:55 +0900 Message-ID: <2026081520-CVE-2026-72396-7ad1@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=4194; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UB04IJnDMRZ7yO9uPHm/Z3qgHFoDpptyBVECk4OV0sM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDG98RCUqOGT+Kacz3C0I2KgbaL5+GqfRzrepG/f3X flQdPtvRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk8QaG+cFKLJpCjeWyP5dU sMee9edRyvu1i2G+T7r0kWDRX11707y15H5KlBX9PZIFAA== 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: adm1275: Prevent reading uninitialized stack While adding support for the ROHM BD127X0 hot-swap controllers, sashiko reported an error in device-name comparison, which can lead to reading uninitialized stack memory. Quoting Sashiko: This is a pre-existing issue, but I noticed that just before this block in adm1275_probe(), there might be an out-of-bounds stack read: ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); if (ret < 0) { ... } for (mid = adm1275_id; mid->name[0]; mid++) { if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) break; } Since i2c_smbus_read_block_data() reads up to 32 bytes into the uninitialized stack array block_buffer without appending a null terminator, strncasecmp() could read past the valid bytes returned in ret. For example, if the device returns a shorter string like "adm12", checking it against "adm1275" up to the length of "adm1275" will continue reading into uninitialized stack bounds. Prevent reading uninitialized memory by zeroing the stack array. The Linux kernel CVE team has assigned CVE-2026-72396 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 5.10.261 with commit 57d583f069fa9d3d0c0831e34b967d1f61edae94 Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 5.15.212 with commit 82e4ab03a6ab9b87667410f5143bc484d7a62bdc Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 6.1.178 with commit c9e04a52663bc6651c06c2427df088b751062bd6 Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 6.6.145 with commit 39a581bd64a0e91112ec8017a2dd4e70c1336e99 Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 6.12.97 with commit aa35cee30686e6be3c890bf741429c5025d55abe Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 6.18.40 with commit 36554592e2f5cac16ff8bf73720d38a6d9ef4a20 Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 7.1.5 with commit 93b96e723bdcba6172a5814262be875abcc5d269 Issue introduced in 3.3 with commit 87102808d03948c825c3bdc48316e48f6422fd7e and fixed in 7.2-rc2 with commit 553f9517813912a5ab661af5504485d96824a61c 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-72396 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/adm1275.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/57d583f069fa9d3d0c0831e34b967d1f61edae94 https://git.kernel.org/stable/c/82e4ab03a6ab9b87667410f5143bc484d7a62bdc https://git.kernel.org/stable/c/c9e04a52663bc6651c06c2427df088b751062bd6 https://git.kernel.org/stable/c/39a581bd64a0e91112ec8017a2dd4e70c1336e99 https://git.kernel.org/stable/c/aa35cee30686e6be3c890bf741429c5025d55abe https://git.kernel.org/stable/c/36554592e2f5cac16ff8bf73720d38a6d9ef4a20 https://git.kernel.org/stable/c/93b96e723bdcba6172a5814262be875abcc5d269 https://git.kernel.org/stable/c/553f9517813912a5ab661af5504485d96824a61c