Menu

Star on GitHub · 3.2k

CVE-2022-49800

5.5 · 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_synth_cmd() only free buf in fail path,…

Published May 1, 2025CWE-401EPSS 0.20%

Overview

CVE-2022-49800 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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:

[<000000004254801a>] kmalloc_trace+0x26/0x100

[<0000000039eb1cf5>] 0xffffffffa00083cd

[<000000000e8c3bc8>] 0xffffffffa00086ba

[<00000000c293d1ea>] do_one_initcall+0xdb/0x480

[<00000000aa189e6d>] do_init_module+0x1cf/0x680

[<00000000d513222b>] load_module+0x6a50/0x70a0

[<000000001fd4d529>] __do_sys_finit_module+0x12f/0x1c0

[<0000000

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49800?

CVE-2022-49800 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49800?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49800?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49800?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49800 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all