{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53007","id":"CVE-2023-53007","title":"tracing: Make sure trace_printk() can output as soon as it can be used","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Make sure trace_printk() can output as soon as it can be used\n\nCurrently trace_printk() can be used as soon as early_trace_init() is\ncalled from start_kernel(). But if a crash happens, and\n\"ftrace_dump_on_oops\" is set on the kernel command line, all you get will\nbe:\n\n  [    0.456075]   <idle>-0         0dN.2. 347519us : ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Make sure trace_printk() can output as soon as it can be used\n\nCurrently trace_printk() can be used as soon as early_trace_init() is\ncalled from start_kernel(). But if a crash happens, and\n\"ftrace_dump_on_oops\" is set on the kernel command line, all you get will\nbe:\n\n  [    0.456075]   <idle>-0         0dN.2. 347519us : Unknown type 6\n  [    0.456075]   <idle>-0         0dN.2. 353141us : Unknown type 6\n  [    0.456075]   <idle>-0         0dN.2. 358684us : Unknown type 6\n\nThis is because the trace_printk() event (type 6) hasn't been registered\nyet. That gets done via an early_initcall(), which may be early, but not\nearly enough.\n\nInstead of registering the trace_printk() event (and other ftrace events,\nwhich are not trace events) via an early_initcall(), have them registered at\nthe same time that trace_printk() can be used. This way, if there is a\ncrash before early_initcall(), then the trace_printk()s will actually be\nuseful.","published":"2025-03-27T16:43:38.102Z","updated":"2026-11-07T02:30:52.552702534Z","reserved":"2025-03-27T16:40:15.745Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"f97eb0ab066133483a65c93eb894748de2f6b598","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"b94d7c7654356860dd7719120c7d15ba38b6162a","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"de3930a4883ddad2244efd6d349013294c62c75c","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"b0af180514edea6c83dc9a299d9f383009c99f25","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"198c83963f6335ca6d690cff067679560f2a3a22","status":"affected","versionType":"git"},{"version":"e725c731e3bb1e892e7b564c945b121cb41d1087","lessThan":"3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.12","status":"unaffected","versionType":"semver"},{"version":"4.14.305","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.272","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.231","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.166","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.91","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.9","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f97eb0ab066133483a65c93eb894748de2f6b598","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b94d7c7654356860dd7719120c7d15ba38b6162a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/de3930a4883ddad2244efd6d349013294c62c75c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0af180514edea6c83dc9a299d9f383009c99f25","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/198c83963f6335ca6d690cff067679560f2a3a22","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53007.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53007","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0021,"epssPercentile":0.11254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53007","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53007","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53007","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53007","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}