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 4B07415CD74 for ; Thu, 9 Oct 2025 12:13:24 +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=1760012004; cv=none; b=VW7eGqQR4dt6bX3dvQBrNMebWH1iLRWVFXj8CtUj8SW/zxicub1cTx1xC/Ad/1OrWs8AH5kgjcTt7F3hmERqbFyiWzFjY+v8U0ovC6eR7IoHOX9YdRiTNb/o1Ket2+4cwM1E2OgEgHK0XPp4qF66pnBNDTLBHJ8PW7KhHZpi8II= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760012004; c=relaxed/simple; bh=m5FrJhFBdLqGkyT6xtw8XhGObD6ByEQqiVAZbiIC+gw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r9XTrAKiHZoMq5DIYMXv4lUjJ8nYhvNQX5uXa2lM3gRc9X1tP6j2EnnsCn4/g/G+ZXK4UzebCPjUASdlWx8jK2qXHAaQo6Y0DILlw/unYAVYifirF5lWVwz50ZXf7azZyOmKrYVAdpQUGZBzMIVlfRbbHOKUozSZs14eX7/fy0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zMq0dm0O; 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="zMq0dm0O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 889BCC4CEE7; Thu, 9 Oct 2025 12:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760012003; bh=m5FrJhFBdLqGkyT6xtw8XhGObD6ByEQqiVAZbiIC+gw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zMq0dm0O1iXXbL2e6ebuG5CC3Kx9zpZZnQzHZVUtHYqCgHnrE8pWbdbU9QBBD3ooW yVBW6+qJXwOCp4acEl3A4w4sxSjYcFmy8Ynoug0RABMS2dwSaqMRkLsBUgojWtNv3V UAZmdKhLpMbSm0rvqLcQf8BNFpm/lwIgHIvYXv/c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39960: gpiolib: acpi: initialize acpi_gpio_info struct Date: Thu, 9 Oct 2025 14:13:15 +0200 Message-ID: <2025100914-CVE-2025-39960-f3f6@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2302; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wuQqgu/RRvXakGJ+3gwO7Rosty7fCoyMYkPR1cpTkLc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnPl932LdK69dzy7KWIV4ENZ27or173+/ObrA8+j7Set 9zacTWltSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmMjOcYcHmJ28vlUcEN+XJ P707z27ptAszX01kWHDONWCp48eNtxILbzPOlvwudnzDCS4A 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: gpiolib: acpi: initialize acpi_gpio_info struct Since commit 7c010d463372 ("gpiolib: acpi: Make sure we fill struct acpi_gpio_info"), uninitialized acpi_gpio_info struct are passed to __acpi_find_gpio() and later in the call stack info->quirks is used in acpi_populate_gpio_lookup. This breaks the i2c_hid_cpi driver: [ 58.122916] i2c_hid_acpi i2c-UNIW0001:00: HID over i2c has not been provided an Int IRQ [ 58.123097] i2c_hid_acpi i2c-UNIW0001:00: probe with driver i2c_hid_acpi failed with error -22 Fix this by initializing the acpi_gpio_info pass to __acpi_find_gpio() The Linux kernel CVE team has assigned CVE-2025-39960 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 7c010d463372140006bf96985a306d6cbfc6e118 and fixed in 6.16.9 with commit 27d94a2a52cbb54927c0140bd5b978c56e9a283a Issue introduced in 6.16 with commit 7c010d463372140006bf96985a306d6cbfc6e118 and fixed in 6.17 with commit 19c839a98c731169f06d32e7c9e00c78a0086ebe 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-2025-39960 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/gpio/gpiolib-acpi-core.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/27d94a2a52cbb54927c0140bd5b978c56e9a283a https://git.kernel.org/stable/c/19c839a98c731169f06d32e7c9e00c78a0086ebe