MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.14.77 to before 4.15; 4.18.15 to before 4.19 | 4.15, 4.19 | Patch available | CNA |
| Linux | Linux | 4.19 and later | 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2, 6.17 | Patch available | CNA |
- Linux VendorLinux Affected 4.14.77 to before 4.15; 4.18.15 to before 4.19 Fixed in 4.15, 4.19 Patch available CNA
- Linux VendorLinux Affected 4.19 and later Fixed in 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2, 6.17 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14.77 to before 4.15; 4.18.15 to before 4.19; 4.19.1 to before 5.4.297; 5.5 to before 5.10.241; 5.11 to before 5.15.190; 5.16 to before 6.1.149; 6.2 to before 6.6.103; 6.7 to before 6.12.43; 6.13 to before 6.15.11; 6.16 to before 6.16.2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.19:-:*:*:*:*:*:* | 4.19 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.19:rc8:*:*:*:*:*:* | 4.19 rc8 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14.77 to before 4.15; 4.18.15 to before 4.19; 4.19.1 to before 5.4.297; 5.5 to before 5.10.241; 5.11 to before 5.15.190; 5.16 to before 6.1.149; 6.2 to before 6.6.103; 6.7 to before 6.12.43; 6.13 to before 6.15.11; 6.16 to before 6.16.2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.19:-:*:*:*:*:*:* Versions 4.19 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.19:rc8:*:*:*:*:*:* Versions 4.19 rc8 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.15, 4.19
- Fix · CNA Linux (Linux) Fixed in 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2, 6.17
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-38696
- 2026-10-03 Alias added: GHSA-5fwx-5j9v-m6cp
References
Patch 9
- https://git.kernel.org/stable/c/ab18e48a503230d675e824a0d68a108bdff42503
- https://git.kernel.org/stable/c/e78033e59444d257d095b73ce5d20625294f6ec2
- https://git.kernel.org/stable/c/bd90dbd196831f5c2620736dc221db2634cf1e8e
- https://git.kernel.org/stable/c/5b6839b572b503609b9b58bc6c04a816eefa0794
- https://git.kernel.org/stable/c/f22de2027b206ddfb8a075800bb5d0dacf2da4b8
- https://git.kernel.org/stable/c/82d140f6aab5e89a9d3972697a0dbe1498752d9b
- https://git.kernel.org/stable/c/24d098b6f69b0aa806ffcb3e18259bee31650b28
- https://git.kernel.org/stable/c/cddf47d20b0325dc8a4e57b833fe96e8f36c42a4
- https://git.kernel.org/stable/c/e9f4a6b3421e936c3ee9d74710243897d74dbaa2
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-38696 · CVE Program
- CVE-2025-38696 · NVD
- FIRST EPSS
- GHSA-5fwx-5j9v-m6cp · GitHub Advisory Database · CC BY 4.0
- CVE-2025-38696 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences