[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122714-CVE-2024-53165-c311@gregkh>
Date: Fri, 27 Dec 2024 14:52:11 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53165: sh: intc: Fix use-after-free bug in register_intc_controller()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
sh: intc: Fix use-after-free bug in register_intc_controller()
In the error handling for this function, d is freed without ever
removing it from intc_list which would lead to a use after free.
To fix this, let's only add it to the list after everything has
succeeded.
The Linux kernel CVE team has assigned CVE-2024-53165 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 4.19.325 with commit 3c7c806b3eafd94ae0f77305a174d63b69ec187c
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 5.4.287 with commit d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 5.10.231 with commit 971b4893457788e0e123ea552f0bb126a5300e61
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 5.15.174 with commit c3f4f4547fb291982f5ef56c048277c4d5ccc4e4
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 6.1.120 with commit c43df7dae28fb9fce96ef088250c1e3c3a77c527
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 6.6.64 with commit b8b84dcdf3ab1d414304819f824b10efba64132c
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 6.11.11 with commit 6ba6e19912570b2ad68298be0be1dc779014a303
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 6.12.2 with commit 588bdec1ff8b81517dbae0ae51c9df52c0b952d3
Issue introduced in 2.6.30 with commit 2dcec7a988a1895540460a0bf5603bab63d5a3ed and fixed in 6.13-rc1 with commit 63e72e551942642c48456a4134975136cdcb9b3c
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-53165
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/sh/intc/core.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/3c7c806b3eafd94ae0f77305a174d63b69ec187c
https://git.kernel.org/stable/c/d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc
https://git.kernel.org/stable/c/971b4893457788e0e123ea552f0bb126a5300e61
https://git.kernel.org/stable/c/c3f4f4547fb291982f5ef56c048277c4d5ccc4e4
https://git.kernel.org/stable/c/c43df7dae28fb9fce96ef088250c1e3c3a77c527
https://git.kernel.org/stable/c/b8b84dcdf3ab1d414304819f824b10efba64132c
https://git.kernel.org/stable/c/6ba6e19912570b2ad68298be0be1dc779014a303
https://git.kernel.org/stable/c/588bdec1ff8b81517dbae0ae51c9df52c0b952d3
https://git.kernel.org/stable/c/63e72e551942642c48456a4134975136cdcb9b3c
Powered by blists - more mailing lists