{"id":"CVE-2023-53007","aliases":["CVE-2023-53007"],"related":[],"kind":"vulnerability","state":"published","title":"tracing: Make sure trace_printk() can output as soon as it can be used","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo: Asegúrese de que trace_printk() pueda generar resultados tan pronto como sea posible. Actualmente, trace_printk() puede usarse tan pronto como se llame a early_trace_init() desde start_kernel(). Sin embargo, si se produce un fallo y se configura \"ftrace_dump_on_oops\" en la línea de comandos del kernel, solo se obtendrá: [ 0.456075] -0 0dN.2.347519us : Tipo desconocido 6 [ 0.456075] -0 0dN.2.353141us : Tipo desconocido 6 [ 0.456075] -0 0dN.2.358684us : Tipo desconocido 6. Esto se debe a que el evento trace_printk() (tipo 6) aún no se ha registrado. Esto se realiza mediante una llamada early_initcall(), que puede ser temprana, pero no lo suficiente. En lugar de registrar el evento trace_printk() (y otros eventos ftrace, que no son eventos de seguimiento) mediante una llamada early_initcall(), regístrelos al mismo tiempo que trace_printk(). De esta forma, si se produce un fallo antes de la llamada early_initcall(), las llamadas trace_printk() serán realmente útiles.","source":"nvd"}],"published":"2025-03-27T16:43:38.102Z","modified":"2026-11-05T21:17:06.773Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"f97eb0ab066133483a65c93eb894748de2f6b598","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"b94d7c7654356860dd7719120c7d15ba38b6162a","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"de3930a4883ddad2244efd6d349013294c62c75c","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"b0af180514edea6c83dc9a299d9f383009c99f25","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"198c83963f6335ca6d690cff067679560f2a3a22","status":"affected"},{"type":"git","introduced":"e725c731e3bb1e892e7b564c945b121cb41d1087","fixed":"3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"4.14.305","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.272","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.231","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.166","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.91","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.9","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"4.14.305"},{"status":"affected","introduced":"4.15","fixed":"4.19.272"},{"status":"affected","introduced":"4.20","fixed":"5.4.231"},{"status":"affected","introduced":"5.5","fixed":"5.10.166"},{"status":"affected","introduced":"5.11","fixed":"5.15.91"},{"status":"affected","introduced":"5.16","fixed":"6.1.9"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f97eb0ab066133483a65c93eb894748de2f6b598","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b94d7c7654356860dd7719120c7d15ba38b6162a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76b2390fdc80c0a8300e5da5b6b62d201b6fe9ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de3930a4883ddad2244efd6d349013294c62c75c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0af180514edea6c83dc9a299d9f383009c99f25","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/198c83963f6335ca6d690cff067679560f2a3a22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bb06eb6e9acf7c4a3e1b5bc87aed398ff8e2253","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:14:20.698Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53007","url":"https://www.cve.org/CVERecord?id=CVE-2023-53007","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:53.945Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53007","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53007","licence":"Public domain","modified":"2026-11-05T21:17:06.773Z"}],"updatedAt":"2026-11-25T22:58:34.598Z","epss":{"score":0.0021,"percentile":0.11867,"date":"2026-12-02T12:00:21.000Z"}}