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 BC13A1B0437 for ; Wed, 18 Jun 2025 11:03:42 +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=1750244622; cv=none; b=E4YM/tztKtoyuSwIghez3DFBii6kP71vp63KhT+gLaols7oxigHNRp+EBNQ7axLOYs8Gam7g9oLO2yf224k3cOoBvH11WFnHmLdoFGWyC9GDijtrdYG5HmT5DSTg/TXlxD+gDzNT7Em42VNRO/zCT3m4cPe+NjRv2OHTL/8lNzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244622; c=relaxed/simple; bh=vh32h5XDrlgN1h7BBbyh37YbIkJP0XGFFjyo7u2zXfc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qkfGZpoxsG8O9Y9b3n/4R9d9u6/3zEor08mAO8lOgW9ucD2ho3Ny7HXTT4GMRYaxQj561kAFv3es2kSZTkszIHNxymjRtxt/ZjTHaoz+UZ48Rqq1EUVkzKbKd932czTTnrD1E4Sw8qt7rDvszU/dJaCdVwHxDgBds8y0sBvUmcM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F+lWWAiX; 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="F+lWWAiX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A39EC4CEE7; Wed, 18 Jun 2025 11:03:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244622; bh=vh32h5XDrlgN1h7BBbyh37YbIkJP0XGFFjyo7u2zXfc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=F+lWWAiXgn/SBRyQoiU+lrLTt/Sof+jH/oJeDT3COVOMU60l5O/m7TEl/JOtN9lGN Xw7HZhuFe+8wUxhYrkZed6bbZifWbaMPEEDxaQUHjhO4i0YsxFtci84VZg81fevjrW m62Mm3gPPCxTI6eA7In+6WpJoy7WKPSurDS8uJdA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49984: HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report Date: Wed, 18 Jun 2025 13:00:49 +0200 Message-ID: <2025061822-CVE-2022-49984-fa6b@gregkh> X-Mailer: git-send-email 2.49.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=2971; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XAK9A5CJXhKY6J8qJW1Mg0g0v83lHsWZGYwAGReBaK8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc9zkUzjPrL13+/n8eQtrJon5pv+s9b3NJe7y7k3om eXG5h/ndsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEjvgyLLgYzrp7Uol85eet 4WHc9mu+/Xy0+wfD/OjV38UtphW523nMFk5Mtzvvk3jtFgA= 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: steam: Prevent NULL pointer dereference in steam_{recv,send}_report It is possible for a malicious device to forgo submitting a Feature Report. The HID Steam driver presently makes no prevision for this and de-references the 'struct hid_report' pointer obtained from the HID devices without first checking its validity. Let's change that. The Linux kernel CVE team has assigned CVE-2022-49984 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 4.19.257 with commit c20d03b82a2e3ddbb555dad4d4f3374a9763222c Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 5.4.212 with commit fa2b822d86be5b5ad54fe4fa2daca464e71ff90a Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 5.10.141 with commit dc815761948ab5b8c94db6cb53c95103588f16ae Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 5.15.65 with commit 989560b6d9e00d99e07bc33067fa1c770994bf4d Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 5.19.7 with commit dee1e51b54794e90763e70a3c78f27ba4fa930ec Issue introduced in 4.18 with commit c164d6abf3841ffacfdb757c10616f9cb1f67276 and fixed in 6.0 with commit cd11d1a6114bd4bc6450ae59f6e110ec47362126 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-2022-49984 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-steam.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/c20d03b82a2e3ddbb555dad4d4f3374a9763222c https://git.kernel.org/stable/c/fa2b822d86be5b5ad54fe4fa2daca464e71ff90a https://git.kernel.org/stable/c/dc815761948ab5b8c94db6cb53c95103588f16ae https://git.kernel.org/stable/c/989560b6d9e00d99e07bc33067fa1c770994bf4d https://git.kernel.org/stable/c/dee1e51b54794e90763e70a3c78f27ba4fa930ec https://git.kernel.org/stable/c/cd11d1a6114bd4bc6450ae59f6e110ec47362126