# CVE-2018-25020: The BPF subsystem in the Linux kernel before 4.17 mishandles situations with a long jump over an instruction sequence where inner instructi…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2021-12-08T04:47:45.000Z
- Modified: 2026-06-17T01:54:32.217Z
- Weaknesses: CWE-120
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 4.17
- netapp cloud_backup: no versions given
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/torvalds/linux/commit/050fad7c4534c13c8eb1d9c2ba66012e014773cb> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20211229-0005/> (third-party-advisory)
- <http://packetstormsecurity.com/files/165477/Kernel-Live-Patch-Security-Notice-LSN-0083-1.html> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2018-25020](https://www.cve.org/CVERecord?id=CVE-2018-25020), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-25020](https://nvd.nist.gov/vuln/detail/CVE-2018-25020), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-25020 · Whole record: https://cve.day/CVE-2018-25020.json · Rebuilt by cve.day 2026-11-25T22:57:42.740Z
