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-2025-21920

7.1 · HIGH
Published Apr 1, 2025 linux CWE-125 EPSS 0.23% (14th pctl)

Overview

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

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

vlan: enforce underlying device type

Currently, VLAN devices can be created on top of non-ethernet devices.

Besides the fact that it doesn't make much sense, this also causes a

bug which leaks the address of a kernel function to usermode.

When creating a VLAN device, we initialize GARP (garp_init_applicant)

and MRP (mrp_init_applicant) for the underlying device.

As part of the initialization process, we add the multicast address of

each applicant to the underlying device, by calling dev_mc_add.

__dev_mc_add uses dev->addr_len to determine the length of the new

multicast address.

This causes an out-of-bounds read if dev->addr_len is greater than 6,

since the multicast addresses provided by GARP and MRP are only 6

bytes long.

This behaviour can be reproduced using the following commands:

ip tunnel add gretest mode ip6gre local ::1 remote ::2 dev lo

ip l set up dev gretest

ip link add link gretest name vlantest t

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 >= 2.6.35, < 5.4.291 Affected

Frequently Asked Questions

What is CVE-2025-21920?

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

How severe is CVE-2025-21920?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-2025-21920?

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-2025-21920?

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