Menu

Star on GitHub · 3.2k

CVE-2025-21922

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ppp: Fix KMSAN uninit-value warning with bpf Syzbot caught an "KMSAN: uninit-value" warning [1], which is caused by the ppp dri…

Published Apr 1, 2025CWE-908EPSS 0.23%

Overview

CVE-2025-21922 is a medium-severity vulnerability. It was published on April 1, 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:

ppp: Fix KMSAN uninit-value warning with bpf

Syzbot caught an "KMSAN: uninit-value" warning [1], which is caused by the

ppp driver not initializing a 2-byte header when using socket filter.

The following code can generate a PPP filter BPF program:

'''

struct bpf_program fp;

pcap_t *handle;

handle = pcap_open_dead(DLT_PPP_PPPD, 65535);

pcap_compile(handle, &fp, "ip and outbound", 0, 0);

bpf_dump(&fp, 1);

'''

Its output is:

'''

(000) ldh [2]

(001) jeq #0x21 jt 2 jf 5

(002) ldb [0]

(003) jeq #0x1 jt 4 jf 5

(004) ret #65535

(005) ret #0

'''

Wen can find similar code at the following link:

https://github.com/ppp-project/ppp/blob/master/pppd/options.c#L1680

The maintainer of this code repository is also the original maintainer

of the ppp driver.

As you can see the BPF program skips 2 bytes of data and then reads the

'Protocol' field to determine if it's an IP packet. Then it read the first

byte of the first 2 bytes to de

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

CVE-2025-21922 is a medium-severity vulnerability. It was published on April 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-21922?

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

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

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

View all