CVE-2025-21768CWE-401

CVE-2025-21768

Medium · published February 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
10.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00207 · 10.3th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-02-27T08:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 4.10, < 6.12.166.12.16
linux/linux_kernel≥ 6.13, < 6.13.46.13.4
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 27 FEB 02:18Z
    net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels
    cvelistv5