[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025032713-CVE-2023-53005-9bf0@gregkh>
Date: Thu, 27 Mar 2025 17:43:52 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2023-53005: trace_events_hist: add check for return value of 'create_hist_field'
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
trace_events_hist: add check for return value of 'create_hist_field'
Function 'create_hist_field' is called recursively at
trace_events_hist.c:1954 and can return NULL-value that's why we have
to check it to avoid null pointer dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
The Linux kernel CVE team has assigned CVE-2023-53005 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 4.19.272 with commit d2d1ada58e7cc100b8d7d6b082d19321ba4a700a
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 5.4.231 with commit 31b2414abeaa6de0490e85164badc6dcb1bb8ec9
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 5.10.166 with commit 886aa449235f478e262bbd5dcdee6ed6bc202949
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 5.15.91 with commit 592ba7116fa620425725ff0972691f352ba3caf6
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 6.1.9 with commit b4e7e81b4fdfcf457daee6b7a61769f62198d840
Issue introduced in 4.17 with commit 30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3 and fixed in 6.2 with commit 8b152e9150d07a885f95e1fd401fc81af202d9a4
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-53005
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/trace_events_hist.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/d2d1ada58e7cc100b8d7d6b082d19321ba4a700a
https://git.kernel.org/stable/c/31b2414abeaa6de0490e85164badc6dcb1bb8ec9
https://git.kernel.org/stable/c/886aa449235f478e262bbd5dcdee6ed6bc202949
https://git.kernel.org/stable/c/592ba7116fa620425725ff0972691f352ba3caf6
https://git.kernel.org/stable/c/b4e7e81b4fdfcf457daee6b7a61769f62198d840
https://git.kernel.org/stable/c/8b152e9150d07a885f95e1fd401fc81af202d9a4
Powered by blists - more mailing lists