CVE-2025-21768

MEDIUM

Linux Kernel 4.10-6.12.15, 6.13.0-6.13.3 - Use-After-Free in IPv6 LWTunnels

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 8.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (12)
linux/Kernel 4.10.0 - 6.12.16linux
linux/Kernel 6.13.0 - 6.13.4linux
Linux/Linux < 4.10
Linux/Linux 4.10
Linux/Linux 6.12.16 - 6.12.*
Linux/Linux 6.13.4 - 6.13.*
Linux/Linux 6.14
Linux/Linux 6c8702c60b88651072460f3f4026c7dfe2521d12 - 4c0f200c7d06fedddde82209c099014d63f4a6c0
Linux/Linux 6c8702c60b88651072460f3f4026c7dfe2521d12 - 5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a
Linux/Linux 6c8702c60b88651072460f3f4026c7dfe2521d12 - 92191dd1073088753821b862b791dcc83e558e07
... and 2 more
Published Feb 27, 2025
Tracked Since Feb 18, 2026