Menu

Star on GitHub · 3.2k

CVE-2022-49779

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case In __unregister_kprobe_top(), if the currently unregis…

Published May 1, 2025CWE-416EPSS 0.22%

Overview

CVE-2022-49779 is a high-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case

In __unregister_kprobe_top(), if the currently unregistered probe has

post_handler but other child probes of the aggrprobe do not have

post_handler, the post_handler of the aggrprobe is cleared. If this is

a ftrace-based probe, there is a problem. In later calls to

disarm_kprobe(), we will use kprobe_ftrace_ops because post_handler is

NULL. But we're armed with kprobe_ipmodify_ops. This triggers a WARN in

__disarm_kprobe_ftrace() and may even cause use-after-free:

Failed to disarm kprobe-ftrace at kernel_clone+0x0/0x3c0 (error -2)

WARNING: CPU: 5 PID: 137 at kernel/kprobes.c:1135 __disarm_kprobe_ftrace.isra.21+0xcf/0xe0

Modules linked in: testKprobe_007(-)

CPU: 5 PID: 137 Comm: rmmod Not tainted 6.1.0-rc4-dirty #18

[...]

Call Trace:

<TASK>

__disable_kprobe+0xcd/0xe0

__unregister_kprobe_top+0x12/0x150

? mutex_lock+0xe/0x3

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-49779?

CVE-2022-49779 is a high-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-49779?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-49779?

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-49779?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49779 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 HIGH CVEs from 2022

View all