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

7.8 · HIGH
Published May 1, 2025 linux CWE-416 EPSS 0.21% (11th pctl)

Overview

CVE-2022-49840 is a high-severity vulnerability affecting linux linux_kernel. 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:

bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()

We got a syzkaller problem because of aarch64 alignment fault

if KFENCE enabled. When the size from user bpf program is an odd

number, like 399, 407, etc, it will cause the struct skb_shared_info's

unaligned access. As seen below:

BUG: KFENCE: use-after-free read in __skb_clone+0x23c/0x2a0 net/core/skbuff.c:1032

Use-after-free read at 0xffff6254fffac077 (in kfence-#213):

__lse_atomic_add arch/arm64/include/asm/atomic_lse.h:26 [inline]

arch_atomic_add arch/arm64/include/asm/atomic.h:28 [inline]

arch_atomic_inc include/linux/atomic-arch-fallback.h:270 [inline]

atomic_inc include/asm-generic/atomic-instrumented.h:241 [inline]

__skb_clone+0x23c/0x2a0 net/core/skbuff.c:1032

skb_clone+0xf4/0x214 net/core/skbuff.c:1481

____bpf_clone_redirect net/core/filter.c:2433 [inline]

bpf_clone_redirect+0x78/0x1c0 net/core/filter.c:2420

bpf

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.12, < 4.14.300 Affected

Frequently Asked Questions

What is CVE-2022-49840?

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

How severe is CVE-2022-49840?

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

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

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