CVE-2025-38696

Source
https://cve.org/CVERecord?id=CVE-2025-38696
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38696.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38696
Downstream
AZL (1)
BELL (1)
CLSA (1)
DEBIAN (1)
ECHO (1)
MGASA (2)
OESA (3)
ROOT (4)
UBUNTU (1)
Published
2025-09-04T15:32:48Z
Modified
2026-10-08T02:50:19Z
Summary
MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
Details

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

MIPS: Don't crash in stack_top() for tasks without ABI or vDSO

Not all tasks have an ABI associated or vDSO mapped, for example kthreads never do. If such a task ever ends up calling stack_top(), it will derefence the NULL ABI pointer and crash.

This can for example happen when using kunit:

mips_stack_top+0x28/0xc0
arch_pick_mmap_layout+0x190/0x220
kunit_vm_mmap_init+0xf8/0x138
__kunit_add_resource+0x40/0xa8
kunit_vm_mmap+0x88/0xd8
usercopy_test_init+0xb8/0x240
kunit_try_run_case+0x5c/0x1a8
kunit_generic_run_threadfn_adapter+0x28/0x50
kthread+0x118/0x240
ret_from_kernel_thread+0x14/0x1c

Only dereference the ABI point if it is set.

The GIC page is also included as it is specific to the vDSO. Also move the randomization adjustment into the same conditional.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38696.json"
}
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
ea7e0480a4b695d0aa6b3fa99bd658a003122113
Fixed
ab18e48a503230d675e824a0d68a108bdff42503
Fixed
e78033e59444d257d095b73ce5d20625294f6ec2
Fixed
bd90dbd196831f5c2620736dc221db2634cf1e8e
Fixed
5b6839b572b503609b9b58bc6c04a816eefa0794
Fixed
f22de2027b206ddfb8a075800bb5d0dacf2da4b8
Fixed
82d140f6aab5e89a9d3972697a0dbe1498752d9b
Fixed
24d098b6f69b0aa806ffcb3e18259bee31650b28
Fixed
cddf47d20b0325dc8a4e57b833fe96e8f36c42a4
Fixed
e9f4a6b3421e936c3ee9d74710243897d74dbaa2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.14.77
Fixed
4.15
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.18.15
Fixed
4.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
86717a97f9218de798c6d33e0014ab9325e18f56
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e4882348eaa9f5f052cb21d2a5aa99a063e4308b

Affected versions

v4.*
v4.14.100
v4.14.101
v4.14.102
v4.14.103
v4.14.104
v4.14.105
v4.14.106
v4.14.107
v4.14.108
v4.14.109
v4.14.110
v4.14.111
v4.14.112
v4.14.113
v4.14.114
v4.14.115
v4.14.116
v4.14.117
v4.14.118
v4.14.119
v4.14.120
v4.14.121
v4.14.122
v4.14.123
v4.14.124
v4.14.125
v4.14.126
v4.14.127
v4.14.128
v4.14.129
v4.14.130
v4.14.131
v4.14.132
v4.14.133
v4.14.134
v4.14.135
v4.14.136
v4.14.137
v4.14.138
v4.14.139
v4.14.140
v4.14.141
v4.14.142
v4.14.143
v4.14.144
v4.14.145
v4.14.146
v4.14.147
v4.14.148
v4.14.149
v4.14.150
v4.14.151
v4.14.152
v4.14.153
v4.14.154
v4.14.155
v4.14.156
v4.14.157
v4.14.158
v4.14.159
v4.14.160
v4.14.161
v4.14.162
v4.14.163
v4.14.164
v4.14.165
v4.14.166
v4.14.167
v4.14.168
v4.14.169
v4.14.170
v4.14.171
v4.14.172
v4.14.173
v4.14.174
v4.14.175
v4.14.176
v4.14.177
v4.14.178
v4.14.179
v4.14.180
v4.14.181
v4.14.182
v4.14.183
v4.14.184
v4.14.185
v4.14.186
v4.14.187
v4.14.188
v4.14.189
v4.14.190
v4.14.191
v4.14.192
v4.14.193
v4.14.194
v4.14.195
v4.14.196
v4.14.197
v4.14.198
v4.14.199
v4.14.200
v4.14.201
v4.14.202
v4.14.203
v4.14.204
v4.14.205
v4.14.206
v4.14.207
v4.14.208
v4.14.209
v4.14.210
v4.14.211
v4.14.212
v4.14.213
v4.14.214
v4.14.215
v4.14.216
v4.14.217
v4.14.218
v4.14.219
v4.14.220
v4.14.221
v4.14.222
v4.14.223
v4.14.224
v4.14.225
v4.14.226
v4.14.227
v4.14.228
v4.14.229
v4.14.230
v4.14.231
v4.14.232
v4.14.233
v4.14.234
v4.14.235
v4.14.236
v4.14.237
v4.14.238
v4.14.239
v4.14.240
v4.14.241
v4.14.242
v4.14.243
v4.14.244
v4.14.245
v4.14.246
v4.14.247
v4.14.248
v4.14.249
v4.14.250
v4.14.251
v4.14.252
v4.14.253
v4.14.254
v4.14.255
v4.14.256
v4.14.257
v4.14.258
v4.14.259
v4.14.260
v4.14.261
v4.14.262
v4.14.263
v4.14.264
v4.14.265
v4.14.266
v4.14.267
v4.14.268
v4.14.269
v4.14.270
v4.14.271
v4.14.272
v4.14.273
v4.14.274
v4.14.275
v4.14.276
v4.14.277
v4.14.278
v4.14.279
v4.14.280
v4.14.281
v4.14.282
v4.14.283
v4.14.284
v4.14.285
v4.14.286
v4.14.287
v4.14.288
v4.14.289
v4.14.290
v4.14.291
v4.14.292
v4.14.293
v4.14.294
v4.14.295
v4.14.296
v4.14.297
v4.14.298
v4.14.299
v4.14.300
v4.14.301
v4.14.302
v4.14.303
v4.14.304
v4.14.305
v4.14.306
v4.14.307
v4.14.308
v4.14.309
v4.14.310
v4.14.311
v4.14.312
v4.14.313
v4.14.314
v4.14.315
v4.14.316
v4.14.317
v4.14.318
v4.14.319
v4.14.320
v4.14.321
v4.14.322
v4.14.323
v4.14.324
v4.14.325
v4.14.326
v4.14.327
v4.14.328
v4.14.329
v4.14.330
v4.14.331
v4.14.332
v4.14.333
v4.14.334
v4.14.335
v4.14.336
v4.14.77
v4.14.78
v4.14.79
v4.14.80
v4.14.81
v4.14.82
v4.14.83
v4.14.84
v4.14.85
v4.14.86
v4.14.87
v4.14.88
v4.14.89
v4.14.90
v4.14.91
v4.14.92
v4.14.93
v4.14.94
v4.14.95
v4.14.96
v4.14.97
v4.14.98
v4.14.99
v4.18.15
v4.18.16
v4.18.17
v4.18.18
v4.18.19
v4.18.20

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38696.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
5.4.297
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.241
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.190
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.149
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.103
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.43
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.11
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38696.json"