Bug 2348539 (CVE-2025-21768) - CVE-2025-21768 kernel: net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels
Summary: CVE-2025-21768 kernel: net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lw...
Keywords:
Status: NEW
Alias: CVE-2025-21768
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-27 03:02 UTC by OSIDB Bzimport
Modified: 2025-05-02 15:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-27 03:02:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.