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 EDC8D23C8AE for ; Fri, 24 Apr 2026 14:45:27 +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=1777041928; cv=none; b=WGdb9nyeY04XlOW+frVtOfw9i721pbTyj5oZuxGyimDeNi4DW1uouv9F7YeB8IFXQ2qnGOIJX5U3xzwFhdMgjyqaEqG6agBallI57fDkMiNSiBGAgQUGS1aDoZTyUMGYLqMltYPYuDpzzBhG6FqLQXWyggAgRasZ54ovhyAtCo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041928; c=relaxed/simple; bh=EfeU9hzvcwcvY1YLEROq3DPtqjQ586Sq3SvDjlIKv+I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DPNQN1lUXj8P0uImkl+gsBIM8g5q4P1FXf00mzQgzh1KasoLmzfUuqCgiRN7E5+hxhxP92AhNuvHOrnoCJ6RFVZRHFWagIUI1Q9IqxOuXK7R41pqgE/7o3Ppq8maVuGgRkrefC3D78aYW6rXcnSwbk862TtsFCIkfVOVuUgmn/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pLTYCEbH; 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="pLTYCEbH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84834C19425; Fri, 24 Apr 2026 14:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041927; bh=EfeU9hzvcwcvY1YLEROq3DPtqjQ586Sq3SvDjlIKv+I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pLTYCEbHp+VpwQn9OA2nc/wzJT4D/D1nPptai6v2m5BcH5g/OKzXQ1VgzwXR2Bb0D +5Oxz5hAs9nGWfh5tcEbxMh1gD1+DPd6zkzIX+NqXBWKD3M3Jzo0cnlRW3coyvNcLe ViPnqMU/PGkPrIibrGd7yTdC8RDcm7VpBvBVn+Uk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31625: HID: alps: fix NULL pointer dereference in alps_raw_event() Date: Fri, 24 Apr 2026 16:44:01 +0200 Message-ID: <2026042427-CVE-2026-31625-71c1@gregkh> X-Mailer: git-send-email 2.53.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=2409; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=47tz5yAc7/rBYKS1ktCjtOyrBrNprIfQzXzfZ3S3Bzs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG/unZ2j2b4/1mOqfXfLMOXmuc86kCM89mxe90K7RP 8jR7ePQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5ZM4wT3vGttzQlMc7FHp8 zEW9V5yvlzLewjDf+1rx6aYII3OxSxwaOwL9VHaU5CQDAA== 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: alps: fix NULL pointer dereference in alps_raw_event() Commit ecfa6f34492c ("HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them") attempted to fix up the HID drivers that had missed the previous fix that was done in 2ff5baa9b527 ("HID: appleir: Fix potential NULL dereference at raw event handle"), but the alps driver was missed. Fix this up by properly checking in the hid-alps driver that it had been claimed correctly before attempting to process the raw event. The Linux kernel CVE team has assigned CVE-2026-31625 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit 8eed7bce7a4c41ab28ee4891103623a12fd41611 Fixed in 6.18.24 with commit 0091dfa542a362c178a7e9393097138a57d327d1 Fixed in 6.19.14 with commit 4b618248d2307a219d9431a730cfe1156c8e3386 Fixed in 7.0.1 with commit ee2cb3ddfdca949dbc0c3f796ed5a439f0efc9f6 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-31625 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-alps.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/8eed7bce7a4c41ab28ee4891103623a12fd41611 https://git.kernel.org/stable/c/0091dfa542a362c178a7e9393097138a57d327d1 https://git.kernel.org/stable/c/4b618248d2307a219d9431a730cfe1156c8e3386 https://git.kernel.org/stable/c/ee2cb3ddfdca949dbc0c3f796ed5a439f0efc9f6 https://git.kernel.org/stable/c/1badfc4319224820d5d890f8eab6aa52e4e83339