{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49801","id":"CVE-2022-49801","title":"tracing: Fix memory leak in tracing_read_pipe()","description":"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 ","descriptionLong":"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()","published":"2025-05-01T14:09:29.682Z","updated":"2026-11-17T07:01:14.785846511Z","reserved":"2025-05-01T14:05:17.225Z","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":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","lessThan":"2c21ee020ce43d744ecd7f3e9bddfcaafef270ce","status":"affected","versionType":"git"},{"version":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","lessThan":"a7d3f8f33c113478737bc61bb32ec5f9a987da7d","status":"affected","versionType":"git"},{"version":"efbbdaa22bb78761bff8dfdde027ad04bedd47ce","lessThan":"649e72070cbbb8600eb823833e4748f5a0815116","status":"affected","versionType":"git"},{"version":"840ce9cfc86f89c335625ec297acc0375f82e19b","status":"affected","versionType":"git"},{"version":"5.10.190","lessThan":"5.11","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"5.15.80","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.10","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2c21ee020ce43d744ecd7f3e9bddfcaafef270ce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a7d3f8f33c113478737bc61bb32ec5f9a987da7d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/649e72070cbbb8600eb823833e4748f5a0815116","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49801.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49801","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.00199,"epssPercentile":0.09869,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49801","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49801","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-2022-49801","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}