In the Linux kernel, the following vulnerability has been resolved:
net: use dstdevrcu() in sksetupcaps()
Use RCU to protect accesses to dst->dev from sksetupcaps() and skdstgsomaxsize().
Also use dstdevrcu() in ip6dstmtumaybeforward(), and ipdstmtumaybeforward().
ip4dsthoplimit() can use dstdevnet_rcu().
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"function": "sk_setup_caps",
"file": "net/core/sock.c"
},
"digest": {
"length": 882.0,
"function_hash": "234290262406124200623634792343832204926"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-079ac70c"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"file": "net/core/sock.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"79515919935068383676389598677543045",
"233143566692422656679072555524666952089",
"71182491913003014867652063834342996827",
"166719971889172590778538856586417510078",
"327803994149870951305855721094551230452",
"213671096877958736085999130972811535504",
"178170235594689874406671840450965973408",
"203636446761237177927297657164601505131",
"106510794541862712085640698546767551485",
"259845126762196782244881805770607904267",
"1853248765985539316463439756623248693",
"298132278835514711641389892458256775442",
"239681944179727034496993865970771326631",
"299451279668623974116248382774293394616",
"214871517028093248681068529968393069888",
"226499168202313218244707653789188307085",
"257726265702450919443697828742226158810",
"324139036156936171207982391136212156880",
"229323792824158193642935237937940959597",
"259772436256377411819516239831330643625",
"237780169039777564424685289255897638975",
"81232873329191865138710884331879371606",
"34037321603920083525612684654360176113",
"218593758628117653644454118840038161770"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-26deb6bf"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"function": "ip_dst_mtu_maybe_forward",
"file": "include/net/ip.h"
},
"digest": {
"length": 759.0,
"function_hash": "180756647881142558989250106798263260016"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-3e0e9f47"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"file": "net/core/sock.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"79515919935068383676389598677543045",
"233143566692422656679072555524666952089",
"71182491913003014867652063834342996827",
"166719971889172590778538856586417510078",
"327803994149870951305855721094551230452",
"213671096877958736085999130972811535504",
"178170235594689874406671840450965973408",
"203636446761237177927297657164601505131",
"106510794541862712085640698546767551485",
"259845126762196782244881805770607904267",
"1853248765985539316463439756623248693",
"298132278835514711641389892458256775442",
"239681944179727034496993865970771326631",
"299451279668623974116248382774293394616",
"214871517028093248681068529968393069888",
"226499168202313218244707653789188307085",
"257726265702450919443697828742226158810",
"324139036156936171207982391136212156880",
"229323792824158193642935237937940959597",
"259772436256377411819516239831330643625",
"237780169039777564424685289255897638975",
"81232873329191865138710884331879371606",
"34037321603920083525612684654360176113",
"218593758628117653644454118840038161770"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-428840af"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"function": "ip4_dst_hoplimit",
"file": "include/net/route.h"
},
"digest": {
"length": 285.0,
"function_hash": "21927126704702529116826304990984874279"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-50c285a8"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"file": "include/net/ip6_route.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"127545861403542744410776293280856725873",
"274017335512507761629705203849359438160",
"200075664244033841939422907084644725336",
"36582535652103212841206098528818540219"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-5ccc07b6"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"file": "include/net/route.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"276923498714343061130424612349009010853",
"222932344670883822420576620569640548887",
"95194552000449028623060879978990880008",
"204938155531497961321594368335452252144"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-5e7a3e16"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"file": "include/net/ip.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"116027111482941097308840462852027273681",
"108068724108257032230623990878458375580",
"42819084066876494913777013676118836525",
"45713991468915603378346267964216239696",
"294964566381794502702817727147270824303",
"318797159008373650591733209164923021373",
"33189811574576170903335393843607488268",
"185373405608125348318053906648334952306",
"266145711673395312040966753828808624853",
"31905848096614622406799788147732661329",
"12983484557100853856838316258024596702",
"216358685808798878247103759586299266650"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-77003ea9"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"file": "include/net/ip6_route.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"127545861403542744410776293280856725873",
"274017335512507761629705203849359438160",
"200075664244033841939422907084644725336",
"36582535652103212841206098528818540219"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-78d395c3"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"function": "ip4_dst_hoplimit",
"file": "include/net/route.h"
},
"digest": {
"length": 285.0,
"function_hash": "21927126704702529116826304990984874279"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-920a22d6"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"file": "include/net/route.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"276923498714343061130424612349009010853",
"222932344670883822420576620569640548887",
"95194552000449028623060879978990880008",
"204938155531497961321594368335452252144"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-999677ac"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"function": "ip_dst_mtu_maybe_forward",
"file": "include/net/ip.h"
},
"digest": {
"length": 759.0,
"function_hash": "180756647881142558989250106798263260016"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-ab944a26"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99a2ace61b211b0be861b07fbaa062fca4b58879",
"target": {
"function": "sk_dst_gso_max_size",
"file": "net/core/sock.c"
},
"digest": {
"length": 456.0,
"function_hash": "126463122932868755835821871194232846666"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-abda76b0"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"function": "sk_dst_gso_max_size",
"file": "net/core/sock.c"
},
"digest": {
"length": 456.0,
"function_hash": "126463122932868755835821871194232846666"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-bd60c9ca"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"file": "include/net/ip.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"116027111482941097308840462852027273681",
"108068724108257032230623990878458375580",
"42819084066876494913777013676118836525",
"45713991468915603378346267964216239696",
"294964566381794502702817727147270824303",
"318797159008373650591733209164923021373",
"33189811574576170903335393843607488268",
"185373405608125348318053906648334952306",
"266145711673395312040966753828808624853",
"31905848096614622406799788147732661329",
"12983484557100853856838316258024596702",
"216358685808798878247103759586299266650"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40170-d45c01d9"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a805729c0091073d8f0415cfa96c7acd1bc17a48",
"target": {
"function": "sk_setup_caps",
"file": "net/core/sock.c"
},
"digest": {
"length": 882.0,
"function_hash": "234290262406124200623634792343832204926"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40170-ebbbc258"
}
]