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 D7DF5147C99 for ; Tue, 21 May 2024 15:39:10 +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=1716305950; cv=none; b=bwG+FMY9rwAQzv6qls9DkOnEzaCqd2ufgU7HbgQQNCSvTKZiHMUMzCf3wvsprffCQ3HPDyiCG5MaxSzaPX7YeSJu2PT0+lt6OP98hZm+lRu23qRgbRqU5zFxW2OKrhtccoZjsUj3HA3u4Ic2dl8QW411M43O9U3YDlijYVueW/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305950; c=relaxed/simple; bh=C+wh2kiCugsrX/axFkpwOf2Jwul0SJtBsRieiAwgyvQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RCXsPBthBsseSzJAI2QKcnGvcRNB4DoVZ7ak2qXUIvCACJJIf2mJA/9tn8JRmH4JuDLHeayplfW+OGx9mcw3CRjz3gwUEv8YitJJWnlDg8Viuicmaji7MuvC149KmHOG5sO8zFJJMF5g/7Z8xCgDGyyaVRTU0tAM6pLyJ9kLolg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q8l0+eG6; 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="q8l0+eG6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57DC0C2BD11; Tue, 21 May 2024 15:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305950; bh=C+wh2kiCugsrX/axFkpwOf2Jwul0SJtBsRieiAwgyvQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=q8l0+eG6ui9tG/92EN8HvV3irT01qKXZGEXGatruM7c46f8J34R5ZdsEBVF/Tn4CI xdGTkYfPg+6Qhp7bT2mfa4qhXydRbCGjL1LgtFfep7qlw8Rc7Lj4X8mZ03RWZVaOpE d34Gbj2wsVGE8xZJdLyPznBnwB3n7v1hhTMBzsSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52863: hwmon: (axi-fan-control) Fix possible NULL pointer dereference Date: Tue, 21 May 2024 17:32:39 +0200 Message-ID: <2024052118-CVE-2023-52863-490d@gregkh> X-Mailer: git-send-email 2.45.1 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=2571; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C+wh2kiCugsrX/axFkpwOf2Jwul0SJtBsRieiAwgyvQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++9w2XXyR5ZYjsNu/I1Tn98v/31SYTFJWvboVfDjFc 5ZOm3ddRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk8FGGBUucQtgMRTVs/jNk VTuf9F/+NlZwM8P8QpvAHwrsdXYJG+3XxRru3sniUu0PAA== 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: hwmon: (axi-fan-control) Fix possible NULL pointer dereference axi_fan_control_irq_handler(), dependent on the private axi_fan_control_data structure, might be called before the hwmon device is registered. That will cause an "Unable to handle kernel NULL pointer dereference" error. The Linux kernel CVE team has assigned CVE-2023-52863 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 5.10.201 with commit 7d870088db48 Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 5.15.139 with commit b3e7eb23a6e9 Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 6.1.63 with commit 33de53a27060 Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 6.5.12 with commit f62b89698478 Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 6.6.2 with commit c49f14cc1bb1 Issue introduced in 5.7 with commit 8412b410fa5e and fixed in 6.7 with commit 2a5b3370a1d9 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-2023-52863 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/axi-fan-control.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/7d870088db4863c514a7f8751cd593751983029a https://git.kernel.org/stable/c/b3e7eb23a6e97642ff3190431c06475d9ca1e062 https://git.kernel.org/stable/c/33de53a2706066d526173dc743faf43d92c62105 https://git.kernel.org/stable/c/f62b8969847850ba7596cb145cc47c65ea57dae0 https://git.kernel.org/stable/c/c49f14cc1bb12c625a1c572e8a95b6adefd4d8eb https://git.kernel.org/stable/c/2a5b3370a1d9750eca325292e291c8c7cb8cf2e0