Menu

Star on GitHub · 3.2k

CVE-2022-49985

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: bpf: Don't use tnum_range on array range checking for poke descriptors Hsin-Wei reported a KASAN splat triggered by their BPF r…

Published Jun 18, 2025CWE-125EPSS 0.26%

Overview

CVE-2022-49985 is a high-severity vulnerability. It was published on June 18, 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: Don't use tnum_range on array range checking for poke descriptors

Hsin-Wei reported a KASAN splat triggered by their BPF runtime fuzzer which

is based on a customized syzkaller:

BUG: KASAN: slab-out-of-bounds in bpf_int_jit_compile+0x1257/0x13f0

Read of size 8 at addr ffff888004e90b58 by task syz-executor.0/1489

CPU: 1 PID: 1489 Comm: syz-executor.0 Not tainted 5.19.0 #1

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

1.13.0-1ubuntu1.1 04/01/2014

Call Trace:

<TASK>

dump_stack_lvl+0x9c/0xc9

print_address_description.constprop.0+0x1f/0x1f0

? bpf_int_jit_compile+0x1257/0x13f0

kasan_report.cold+0xeb/0x197

? kvmalloc_node+0x170/0x200

? bpf_int_jit_compile+0x1257/0x13f0

bpf_int_jit_compile+0x1257/0x13f0

? arch_prepare_bpf_dispatcher+0xd0/0xd0

? rcu_read_lock_sched_held+0x43/0x70

bpf_prog_select_runtime+0x3e8/0x640

? bpf_obj_name_cpy+0x149/0x1b0

bpf_prog_l

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

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

How severe is CVE-2022-49985?

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

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

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