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

5.5 · MEDIUM
Published Jun 18, 2025 linux CWE-476 EPSS 0.22% (12th pctl)

Overview

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

xfrm: policy: fix metadata dst->dev xmit null pointer dereference

When we try to transmit an skb with metadata_dst attached (i.e. dst->dev

== NULL) through xfrm interface we can hit a null pointer dereference[1]

in xfrmi_xmit2() -> xfrm_lookup_with_ifid() due to the check for a

loopback skb device when there's no policy which dereferences dst->dev

unconditionally. Not having dst->dev can be interepreted as it not being

a loopback device, so just add a check for a null dst_orig->dev.

With this fix xfrm interface's Tx error counters go up as usual.

[1] net-next calltrace captured via netconsole:

BUG: kernel NULL pointer dereference, address: 00000000000000c0

#PF: supervisor read access in kernel mode

#PF: error_code(0x0000) - not-present page

PGD 0 P4D 0

Oops: 0000 [#1] PREEMPT SMP

CPU: 1 PID: 7231 Comm: ping Kdump: loaded Not tainted 5.19.0+ #24

Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS

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.10.118, < 5.10.140 Affected

Frequently Asked Questions

What is CVE-2022-50004?

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

How severe is CVE-2022-50004?

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

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

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