{"id":"CVE-2022-49801","aliases":["CVE-2022-49801"],"related":[],"kind":"vulnerability","state":"published","title":"tracing: Fix memory leak in tracing_read_pipe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix memory leak in tracing_read_pipe()\n\nkmemleak reports this issue:\n\nunreferenced object 0xffff888105a18900 (size 128):\n  comm \"test_progs\", pid 18933, jiffies 4336275356 (age 22801.766s)\n  hex dump (first 32 bytes):\n    25 73 00 90 81 88 ff ff 26 05 00 00 42 01 58 04  %s......&...B.X.\n    03 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<00000000560143a1>] __kmalloc_node_track_caller+0x4a/0x140\n    [<000000006af00822>] krealloc+0x8d/0xf0\n    [<00000000c309be6a>] trace_iter_expand_format+0x99/0x150\n    [<000000005a53bdb6>] trace_check_vprintf+0x1e0/0x11d0\n    [<0000000065629d9d>] trace_event_printf+0xb6/0xf0\n    [<000000009a690dc7>] trace_raw_output_bpf_trace_printk+0x89/0xc0\n    [<00000000d22db172>] print_trace_line+0x73c/0x1480\n    [<00000000cdba76ba>] tracing_read_pipe+0x45c/0x9f0\n    [<0000000015b58459>] vfs_read+0x17b/0x7c0\n    [<000000004aeee8ed>] ksys_read+0xed/0x1c0\n    [<0000000063d3d898>] do_syscall_64+0x3b/0x90\n    [<00000000a06dda7f>] entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\niter->fmt alloced in\n  tracing_read_pipe() -> .. ->trace_iter_expand_format(), but not\nfreed, to fix, add free in tracing_release_pipe()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix memory leak in tracing_read_pipe()\n\nkmemleak reports this issue:\n\nunreferenced object 0xffff888105a18900 (size 128):\n  comm \"test_progs\", pid 18933, jiffies 4336275356 (age 22801.766s)\n  hex dump (first 32 bytes):\n    25 73 00 90 81 88 ff ff 26 05 00 00 42 01 58 04  %s......&...B.X.\n    03 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<00000000560143a1>] __kmalloc_node_track_caller+0x4a/0x140\n    [<000000006af00822>] krealloc+0x8d/0xf0\n    [<00000000c309be6a>] trace_iter_expand_format+0x99/0x150\n    [<000000005a53bdb6>] trace_check_vprintf+0x1e0/0x11d0\n    [<0000000065629d9d>] trace_event_printf+0xb6/0xf0\n    [<000000009a690dc7>] trace_raw_output_bpf_trace_printk+0x89/0xc0\n    [<00000000d22db172>] print_trace_line+0x73c/0x1480\n    [<00000000cdba76ba>] tracing_read_pipe+0x45c/0x9f0\n    [<0000000015b58459>] vfs_read+0x17b/0x7c0\n    [<000000004aeee8ed>] ksys_read+0xed/0x1c0\n    [<0000000063d3d898>] do_syscall_64+0x3b/0x90\n    [<00000000a06dda7f>] entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\niter->fmt alloced in\n  tracing_read_pipe() -> .. ->trace_iter_expand_format(), but not\nfreed, to fix, add free in tracing_release_pipe()","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tracing: Fix memory leakage in tracing_read_pipe() kmemleak informa de este problema: unreferenced object 0xffff888105a18900 (size 128): comm \"test_progs\", pid 18933, jiffies 4336275356 (age 22801.766s) hex dump (first 32 bytes): 25 73 00 90 81 88 ff ff 26 05 00 00 42 01 58 04 %s......&amp;...BX 03 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [&lt;00000000560143a1&gt;] __kmalloc_nodo_rastreador_llamador+0x4a/0x140 [&lt;000000006af00822&gt;] krealloc+0x8d/0xf0 [&lt;00000000c309be6a&gt;] trace_iter_expand_format+0x99/0x150 [&lt;000000005a53bdb6&gt;] trace_check_vprintf+0x1e0/0x11d0 [&lt;0000000065629d9d&gt;] trace_event_printf+0xb6/0xf0 [&lt;000000009a690dc7&gt;] trace_raw_output_bpf_trace_printk+0x89/0xc0 [&lt;00000000d22db172&gt;] imprimir_línea_de_seguimiento+0x73c/0x1480 [&lt;00000000cdba76ba&gt;] conducto_de_lectura_de_seguimiento+0x45c/0x9f0 [&lt;0000000015b58459&gt;] lectura_vfs+0x17b/0x7c0 [&lt;000000004aeee8ed&gt;] lectura_ksys+0xed/0x1c0 [&lt;0000000063d3d898&gt;] hacer_llamada_al_sistema_64+0x3b/0x90 [&lt;00000000a06dda7f&gt;] entrada_SYSCALL_64_después_de_hwframe+0x63/0xcd iter-&gt;fmt asignado en conducto_de_lectura_de_seguimiento() -&gt; .. -&gt;trace_iter_expand_format(), pero no se libera, para solucionarlo, agregue free en tracing_release_pipe()","source":"nvd"}],"published":"2025-05-01T14:09:29.682Z","modified":"2026-11-05T20:17:12.570Z","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":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","fixed":"2c21ee020ce43d744ecd7f3e9bddfcaafef270ce","status":"affected"},{"type":"git","introduced":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","fixed":"a7d3f8f33c113478737bc61bb32ec5f9a987da7d","status":"affected"},{"type":"git","introduced":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","fixed":"649e72070cbbb8600eb823833e4748f5a0815116","status":"affected"},{"type":"git","version":"840ce9cfc86f89c335625ec297acc0375f82e19b","status":"affected"},{"type":"semver","introduced":"5.10.190","fixed":"5.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.80","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","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":"5.10.190","fixed":"5.11"},{"status":"affected","introduced":"5.12","fixed":"5.15.80"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2c21ee020ce43d744ecd7f3e9bddfcaafef270ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7d3f8f33c113478737bc61bb32ec5f9a987da7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/649e72070cbbb8600eb823833e4748f5a0815116","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:48:50.466Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49801","url":"https://www.cve.org/CVERecord?id=CVE-2022-49801","licence":"CVE Terms of Use","modified":"2026-11-05T19:49:49.816Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49801","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49801","licence":"Public domain","modified":"2026-11-05T20:17:12.570Z"}],"updatedAt":"2026-11-25T22:58:20.877Z","epss":{"score":0.00204,"percentile":0.1096,"date":"2026-12-01T12:00:22.000Z"}}