CVE-2023-53007

MediumCVSS 5.5/10Last modified Nov 5, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

tracing: Make sure trace_printk() can output as soon as it can be used

Currently trace_printk() can be used as soon as early_trace_init() is called from start_kernel(). But if a crash happens, and "ftrace_dump_on_oops" is set on the kernel command line, all you get will be:

[ 0.456075] <idle>-0 0dN.2. 347519us : Unknown type 6 [ 0.456075] <idle>-0 0dN.2. 353141us : Unknown type 6 [ 0.456075] <idle>-0 0dN.2. 358684us : Unknown type 6

This is because the trace_printk() event (type 6) hasn't been registered yet. That gets done via an early_initcall(), which may be early, but not early enough.

Instead of registering the trace_printk() event (and other ftrace events, which are not trace events) via an early_initcall(), have them registered at the same time that trace_printk() can be used. This way, if there is a crash before early_initcall(), then the trace_printk()s will actually be useful.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= e725c731e3bb1e892e7b564c945b121cb41d1087, < f97eb0ab066133483a65c93eb894748de2f6b598; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < b94d7c7654356860dd7719120c7d15ba38b6162a; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < de3930a4883ddad2244efd6d349013294c62c75c; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < b0af180514edea6c83dc9a299d9f383009c99f25; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < 198c83963f6335ca6d690cff067679560f2a3a22; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253
LinuxLinux4.12

References

Timeline

Published
Mar 27, 2025
Last modified
Nov 5, 2026
NVD status
Analyzed

Related CVEs from 2023

CVE-2023-530085.5In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential memory leaks in session setup Make sure to free ciCVE-2023-530095.5In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Add sync after creating vram bo There will be data corruptCVE-2023-53018.8A vulnerability classified as critical was found in DedeCMS 5.7.111. This vulnerability affects the function AddMyAddon of the file album_adCVE-2023-530105.5In the Linux kernel, the following vulnerability has been resolved: bnxt: Do not read past the end of test names Test names were being conCVE-2023-530115.5In the Linux kernel, the following vulnerability has been resolved: net: stmmac: enable all safety features by default In the original impCVE-2023-530125.5In the Linux kernel, the following vulnerability has been resolved: thermal: core: call put_device() only after device_register() fails puCVE-2023-530135.5In the Linux kernel, the following vulnerability has been resolved: ptdma: pt_core_execute_cmd() should use spinlock The interrupt handlerCVE-2023-530145.5In the Linux kernel, the following vulnerability has been resolved: dmaengine: tegra: Fix memory leak in terminate_all() Terminate vdesc wCVE-2023-530155.5In the Linux kernel, the following vulnerability has been resolved: HID: betop: check shape of output reports betopff_init() only checks tCVE-2023-530165.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix possible deadlock in rfcomm_sk_state_change syzbot repoCVE-2023-530175.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() When hciCVE-2023-530185.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: Fix memory leaks When hci_cmd_sync_queue() failed
CVE-2023-53007: Medium severity, CVSS 5.5 | Vulnix