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.
[
{
"id": "CVE-2025-21768-0094c5e1",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"280690303140345657236225507030147640859",
"228504725995135750280460012106525341662",
"192976896152847541284817734770178014747",
"141391205814793284014287905048516954594",
"252714960796057922653559807989092474712",
"15322385651258225508895086556143028367"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-0264516f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"283072418055132943891772203735559189842",
"95763414589932661340808920215615748361",
"71378952532805857753656074003113399355",
"70214460682978976996958534802752849648",
"88988575627839688942246522614559121417",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
},
{
"id": "CVE-2025-21768-0ce39e95",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "67618540442232960566787045417434416721",
"length": 1045.0
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c",
"function": "rpl_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-2cb45262",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"294324234399964551513411673132999104057",
"95763414589932661340808920215615748361",
"71378952532805857753656074003113399355",
"70214460682978976996958534802752849648",
"88988575627839688942246522614559121417",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-2e9151a8",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"294324234399964551513411673132999104057",
"135246341391318862416115336076931916875",
"205475050419444399562093401343376574448",
"167162748505365435990370043431629293474",
"295592162547470626667005225765750640484",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-588b058c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "137925402209720419549207231915977479266",
"length": 1045.0
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c",
"function": "rpl_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-71885824",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "120445356919749025277127757733524595544",
"length": 1900.0
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c",
"function": "ioam6_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-7b02962f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "339712289370370456289174317655910282268",
"length": 1212.0
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c",
"function": "seg6_output_core"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-857918fb",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"283072418055132943891772203735559189842",
"135246341391318862416115336076931916875",
"205475050419444399562093401343376574448",
"167162748505365435990370043431629293474",
"295592162547470626667005225765750640484",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-8c219d92",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "120500994527312567668649291651010131589",
"length": 1212.0
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c",
"function": "seg6_output_core"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-9a08833a",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"280690303140345657236225507030147640859",
"228504725995135750280460012106525341662",
"192976896152847541284817734770178014747",
"141391205814793284014287905048516954594",
"252714960796057922653559807989092474712",
"15322385651258225508895086556143028367"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
},
{
"id": "CVE-2025-21768-aa355364",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "213566461009966369807571420835959361290",
"length": 1874.0
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c",
"function": "ioam6_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-bc95f01a",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "339712289370370456289174317655910282268",
"length": 1212.0
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c",
"function": "seg6_output_core"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
},
{
"id": "CVE-2025-21768-bf457430",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "137925402209720419549207231915977479266",
"length": 1045.0
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c",
"function": "rpl_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
},
{
"id": "CVE-2025-21768-c6fdc190",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"49723072640728276608391116043767620534",
"228504725995135750280460012106525341662",
"192976896152847541284817734770178014747",
"141391205814793284014287905048516954594",
"252714960796057922653559807989092474712",
"15322385651258225508895086556143028367"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92191dd1073088753821b862b791dcc83e558e07"
},
{
"id": "CVE-2025-21768-c79527f3",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"283072418055132943891772203735559189842",
"95763414589932661340808920215615748361",
"71378952532805857753656074003113399355",
"70214460682978976996958534802752849648",
"88988575627839688942246522614559121417",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/rpl_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c0f200c7d06fedddde82209c099014d63f4a6c0"
},
{
"id": "CVE-2025-21768-cc6e0782",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "213566461009966369807571420835959361290",
"length": 1874.0
},
"target": {
"file": "net/ipv6/ioam6_iptunnel.c",
"function": "ioam6_output"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
},
{
"id": "CVE-2025-21768-d3bea36b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"283072418055132943891772203735559189842",
"135246341391318862416115336076931916875",
"205475050419444399562093401343376574448",
"167162748505365435990370043431629293474",
"295592162547470626667005225765750640484",
"215455324510682821853191299222604326390"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/seg6_iptunnel.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab11a4e219e93b8b31a27f8ec98d42afadd8b7a"
}
]