# CVE-2023-53007: tracing: Make sure trace\_printk() can output as soon as it can be used

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-03-27T16:43:38.102Z
- **Modified:** 2026-11-05T21:17:06.773Z

## Who should check

- Anyone running Linux \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< f97eb0ab066133483a65c93eb894748de2f6b598; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b94d7c7654356860dd7719120c7d15ba38b6162a; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< de3930a4883ddad2244efd6d349013294c62c75c; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b0af180514edea6c83dc9a299d9f383009c99f25; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 198c83963f6335ca6d690cff067679560f2a3a22; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253
- Anyone running Linux 4.12

## 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.

## Affected and fixed versions

- Linux: \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< f97eb0ab066133483a65c93eb894748de2f6b598; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b94d7c7654356860dd7719120c7d15ba38b6162a; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< de3930a4883ddad2244efd6d349013294c62c75c; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b0af180514edea6c83dc9a299d9f383009c99f25; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 198c83963f6335ca6d690cff067679560f2a3a22; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53007.md
Affected: Linux >= e725c731e3bb1e892e7b564c945b121cb41d1087, < f97eb0ab066133483a65c93eb894748de2f6b598; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < b94d7c7654356860dd7719120c7d15ba38b6162a; >= e725c731e3bb1e892e7b564c945b121cb41d1087, < 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce; >= e725c731e3bb1e892e7b564…
Fixed in: Linux 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce, Linux 198c83963f6335ca6d690cff067679560f2a3a22, Linux 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53007 being exploited?

There is no confirmed exploitation: CVE-2023-53007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53007?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53007?

Linux \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< f97eb0ab066133483a65c93eb894748de2f6b598; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b94d7c7654356860dd7719120c7d15ba38b6162a; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< de3930a4883ddad2244efd6d349013294c62c75c; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< b0af180514edea6c83dc9a299d9f383009c99f25; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 198c83963f6335ca6d690cff067679560f2a3a22; \>= e725c731e3bb1e892e7b564c945b121cb41d1087, \< 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253; Linux 4.12.

### Is there a fix for CVE-2023-53007?

Yes. Fixed in Linux 76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce, Linux 198c83963f6335ca6d690cff067679560f2a3a22, Linux 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253. Upgrade Linux to 3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253 or later.

### How do I check if I'm affected by CVE-2023-53007?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f97eb0ab066133483a65c93eb894748de2f6b598>
- patch: <https://git.kernel.org/stable/c/b94d7c7654356860dd7719120c7d15ba38b6162a>
- patch: <https://git.kernel.org/stable/c/76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce>
- patch: <https://git.kernel.org/stable/c/de3930a4883ddad2244efd6d349013294c62c75c>
- patch: <https://git.kernel.org/stable/c/b0af180514edea6c83dc9a299d9f383009c99f25>
- patch: <https://git.kernel.org/stable/c/198c83963f6335ca6d690cff067679560f2a3a22>
- patch: <https://git.kernel.org/stable/c/3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53007>

HTML: <https://flawdb.com/CVE-2023-53007> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53007>
