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 B9C61149C6B for ; Wed, 3 Apr 2024 14:58:23 +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=1712156303; cv=none; b=fxO8hgfFu+MqNBRwCE0sYnPKsqWtXB6f7SAPMnvbZAikZElFgRwHihmykaBXm1E/c8RoOn5dHzz7OFwcj9DKOO//KR4sSELfEsFVR3fPSu6wAz2OMb5zjXVDDG8xqAOe2V5fuDLg4mT5MlsKUsFc5CnRI1Lka+CX2qTzH84hOmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156303; c=relaxed/simple; bh=C51i9VZgCmhUVdChyTOgg49u+aPofhqJS1p5SG5p6CY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e66gcbq3PcsMSMrqU4OTSPRpk6aYr9x9Ph+f/u8hrqfA+RjcV3IwjwNU9RDm637UOAjhh5ZLULOKDz0YnZKAmewBRTd0V9Yn4ijFOPbZAYoGnxfEST36jEHd//ZwwAH/l5DYfSUaHjewf4L5ZxkTVq/DRnTpw1pXodt9dGJNayg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2oWC0HTn; 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="2oWC0HTn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2509EC433C7; Wed, 3 Apr 2024 14:58:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712156303; bh=C51i9VZgCmhUVdChyTOgg49u+aPofhqJS1p5SG5p6CY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2oWC0HTngdtz1VCIypTNDqbQ7VHuU+ioq1WwsEHicTUyBpcNHdSFV6WuuHxDKpOnd 3yFV4IVNYNa7cF5BDAoHmfhka+etrMkFTwdhmVVvXlRiWXC8AJffD+6vXJDHKoG6vO JqYgJnFtuS4SUzPzBskqvHEq4v0TOtrLQourZfQw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26717: HID: i2c-hid-of: fix NULL-deref on failed power up Date: Wed, 3 Apr 2024 16:56:08 +0200 Message-ID: <2024040344-CVE-2024-26717-0d01@gregkh> X-Mailer: git-send-email 2.44.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=2348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C51i9VZgCmhUVdChyTOgg49u+aPofhqJS1p5SG5p6CY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8uR9Cvjq+T0oLmzbR5c/1vAf8MxbyOG+Oe/WrcqLSq jOPZ9nv74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJxHAyLNg612ih+AUfgaXH RDX2FCa+OClx6j1QdKXW9Ox8qZcTXQpKHZbHnvm92VcHAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid-of: fix NULL-deref on failed power up A while back the I2C HID implementation was split in an ACPI and OF part, but the new OF driver never initialises the client pointer which is dereferenced on power-up failures. The Linux kernel CVE team has assigned CVE-2024-26717 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit b33752c30023 and fixed in 5.15.149 with commit 62f5d219edbd Issue introduced in 5.12 with commit b33752c30023 and fixed in 6.1.79 with commit d7d7a0e3b6f5 Issue introduced in 5.12 with commit b33752c30023 and fixed in 6.6.18 with commit 4cad91344a62 Issue introduced in 5.12 with commit b33752c30023 and fixed in 6.7.6 with commit e28d6b63aeec Issue introduced in 5.12 with commit b33752c30023 and fixed in 6.8 with commit 00aab7dcb226 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-2024-26717 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/i2c-hid/i2c-hid-of.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/62f5d219edbd174829aa18d4b3d97cd5fefbb783 https://git.kernel.org/stable/c/d7d7a0e3b6f5adc45f23667cbb919e99093a5b5c https://git.kernel.org/stable/c/4cad91344a62536a2949873bad6365fbb6232776 https://git.kernel.org/stable/c/e28d6b63aeecbda450935fb58db0e682ea8212d3 https://git.kernel.org/stable/c/00aab7dcb2267f2aef59447602f34501efe1a07f