CVE-2025-37959: bpf: Scrub packet on bpf_redirect_peer

Published May 20, 2025
·
Updated

bpf: Scrub packet on bpfredirectpeer

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=5.10<6.1.139
Linux Linux kernel>=6.2<6.6.91
Linux Linux kernel>=6.7<6.12.29
Linux Linux kernel>=6.13<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch bpf: Scrub packet on bpf_redirect_peer
  2. Compensating control

    If you are using Cilium and observe traffic drops on IPsec→container redirects, apply a temporary networking workaround to avoid relying on bpf_redirect_peer/IPsec decryption paths that can trigger __xfrm_policy_check dropping in the container netns (e.g., route/redirect via a netns switch path where the skb is scrubbed, such as the typical veth netns switch behavior mentioned in the trace).

Event History

May 20, 2025
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software
Dec 18, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·09:01 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-37959?

CVE-2025-37959 has been classified with a moderate severity due to the potential information leakage between network namespaces.

2

How do I fix CVE-2025-37959?

To fix CVE-2025-37959, update your Linux kernel to the latest patched version provided by your distribution.

3

What impact does CVE-2025-37959 have on network security?

CVE-2025-37959 can lead to unauthorized access to sensitive information by allowing packet data from one network namespace to leak into another.

4

Which versions of the Linux kernel are affected by CVE-2025-37959?

CVE-2025-37959 affects multiple versions of the Linux kernel that implement the bpf_redirect_peer functionality without proper skb scrubbing.

5

Is CVE-2025-37959 exploitable in production environments?

Yes, CVE-2025-37959 can be exploited in production environments, particularly those using network namespaces for containerization or similar technologies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203