Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21922

MEDIUM 5.5EPSS 15%

ppp: Fix KMSAN uninit-value warning with bpf

Mitigation

  • Upgrade Linux to 4c2d14c40a68678d885eab4008a0129646805bae or later.

Who should check

  • Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d685096c8129c9a92689975193e268945fd21dbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f591cb158807bdcf424f66f1fbfa6e4e50f3757; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2191b0fd0c064d37b0db67396216f2d4787e0f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3de809a768464528762757e433cd50de35bcb3c1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1eacd47636a9de5bee25d9d5962dc538a82d9f0b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8aa8a40c766b3945b40565a70349d5581458ff63; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c036f5f2680cbdabdbbace86baee3c83721634d6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4c2d14c40a68678d885eab4008a0129646805bae
  • Anyone running Linux 2.6.12

Vulnerability facts

Affected
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d685096c8129c9a92689975193e268945fd21dbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f591cb158807bdcf424f66f1fbfa6e4e50f3757; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2191b0fd0c064d37b0db67396216f2d4787e0f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3de809a768464528762757e433cd50de35bcb3c1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1eacd47636a9de5bee25d9d5962dc538a82d9f0b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8aa8a40c766b3945b40565a70349d5581458ff63; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c036f5f2680cbdabdbbace86baee3c83721634d6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4c2d14c40a68678d885eab4008a0129646805bae; Linux 2.6.12
Fixed in
Linux 2f591cb158807bdcf424f66f1fbfa6e4e50f3757, Linux 4e2191b0fd0c064d37b0db67396216f2d4787e0f, Linux 3de809a768464528762757e433cd50de35bcb3c1, Linux 1eacd47636a9de5bee25d9d5962dc538a82d9f0b, Linux 8aa8a40c766b3945b40565a70349d5581458ff63, Linux 4c2d14c40a68678d885eab4008a0129646805bae
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-908
Published
Modified

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 determine the direction. The issue is that only the first byte indicating direction is initialized in current ppp driver code while the second byte is not initialized. For normal BPF programs generated by libpcap, uninitialized data won't be used, so it's not a problem. However, for carefully crafted BPF programs, such as those generated by syzkaller [2], which start reading from offset 0, the uninitialized data will be used and caught by KMSAN. [1] https://syzkaller.appspot.com/bug?extid=853242d9c9917165d791 [2] https://syzkaller.appspot.com/text?tag=ReproC&x=11994913980000

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d685096c8129c9a92689975193e268945fd21dbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f591cb158807bdcf424f66f1fbfa6e4e50f3757; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2191b0fd0c064d37b0db67396216f2d4787e0f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3de809a768464528762757e433cd50de35bcb3c1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1eacd47636a9de5bee25d9d5962dc538a82d9f0b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8aa8a40c766b3945b40565a70349d5581458ff63; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c036f5f2680cbdabdbbace86baee3c83721634d6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4c2d14c40a68678d885eab4008a0129646805bae—cvelist
Linux2.6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21922. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21922.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d685096c8129c9a92689975193e268945fd21dbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f591cb158807bdcf424f66f1fbfa6e4e50f3757; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2191b0fd0c064d37b0db67396216f2d4787e0f; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 2f591cb158807bdcf424f66f1fbfa6e4e50f3757, Linux 4e2191b0fd0c064d37b0db67396216f2d4787e0f, Linux 3de809a768464528762757e433cd50de35bcb3c1, Linux 1eacd47636a9de5bee25d9d5962dc538a82d9f0b, Linux 8aa8a40c766b3945b40565a70349d5581458ff63, Linux 4c2d14c40a68678d885eab4008a0129646805bae

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-21922 being exploited?

There is no confirmed exploitation: CVE-2025-21922 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-21922?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-21922?

Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d685096c8129c9a92689975193e268945fd21dbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f591cb158807bdcf424f66f1fbfa6e4e50f3757; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2191b0fd0c064d37b0db67396216f2d4787e0f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3de809a768464528762757e433cd50de35bcb3c1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1eacd47636a9de5bee25d9d5962dc538a82d9f0b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8aa8a40c766b3945b40565a70349d5581458ff63; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c036f5f2680cbdabdbbace86baee3c83721634d6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4c2d14c40a68678d885eab4008a0129646805bae; Linux 2.6.12.

Is there a fix for CVE-2025-21922?

Yes. Fixed in Linux 2f591cb158807bdcf424f66f1fbfa6e4e50f3757, Linux 4e2191b0fd0c064d37b0db67396216f2d4787e0f, Linux 3de809a768464528762757e433cd50de35bcb3c1, Linux 1eacd47636a9de5bee25d9d5962dc538a82d9f0b, Linux 8aa8a40c766b3945b40565a70349d5581458ff63, Linux 4c2d14c40a68678d885eab4008a0129646805bae. Upgrade Linux to 4c2d14c40a68678d885eab4008a0129646805bae or later.

How do I check if I'm affected by CVE-2025-21922?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors