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 DB99D33263F for ; Fri, 25 Sep 2026 10:30:40 +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=1790332242; cv=none; b=jz7LpBKuep7hz4MrgZ8X7bQ8vmOxh0lya6hfGgJe90EyeoL0pnxMZw584ru7XqSpS9m8/n5BWvJgjAT2/aMsBvfH+RnFWPBVkAcpOT7l53jN53+mkq0DS7lzPhJBa3CoynbbN4VzDqcgBBfIwSIC4qXhRPMX2NNKqsPwTQAxIa8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332242; c=relaxed/simple; bh=80Q2tBpp1wi2Ve/pnN6sDEMKH99cIVyy6S0cW1ch5qM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cPFQZU/ZK1ZCQNwV+O5zQx1fQNPChgkJ9I3SOGF+ZzHOjqLAvE+KZK63l3aWm11eZruoRe08ooSlApZ/aQrfmHAwGPkzBU4J0qg28jbvDWk3XfQScIVKidNe6T0O89irgUb9Xs7zCzk05Ys7MIx73XIYOZGBOJDJu20I7aykEjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WGcaY+KL; 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="WGcaY+KL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32AE21F00898; Fri, 25 Sep 2026 10:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332240; bh=d3bI8mhVnFEeTDn1solEDwCspD3RyI22OKxTrMGRThs=; h=From:To:Cc:Subject:Date:Reply-To; b=WGcaY+KLK1VL+pqiY0tLmVkj3pb53lapJLE58ZTGXly2VaNm7qVV6uDjFOlzZl4KR Kcd0xDKqrV2Byqrcb2ucZkkDm7S9KgrCdwi35KkSDzSSZcnHnhfu5D0vHEb6lMXfqG wWWTCGQAHc7C2lR4NK7NrB2+0CXuRxWIsFZdca98= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97968: hwmon: (corsair-cpro) Create debugfs entries after hwmon registration Date: Fri, 25 Sep 2026 12:24:31 +0200 Message-ID: <2026092517-CVE-2026-97968-94b5@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=3089; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LJtgmOxLmrJcAvlPj3hT5arXq4dJCLwt5Njs7Jsfd8s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvCM1v2iwL3ayig1qte3ZGuB2L69GJW4eT33cSW0x4 zO+mjodsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJFnEgwLphXfmTljT6wDf6vb pOJzWdncytPfMSzYIKiwM2/lYlX1tBusv8rkDHdldpQDAA== 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: (corsair-cpro) Create debugfs entries after hwmon registration ccp_debugfs_init() registers debugfs files whose private data is the devm allocated ccp. It runs before hwmon_device_register_with_info(), so when that registration fails, ccp_probe() returns with the files still in place. The HID core then frees ccp, and ccp_remove() is not called for a failed probe, so nothing removes them later either. Reading one of the files dereferences the freed pointer. Create the debugfs entries only after the hwmon device has been registered, so no failing path can leave them behind. The two version queries stay where they are. They send USB commands without holding ccp->mutex, which is only safe as long as nothing else can call send_usb_cmd(); once the hwmon device is registered its callbacks can do so concurrently. Only the debugfs creation moves, and it is told which queries succeeded. The Linux kernel CVE team has assigned CVE-2026-97968 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 5997eb60f896830126bc1783465b678b110e2fdd and fixed in 6.12.111 with commit 6c5d333216a937044acd3336e9ec7e30ff2eaee4 Issue introduced in 6.11 with commit 5997eb60f896830126bc1783465b678b110e2fdd and fixed in 6.18.53 with commit a58a966a440071bb877ef62535d1016952f83101 Issue introduced in 6.11 with commit 5997eb60f896830126bc1783465b678b110e2fdd and fixed in 7.2.7 with commit fdfe17cb865715aad30328678344eb79889207ab Issue introduced in 6.11 with commit 5997eb60f896830126bc1783465b678b110e2fdd and fixed in 7.3-rc3 with commit 508baf1713f32f287bfb4f85d759403ec8ba35a3 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-97968 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/corsair-cpro.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/6c5d333216a937044acd3336e9ec7e30ff2eaee4 https://git.kernel.org/stable/c/a58a966a440071bb877ef62535d1016952f83101 https://git.kernel.org/stable/c/fdfe17cb865715aad30328678344eb79889207ab https://git.kernel.org/stable/c/508baf1713f32f287bfb4f85d759403ec8ba35a3