Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-49800

medium

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event() test_gen_sy…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event() test_gen_synth_cmd() only free buf in fail path, hence buf will leak when there is no failure. Add kfree(buf) to prevent the memleak. The same reason and solution in test_empty_synth_event(). unreferenced object 0xffff8881127de000 (size 2048): comm "modprobe", pid 247, jiffies 4294972316 (age 78.756s) hex dump (first 32 bytes): 20 67 65 6e 5f 73 79 6e 74 68 5f 74 65 73 74 20 gen_synth_test 20 70 69 64 5f 74 20 6e 65 78 74 5f 70 69 64 5f pid_t next_pid_ backtrace: [] kmalloc_trace+0x26/0x100 [] 0xffffffffa00083cd [] 0xffffffffa00086ba [] do_one_initcall+0xdb/0x480 [] do_init_module+0x1cf/0x680 [] load_module+0x6a50/0x70a0 [] __do_sys_finit_module+0x12f/0x1c0 [] do_syscall_64+0x3f/0x90 [] entry_SYSCALL_64_after_hwframe+0x63/0xcd unreferenced object 0xffff8881127df000 (size 2048): comm "modprobe", pid 247, jiffies 4294972324 (age 78.728s) hex dump (first 32 bytes): 20 65 6d 70 74 79 5f 73 79 6e 74 68 5f 74 65 73 empty_synth_tes 74 20 20 70 69 64 5f 74 20 6e 65 78 74 5f 70 69 t pid_t next_pi backtrace: [] kmalloc_trace+0x26/0x100 [] 0xffffffffa0008071 [] 0xffffffffa00086ce [] do_one_initcall+0xdb/0x480 [] do_init_module+0x1cf/0x680 [] load_module+0x6a50/0x70a0 [] __do_sys_finit_module+0x12f/0x1c0 [] do_syscall_64+0x3f/0x90 [] entry_SYSCALL_64_after_hwframe+0x63/0xcd

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-05-01 15:16
Modified: 2026-11-05 20:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 20:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥5.6 <5.10.156, ≥5.11 <5.15.80, ≥5.16 <6.0.10, 6.1

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/07ba4f0603aba288580866394f2916dfe55823a2
Patch / mitigation: https://git.kernel.org/stable/c/0e5baaa181a052d968701bb9c5b1d55847f00942
Patch / mitigation: https://git.kernel.org/stable/c/65ba7e7c241122ef0a9e61d1920f2ae9689aa796
Patch / mitigation: https://git.kernel.org/stable/c/a4527fef9afe5c903c718d0cd24609fe9c754250

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 20:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs