CVE-2025-22058

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22058
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22058.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22058
Downstream
Related
Published
2025-04-16T14:12:14Z
Modified
2025-10-19T21:47:37.590383Z
Summary
udp: Fix memory accounting leak.
Details

In the Linux kernel, the following vulnerability has been resolved:

udp: Fix memory accounting leak.

Matt Dowling reported a weird UDP memory usage issue.

Under normal operation, the UDP memory usage reported in /proc/net/sockstat remains close to zero. However, it occasionally spiked to 524,288 pages and never dropped. Moreover, the value doubled when the application was terminated. Finally, it caused intermittent packet drops.

We can reproduce the issue with the script below [0]:

  1. /proc/net/sockstat reports 0 pages

    cat /proc/net/sockstat | grep UDP:

    UDP: inuse 1 mem 0

  2. Run the script till the report reaches 524,288

    python3 test.py & sleep 5

    cat /proc/net/sockstat | grep UDP:

    UDP: inuse 3 mem 524288 <-- (INTMAX + 1) >> PAGESHIFT

  3. Kill the socket and confirm the number never drops

    pkill python3 && sleep 5

    cat /proc/net/sockstat | grep UDP:

    UDP: inuse 1 mem 524288

  4. (necessary since v6.0) Trigger protomemorypcpu_drain()

    python3 test.py & sleep 1 && pkill python3

  5. The number doubles

    cat /proc/net/sockstat | grep UDP:

    UDP: inuse 1 mem 1048577

The application set INTMAX to SORCVBUF, which triggered an integer overflow in udprmemrelease().

When a socket is close()d, udpdestructcommon() purges its receive queue and sums up skb->truesize in the queue. This total is calculated and stored in a local unsigned integer variable.

The total size is then passed to udprmemrelease() to adjust memory accounting. However, because the function takes a signed integer argument, the total size can wrap around, causing an overflow.

Then, the released amount is calculated as follows:

1) Add size to sk->skforwardalloc. 2) Round down sk->skforwardalloc to the nearest lower multiple of PAGESIZE and assign it to amount. 3) Subtract amount from sk->skforwardalloc. 4) Pass amount >> PAGESHIFT to _skmemreduceallocated().

When the issue occurred, the total in udpdestructcommon() was 2147484480 (INTMAX + 833), which was cast to -2147482816 in udprmem_release().

At 1) sk->skforwardalloc is changed from 3264 to -2147479552, and 2) sets -2147479552 to amount. 3) reverts the wraparound, so we don't see a warning in inetsockdestruct(). However, udpmemoryallocated ends up doubling at 4).

Since commit 3cd3399dd7a8 ("net: implement per-cpu reserves for memoryallocated"), memory usage no longer doubles immediately after a socket is close()d because _skmemreduceallocated() caches the amount in udpmemorypercpufwalloc. However, the next time a UDP socket receives a packet, the subtraction takes effect, causing UDP memory usage to double.

This issue makes further memory allocation fail once the socket's sk->skrmemalloc exceeds net.ipv4.udprmemmin, resulting in packet drops.

To prevent this issue, let's use unsigned int for the calculation and call skforwardalloc_add() only once for the small delta.

Note that firstpacketlength() also potentially has the same problem.

SORCVBUFFORCE = 33 INTMAX = (2 ** 31) - 1

s = socket(AFINET, SOCKDGRAM) s.bind(('', 0)) s.setsockopt(SOLSOCKET, SORCVBUFFORCE, INT_MAX)

c = socket(AFINET, SOCKDGRAM) c.connect(s.getsockname())

data = b'a' * 100

while True: c.send(data)

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
c3ad8c30b6b109283d2643e925f8e65f2e7ab34e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
9122fec396950cc866137af7154b1d0d989be52e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
aeef6456692c6f11ae53d278df64f1316a2a405a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
a116b271bf3cb72c8155b6b7f39083c1b80dcd00
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
c4bac6c398118fba79e32b1cd01db22dbfe29fbf
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
3836029448e76c1e6f77cc5fe0adc09b018b5fa8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f970bd9e3a06f06df8d8ecf1f8ad2c8615cc17eb
Fixed
df207de9d9e7a4d92f8567e2c539d9c8c12fd99d

Affected versions

v4.*

v4.10
v4.10-rc1
v4.10-rc2
v4.10-rc3
v4.10-rc4
v4.10-rc5
v4.10-rc6
v4.10-rc7
v4.10-rc8
v4.11
v4.11-rc1
v4.11-rc2
v4.11-rc3
v4.11-rc4
v4.11-rc5
v4.11-rc6
v4.11-rc7
v4.11-rc8
v4.12
v4.12-rc1
v4.12-rc2
v4.12-rc3
v4.12-rc4
v4.12-rc5
v4.12-rc6
v4.12-rc7
v4.13
v4.13-rc1
v4.13-rc2
v4.13-rc3
v4.13-rc4
v4.13-rc5
v4.13-rc6
v4.13-rc7
v4.14
v4.14-rc1
v4.14-rc2
v4.14-rc3
v4.14-rc4
v4.14-rc5
v4.14-rc6
v4.14-rc7
v4.14-rc8
v4.15
v4.15-rc1
v4.15-rc2
v4.15-rc3
v4.15-rc4
v4.15-rc5
v4.15-rc6
v4.15-rc7
v4.15-rc8
v4.15-rc9
v4.16
v4.16-rc1
v4.16-rc2
v4.16-rc3
v4.16-rc4
v4.16-rc5
v4.16-rc6
v4.16-rc7
v4.17
v4.17-rc1
v4.17-rc2
v4.17-rc3
v4.17-rc4
v4.17-rc5
v4.17-rc6
v4.17-rc7
v4.18
v4.18-rc1
v4.18-rc2
v4.18-rc3
v4.18-rc4
v4.18-rc5
v4.18-rc6
v4.18-rc7
v4.18-rc8
v4.19
v4.19-rc1
v4.19-rc2
v4.19-rc3
v4.19-rc4
v4.19-rc5
v4.19-rc6
v4.19-rc7
v4.19-rc8
v4.20
v4.20-rc1
v4.20-rc2
v4.20-rc3
v4.20-rc4
v4.20-rc5
v4.20-rc6
v4.20-rc7
v4.9
v4.9-rc1
v4.9-rc2
v4.9-rc3
v4.9-rc4
v4.9-rc5
v4.9-rc6
v4.9-rc7
v4.9-rc8

v5.*

v5.0
v5.0-rc1
v5.0-rc2
v5.0-rc3
v5.0-rc4
v5.0-rc5
v5.0-rc6
v5.0-rc7
v5.0-rc8
v5.1
v5.1-rc1
v5.1-rc2
v5.1-rc3
v5.1-rc4
v5.1-rc5
v5.1-rc6
v5.1-rc7
v5.10
v5.10-rc1
v5.10-rc2
v5.10-rc3
v5.10-rc4
v5.10-rc5
v5.10-rc6
v5.10-rc7
v5.11
v5.11-rc1
v5.11-rc2
v5.11-rc3
v5.11-rc4
v5.11-rc5
v5.11-rc6
v5.11-rc7
v5.12
v5.12-rc1
v5.12-rc1-dontuse
v5.12-rc2
v5.12-rc3
v5.12-rc4
v5.12-rc5
v5.12-rc6
v5.12-rc7
v5.12-rc8
v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.15.1
v5.15.10
v5.15.100
v5.15.101
v5.15.102
v5.15.103
v5.15.104
v5.15.105
v5.15.106
v5.15.107
v5.15.108
v5.15.109
v5.15.11
v5.15.110
v5.15.111
v5.15.112
v5.15.113
v5.15.114
v5.15.115
v5.15.116
v5.15.117
v5.15.118
v5.15.119
v5.15.12
v5.15.120
v5.15.121
v5.15.122
v5.15.123
v5.15.124
v5.15.125
v5.15.126
v5.15.127
v5.15.128
v5.15.129
v5.15.13
v5.15.130
v5.15.131
v5.15.132
v5.15.133
v5.15.134
v5.15.135
v5.15.136
v5.15.137
v5.15.138
v5.15.139
v5.15.14
v5.15.140
v5.15.141
v5.15.142
v5.15.143
v5.15.144
v5.15.145
v5.15.146
v5.15.147
v5.15.148
v5.15.149
v5.15.15
v5.15.150
v5.15.151
v5.15.152
v5.15.153
v5.15.154
v5.15.155
v5.15.156
v5.15.157
v5.15.158
v5.15.159
v5.15.16
v5.15.160
v5.15.161
v5.15.162
v5.15.163
v5.15.164
v5.15.165
v5.15.166
v5.15.167
v5.15.168
v5.15.169
v5.15.17
v5.15.170
v5.15.171
v5.15.172
v5.15.173
v5.15.174
v5.15.175
v5.15.176
v5.15.177
v5.15.178
v5.15.179
v5.15.18
v5.15.180
v5.15.181
v5.15.182
v5.15.183
v5.15.184
v5.15.185
v5.15.186
v5.15.187
v5.15.188
v5.15.189
v5.15.19
v5.15.190
v5.15.191
v5.15.192
v5.15.193
v5.15.194
v5.15.2
v5.15.20
v5.15.21
v5.15.22
v5.15.23
v5.15.24
v5.15.25
v5.15.26
v5.15.27
v5.15.28
v5.15.29
v5.15.3
v5.15.30
v5.15.31
v5.15.32
v5.15.33
v5.15.34
v5.15.35
v5.15.36
v5.15.37
v5.15.38
v5.15.39
v5.15.4
v5.15.40
v5.15.41
v5.15.42
v5.15.43
v5.15.44
v5.15.45
v5.15.46
v5.15.47
v5.15.48
v5.15.49
v5.15.5
v5.15.50
v5.15.51
v5.15.52
v5.15.53
v5.15.54
v5.15.55
v5.15.56
v5.15.57
v5.15.58
v5.15.59
v5.15.6
v5.15.60
v5.15.61
v5.15.62
v5.15.63
v5.15.64
v5.15.65
v5.15.66
v5.15.67
v5.15.68
v5.15.69
v5.15.7
v5.15.70
v5.15.71
v5.15.72
v5.15.73
v5.15.74
v5.15.75
v5.15.76
v5.15.77
v5.15.78
v5.15.79
v5.15.8
v5.15.80
v5.15.81
v5.15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c2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.100
v6.1.101
v6.1.102
v6.1.103
v6.1.104
v6.1.105
v6.1.106
v6.1.107
v6.1.108
v6.1.109
v6.1.11
v6.1.110
v6.1.111
v6.1.112
v6.1.113
v6.1.114
v6.1.115
v6.1.116
v6.1.117
v6.1.118
v6.1.119
v6.1.12
v6.1.120
v6.1.121
v6.1.122
v6.1.123
v6.1.124
v6.1.125
v6.1.126
v6.1.127
v6.1.128
v6.1.129
v6.1.13
v6.1.130
v6.1.131
v6.1.132
v6.1.133
v6.1.14
v6.1.15
v6.1.16
v6.1.17
v6.1.18
v6.1.19
v6.1.2
v6.1.20
v6.1.21
v6.1.22
v6.1.23
v6.1.24
v6.1.25
v6.1.26
v6.1.27
v6.1.28
v6.1.29
v6.1.3
v6.1.30
v6.1.31
v6.1.32
v6.1.33
v6.1.34
v6.1.35
v6.1.36
v6.1.37
v6.1.38
v6.1.39
v6.1.4
v6.1.40
v6.1.41
v6.1.42
v6.1.43
v6.1.44
v6.1.45
v6.1.46
v6.1.47
v6.1.48
v6.1.49
v6.1.5
v6.1.50
v6.1.51
v6.1.52
v6.1.53
v6.1.54
v6.1.55
v6.1.56
v6.1.57
v6.1.58
v6.1.59
v6.1.6
v6.1.60
v6.1.61
v6.1.62
v6.1.63
v6.1.64
v6.1.65
v6.1.66
v6.1.67
v6.1.68
v6.1.69
v6.1.7
v6.1.70
v6.1.71
v6.1.72
v6.1.73
v6.1.74
v6.1.75
v6.1.76
v6.1.77
v6.1.78
v6.1.79
v6.1.8
v6.1.80
v6.1.81
v6.1.82
v6.1.83
v6.1.84
v6.1.85
v6.1.86
v6.1.87
v6.1.88
v6.1.89
v6.1.9
v6.1.90
v6.1.91
v6.1.92
v6.1.93
v6.1.94
v6.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.6.19
v6.6.2
v6.6.20
v6.6.21
v6.6.22
v6.6.23
v6.6.24
v6.6.25
v6.6.26
v6.6.27
v6.6.28
v6.6.29
v6.6.3
v6.6.30
v6.6.31
v6.6.32
v6.6.33
v6.6.34
v6.6.35
v6.6.36
v6.6.37
v6.6.38
v6.6.39
v6.6.4
v6.6.40
v6.6.41
v6.6.42
v6.6.43
v6.6.44
v6.6.45
v6.6.46
v6.6.47
v6.6.48
v6.6.49
v6.6.5
v6.6.50
v6.6.51
v6.6.52
v6.6.53
v6.6.54
v6.6.55
v6.6.56
v6.6.57
v6.6.58
v6.6.59
v6.6.6
v6.6.60
v6.6.61
v6.6.62
v6.6.63
v6.6.64
v6.6.65
v6.6.66
v6.6.67
v6.6.68
v6.6.69
v6.6.7
v6.6.70
v6.6.71
v6.6.72
v6.6.73
v6.6.74
v6.6.75
v6.6.76
v6.6.77
v6.6.78
v6.6.79
v6.6.8
v6.6.80
v6.6.81
v6.6.82
v6.6.83
v6.6.84
v6.6.85
v6.6.86
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df207de9d9e7a4d92f8567e2c539d9c8c12fd99d",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "240256638290692910830720260921192949922",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-06c2fb92"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9122fec396950cc866137af7154b1d0d989be52e",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-2c3b28b2"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3ad8c30b6b109283d2643e925f8e65f2e7ab34e",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-2e065ce2"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3ad8c30b6b109283d2643e925f8e65f2e7ab34e",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-40f7bc92"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aeef6456692c6f11ae53d278df64f1316a2a405a",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-48ab41b4"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9122fec396950cc866137af7154b1d0d989be52e",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-5071bbc9"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bac6c398118fba79e32b1cd01db22dbfe29fbf",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "26808914134470889383711747193753234344",
            "length": 810.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-50c2e4e2"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9122fec396950cc866137af7154b1d0d989be52e",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-63311347"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aeef6456692c6f11ae53d278df64f1316a2a405a",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "26808914134470889383711747193753234344",
            "length": 810.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-79374e38"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3836029448e76c1e6f77cc5fe0adc09b018b5fa8",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "26808914134470889383711747193753234344",
            "length": 810.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-7d379141"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bac6c398118fba79e32b1cd01db22dbfe29fbf",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-82f7905e"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a116b271bf3cb72c8155b6b7f39083c1b80dcd00",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "26808914134470889383711747193753234344",
            "length": 810.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-88d37868"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df207de9d9e7a4d92f8567e2c539d9c8c12fd99d",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "294107642026796885839004335422047368195",
            "length": 506.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-91323bb2"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df207de9d9e7a4d92f8567e2c539d9c8c12fd99d",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-95b3d9ab"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df207de9d9e7a4d92f8567e2c539d9c8c12fd99d",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "26808914134470889383711747193753234344",
            "length": 810.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-9e967c06"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aeef6456692c6f11ae53d278df64f1316a2a405a",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-a0f3edf9"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bac6c398118fba79e32b1cd01db22dbfe29fbf",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-af104e11"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a116b271bf3cb72c8155b6b7f39083c1b80dcd00",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-b2c2065d"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3836029448e76c1e6f77cc5fe0adc09b018b5fa8",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-b32ede48"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3ad8c30b6b109283d2643e925f8e65f2e7ab34e",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "109405875067573059533602636156299416184",
                "316669292118296063734415346387873484931",
                "129147886944586600714744423494822872543",
                "32145287124947917847277654349585682115",
                "283072539076003519550623581250869497675",
                "20230039499075216658915675799474243676",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-b57f4865"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9122fec396950cc866137af7154b1d0d989be52e",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "198880408589810990697837645692841939647",
            "length": 800.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-b5f5d11a"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a116b271bf3cb72c8155b6b7f39083c1b80dcd00",
        "target": {
            "function": "first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "224030975684640034229958262399233694394",
            "length": 538.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-ca2bf2f0"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3836029448e76c1e6f77cc5fe0adc09b018b5fa8",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-cc58d7f4"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3ad8c30b6b109283d2643e925f8e65f2e7ab34e",
        "target": {
            "function": "udp_rmem_release",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "201357868970652842153170146405091441044",
            "length": 829.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-d5fbb04a"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a116b271bf3cb72c8155b6b7f39083c1b80dcd00",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-d8c36c3a"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bac6c398118fba79e32b1cd01db22dbfe29fbf",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-e4c021c0"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aeef6456692c6f11ae53d278df64f1316a2a405a",
        "target": {
            "function": "__first_packet_length",
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "326860498537903859800069586299675746634",
            "length": 479.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-f0563989"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3836029448e76c1e6f77cc5fe0adc09b018b5fa8",
        "target": {
            "file": "net/ipv4/udp.c"
        },
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "125030396815268641712459355908563368087",
                "30709645276767535855882907124335298945",
                "282803055942783218750761913513785120062",
                "35393061305966146585312552762936285394",
                "59034131448735404423948561945554971954",
                "304107605640229047877329556614774140562",
                "22648392285412855821352865149790562584",
                "199054360417985792027456120014497183404",
                "270255423835717781884199439058672089663",
                "22822198149086787019570274072088735613",
                "283310136085858250758763603244254540043",
                "274885482042688214010059219507743137389",
                "14558331304419809199379205527844001124",
                "14667840503288249277525638226004265026",
                "174052262265050270253698699323384015186",
                "4443557497862131054510748968055479769",
                "56492138511773810773396377608762961351",
                "77825733369684760787743811604120370157",
                "71197371923380678341345174037528909951",
                "150939719191196502930684688620486137250",
                "11751731585510941856216672837321631838",
                "126635331645740012379096593996323368601",
                "4033832769662459667583813078339167209",
                "338201085812971986708499156414158998945",
                "320594421724800496522107680084260628271"
            ]
        },
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2025-22058-f0f1ca00"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.15.195
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.134
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.87
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.23
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.11
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2