Advisory Published
Updated

CVE-2023-53007: tracing: Make sure trace_printk() can output as soon as it can be used

First published: Thu Mar 27 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-53007?

    The severity of CVE-2023-53007 is considered medium, as it can lead to information leakage in the Linux kernel.

  • How do I fix CVE-2023-53007?

    To fix CVE-2023-53007, users should update their Linux kernel to a version that includes the fix for this vulnerability.

  • What systems are affected by CVE-2023-53007?

    CVE-2023-53007 affects various versions of the Linux kernel used across many Linux distributions.

  • What are the potential consequences of CVE-2023-53007?

    Potential consequences of CVE-2023-53007 include the possibility of exposing sensitive information during kernel crashes.

  • Is CVE-2023-53007 being actively exploited in the wild?

    As of now, there are no public reports indicating that CVE-2023-53007 is being actively exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203