CVE-2025-21768: net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels

Published Feb 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels

Some lwtunnels have a dst cache for post-transformation dst. If the packet destination did not change we may end up recording a reference to the lwtunnel in its own cache, and the lwtunnel state will never be freed.

Discovered by the ioam6.sh test, kmemleak was recently fixed to catch per-cpu memory leaks. I'm not sure if rpl and seg6 can actually hit this, but in principle I don't see why not.

Affected Software

11 affected components
Linux Kernel
Linux Linux kernel>=4.10<6.12.16
Linux Linux kernel>=6.13<6.13.4
Linux Linux kernel=6.14-rc1
Microsoft azl3 kernel 6.6.104.2-4
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.117.1-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.119.3-1

Event History

Feb 27, 2025
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
Description
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:19 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·10:19 PM
Affected Software
Updated
via Microsoft·10:19 PM
SeverityAffected Software
Sep 4, 2025
Updated
via Microsoft·05:19 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-21768?

CVE-2025-21768 has been classified with a severity level that necessitates immediate attention to mitigate potential system vulnerabilities.

2

How do I fix CVE-2025-21768?

To address CVE-2025-21768, ensure you update the Linux kernel to the latest stable version where the vulnerability has been resolved.

3

What impact does CVE-2025-21768 have on system security?

CVE-2025-21768 can lead to potential security risks involving reference loops within specific network lwtunnels, affecting data integrity.

4

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

CVE-2025-21768 affects multiple versions of the Linux kernel prior to the patch that resolves this issue.

5

Is CVE-2025-21768 exploitable by remote attackers?

CVE-2025-21768 may introduce vulnerabilities that could potentially be exploited by remote attackers under certain conditions.

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