Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-49797

5.5 · MEDIUM
Published May 1, 2025 linux CWE-476 EPSS 0.19% (9th pctl)

Overview

CVE-2022-49797 is a medium-severity vulnerability affecting linux linux_kernel. 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: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()

When trace_get_event_file() failed, gen_kretprobe_test will be assigned

as the error code. If module kprobe_event_gen_test is removed now, the

null pointer dereference will happen in kprobe_event_gen_test_exit().

Check if gen_kprobe_test or gen_kretprobe_test is error code or NULL

before dereference them.

BUG: kernel NULL pointer dereference, address: 0000000000000012

PGD 0 P4D 0

Oops: 0000 [#1] SMP PTI

CPU: 3 PID: 2210 Comm: modprobe Not tainted

6.1.0-rc1-00171-g2159299a3b74-dirty #217

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS

rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014

RIP: 0010:kprobe_event_gen_test_exit+0x1c/0xb5 [kprobe_event_gen_test]

Code: Unable to access opcode bytes at 0xffffffff9ffffff2.

RSP: 0018:ffffc900015bfeb8 EFLAGS: 00010246

RAX: ffffffffffffffea RBX: ffffffffa0002080 RCX:

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.6, < 5.10.156 Affected

Frequently Asked Questions

What is CVE-2022-49797?

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

How severe is CVE-2022-49797?

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

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-49797?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-49797 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.