CVE & CISA-KEV Catalog

CVE-2025-71128

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: erspan: Initialize options_len before referencing options. The struct ip_tunnel_info has a flexible array member named options that is protected by a counted_by(options_len) attribute. The compiler will use this information to enforce runtime bounds checking deployed by FORTIFY_SOURCE string helpers. As laid out in the GCC documentation, the counter must be initialized before the first reference to the flexible array member. After scanning through the files that use struct ip_tunnel_info and also refer to options or options_len, it appears the normal case is to use the ip_tunnel_info_opts_set() helper. Said helper would initialize options_len properly before copying data into options, however in the GRE ERSPAN code a partial update is done, preventing the use of the helper function. Before this change the handling of ERSPAN traffic in GRE tunnels would cause a kernel panic when the kernel is compiled with GCC 15+ and having FORTIFY_SOURCE configured: memcpy: detected buffer overflow: 4 byte write of buffer size 0 Call Trace: <IRQ> __fortify_panic+0xd/0xf erspan_rcv.cold+0x68/0x83 ? ip_route_input_slow+0x816/0x9d0 gre_rcv+0x1b2/0x1c0 gre_rcv+0x8e/0x100 ? raw_v4_input+0x2a0/0x2b0 ip_protocol_deliver_rcu+0x1ea/0x210 ip_local_deliver_finish+0x86/0x110 ip_local_deliver+0x65/0x110 ? ip_rcv_finish_core+0xd6/0x360 ip_rcv+0x186/0x1a0 Reported-at: https://launchpad.net/bugs/2129580

How to fix

Remediation Available
linuxDebian
Fixed in:6.18.5-1CVE-2025-71128
linuxUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-awsUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
linux-azureUbuntu
Fixed in:6.17.0-1010.10USN-8094-4
linux-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
linux-gcpUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
linux-hwe-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-6.17.0-1008-realtimeUbuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-6.17.0-1009-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1010-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-6.17.0-1010-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-6.17.0-1017-oemUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-6.17.0-19-genericUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-6.17.0-19-generic-64kUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-genericUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64kUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-oem-24.04Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04aUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04bUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04cUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04dUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-raspi-6.17Ubuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-virtualUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-oracleUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
linux-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Embed a live status badge for CVE-2025-71128
CVE-2025-71128 severity badge

Markdown

[![CVE-2025-71128](https://tridentstack.com/cve/badge/CVE-2025-71128.svg)](https://tridentstack.com/cve/CVE-2025-71128)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-71128"><img src="https://tridentstack.com/cve/badge/CVE-2025-71128.svg" alt="CVE-2025-71128"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-25.