[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122716-CVE-2024-56569-cc71@gregkh>
Date: Fri, 27 Dec 2024 15:23:20 +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-56569: ftrace: Fix regression with module command in stack_trace_filter
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ftrace: Fix regression with module command in stack_trace_filter
When executing the following command:
# echo "write*:mod:ext3" > /sys/kernel/tracing/stack_trace_filter
The current mod command causes a null pointer dereference. While commit
0f17976568b3f ("ftrace: Fix regression with module command in stack_trace_filter")
has addressed part of the issue, it left a corner case unhandled, which still
results in a kernel crash.
The Linux kernel CVE team has assigned CVE-2024-56569 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 5.4.287 with commit 43ca32ce12888fb0eeb2d74dfc558dea60d3473e
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 5.10.231 with commit 5dabb7af57bc72308a6e2e81a5dd756eef283803
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 5.15.174 with commit 885109aa0c70639527dd6a65c82e63c9ac055e3d
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 6.1.120 with commit 7ae27880de3482e063fcc1f72d9a298d0d391407
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 6.6.64 with commit 8a92dc4df89c50bdb26667419ea70e0abbce456e
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 6.12.4 with commit 19cacabdd5a8487ae566cbecb4d03bcb038a067e
Issue introduced in 4.12 with commit 04ec7bb642b77374b53731b795b5654b5aff1c00 and fixed in 6.13-rc1 with commit 45af52e7d3b8560f21d139b3759735eead8b1653
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-56569
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:
kernel/trace/ftrace.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/43ca32ce12888fb0eeb2d74dfc558dea60d3473e
https://git.kernel.org/stable/c/5dabb7af57bc72308a6e2e81a5dd756eef283803
https://git.kernel.org/stable/c/885109aa0c70639527dd6a65c82e63c9ac055e3d
https://git.kernel.org/stable/c/7ae27880de3482e063fcc1f72d9a298d0d391407
https://git.kernel.org/stable/c/8a92dc4df89c50bdb26667419ea70e0abbce456e
https://git.kernel.org/stable/c/19cacabdd5a8487ae566cbecb4d03bcb038a067e
https://git.kernel.org/stable/c/45af52e7d3b8560f21d139b3759735eead8b1653
Powered by blists - more mailing lists