CVE-2018-25020 Integer overflow in n/a

High 7.8 Published Updated

An integer overflow in the Linux kernel BPF subsystem allows attackers to execute arbitrary code or escalate privileges via crafted BPF programs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-25020?

CVE-2018-25020 is a high-severity vulnerability in Linux kernel, published on 8 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The BPF subsystem in the Linux kernel before 4.17 mishandles situations with a long jump over an instruction sequence where inner instructions require substantial expansions into multiple BPF instructions, leading to an overflow. This affects kernel/bpf/core.c and net/core/filter.c.

Weakness: CWE-120

Which versions are affected by CVE-2018-25020?

It affects 10 products.

Products include Linux kernel, Netapp Cloud Backup, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 4 more.

How do I fix CVE-2018-25020?

Apply the vendor's patch.

Is CVE-2018-25020 being exploited?

There is no known exploitation of CVE-2018-25020 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as A-210498909, DEBIAN-CVE-2018-25020, GHSA-3p95-f3g8-fcgq, PUB-A-210498909, UBUNTU-CVE-2018-25020.

Is CVE-2018-25020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free