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 41799503BE3 for ; Wed, 16 Sep 2026 10:45:14 +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=1789555519; cv=none; b=kpSKC4jUFO/jTArr/PPVKnvnoLr2VGKjdOzk0NydvvDAn/I1n+LD5zI+R7dSmjj0eVqNF3dDJcy6x7I/yJ87IgZ8/QHr8rpGRG0V/TJfoi8Z8VQ82bxkf/afeql1Ngx/vVNB13B87O/lvPVC52z0Mc1oWUrQ9MZAuEzqic6a/iE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555519; c=relaxed/simple; bh=9nC4EqE17zGsRCcB6oEk1NEVwxA61wLa3wXrsP6+o2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LksGW3MqVLw5cJccIUSl/uMJ3a/3fYq9JuxGG8C45XldIxE3aX2djUslJerveyFy6DRD3REMrlFu1j5GORIoeX0bNq1Rbs93lM+LxMPzUUHOpWOt1Z/yPENXhLSN428PIhXtd9SKeYrGTVaeOm/XvCXaOw7mopzKxQPxrRcMzxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LemeehJa; 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="LemeehJa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB6401F000FF; Wed, 16 Sep 2026 10:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555514; bh=dtjoRvUyY3OLg85rx0zMKySCgELpzYeFoZhaB7hAoZo=; h=From:To:Cc:Subject:Date:Reply-To; b=LemeehJagO7mxnmmNF4z224Lt4bq/IM8jYxiGOs11J7o9K9h4SFAEEkcD3Iikl8Ra rH7534V2P+OmBfr4rsk3Dgs8uU48XsIZa79qrzpyRRTI4Dr018hyq0Zf9LFHCjDRLs IP6BSpjM0jnd5mc0qkiCrEqNIl3TQwlGiiv7WEuY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90041: HID: sony: clean up device list on probe failure Date: Wed, 16 Sep 2026 11:32:51 +0100 Message-ID: <2026091608-CVE-2026-90041-b012@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=2866; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ic2RVsfKAGoEuCHWQw8oXaWqzUYLgPdK+B/TtJGIpcs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8jdoSDb0bBW06J4xJ25248UlK/c37Vu01054/anjm XttKm7c7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJdFoyLDj/Rv9n0KLzTj/e Tr3Qld10OvLn+90MC87lcx7X9L7vw3b+9VtF7bdf1MXW/QYA 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: HID: sony: clean up device list on probe failure sony_input_configured() adds some controllers to sony_device_list before HID core registers their input devices. input_register_device() can fail after the callback returns successfully. sony_probe() then observes that HID_CLAIMED_INPUT is clear and unwinds, but only stops the HID hardware. The devres-managed sony_sc is freed while its list node remains linked, so the next matching controller traverses freed memory. Initialize the list node and device ID to inactive states. Make list removal idempotent and run the driver-private cleanup on every probe failure path. This also makes a second cleanup safe when sony_input_configured() already unwound a partial initialization before sony_probe() handles the missing input claim. Found by 0sec (https://0sec.ai) using automated source analysis; verified against the HID input registration and probe unwind paths. The Linux kernel CVE team has assigned CVE-2026-90041 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 4f967f6d73746f66514528cc1191025f0b5d69b3 and fixed in 6.18.51 with commit 3b4709e4864908bb06c48c500cc8db8d3d55d139 Issue introduced in 4.10 with commit 4f967f6d73746f66514528cc1191025f0b5d69b3 and fixed in 7.2.5 with commit d044d796e2a369c6051c7e83dce88c7baa2494d4 Issue introduced in 4.10 with commit 4f967f6d73746f66514528cc1191025f0b5d69b3 and fixed in 7.3-rc1 with commit 7c65699a3a311198a07659a614fe64d45924839e 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-90041 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/hid/hid-sony.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/3b4709e4864908bb06c48c500cc8db8d3d55d139 https://git.kernel.org/stable/c/d044d796e2a369c6051c7e83dce88c7baa2494d4 https://git.kernel.org/stable/c/7c65699a3a311198a07659a614fe64d45924839e