Menu

Star on GitHub · 3.4k

CVE-2022-49066

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: veth: Ensure eth header is in skb's linear part After feeding a decapsulated packet to a veth device with act_mirred, skb_headl…

Published Feb 26, 2025EPSS 0.27%

Overview

CVE-2022-49066 is a medium-severity vulnerability. 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:

veth: Ensure eth header is in skb's linear part

After feeding a decapsulated packet to a veth device with act_mirred,

skb_headlen() may be 0. But veth_xmit() calls __dev_forward_skb(),

which expects at least ETH_HLEN byte of linear data (as

__dev_forward_skb2() calls eth_type_trans(), which pulls ETH_HLEN bytes

unconditionally).

Use pskb_may_pull() to ensure veth_xmit() respects this constraint.

kernel BUG at include/linux/skbuff.h:2328!

RIP: 0010:eth_type_trans+0xcf/0x140

Call Trace:

<IRQ>

__dev_forward_skb2+0xe3/0x160

veth_xmit+0x6e/0x250 [veth]

dev_hard_start_xmit+0xc7/0x200

__dev_queue_xmit+0x47f/0x520

? skb_ensure_writable+0x85/0xa0

? skb_mpls_pop+0x98/0x1c0

tcf_mirred_act+0x442/0x47e [act_mirred]

tcf_action_exec+0x86/0x140

fl_classify+0x1d8/0x1e0 [cls_flower]

? dma_pte_clear_level+0x129/0x1a0

? dma_pte_clear_level+0x129/0x1a0

? prb_fill_curr_block+0x2f/0xc0

? skb_copy_bits+0x11a/0x220

__tcf_cla

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

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

How severe is CVE-2022-49066?

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

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

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

View all
Watch the demo →