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-49341

5.5 · MEDIUM
Published Feb 26, 2025 linux EPSS 0.28% (20th pctl)

Overview

CVE-2022-49341 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 26, 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:

bpf, arm64: Clear prog->jited_len along prog->jited

syzbot reported an illegal copy_to_user() attempt

from bpf_prog_get_info_by_fd() [1]

There was no repro yet on this bug, but I think

that commit 0aef499f3172 ("mm/usercopy: Detect vmalloc overruns")

is exposing a prior bug in bpf arm64.

bpf_prog_get_info_by_fd() looks at prog->jited_len

to determine if the JIT image can be copied out to user space.

My theory is that syzbot managed to get a prog where prog->jited_len

has been set to 43, while prog->bpf_func has ben cleared.

It is not clear why copy_to_user(uinsns, NULL, ulen) is triggering

this particular warning.

I thought find_vma_area(NULL) would not find a vm_struct.

As we do not hold vmap_area_lock spinlock, it might be possible

that the found vm_struct was garbage.

[1]

usercopy: Kernel memory exposure attempt detected from vmalloc (offset 792633534417210172, size 43)!

kernel BUG at mm/usercopy.c:101!

Inte

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 >= 4.16, < 4.19.247 Affected

Frequently Asked Questions

What is CVE-2022-49341?

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

How severe is CVE-2022-49341?

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

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

CyberStrike's AI-powered security agents can automatically detect CVE-2022-49341 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.