{"id":"CVE-2025-38696","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-04T16:15:38.060","lastModified":"2026-10-19T21:10:00.160","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: Don't crash in stack_top() for tasks without ABI or vDSO\n\nNot all tasks have an ABI associated or vDSO mapped,\nfor example kthreads never do.\nIf such a task ever ends up calling stack_top(), it will derefence the\nNULL ABI pointer and crash.\n\nThis can for example happen when using kunit:\n\n    mips_stack_top+0x28/0xc0\n    arch_pick_mmap_layout+0x190/0x220\n    kunit_vm_mmap_init+0xf8/0x138\n    __kunit_add_resource+0x40/0xa8\n    kunit_vm_mmap+0x88/0xd8\n    usercopy_test_init+0xb8/0x240\n    kunit_try_run_case+0x5c/0x1a8\n    kunit_generic_run_threadfn_adapter+0x28/0x50\n    kthread+0x118/0x240\n    ret_from_kernel_thread+0x14/0x1c\n\nOnly dereference the ABI point if it is set.\n\nThe GIC page is also included as it is specific to the vDSO.\nAlso move the randomization adjustment into the same conditional."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nMIPS: No fallar en stack_top() para tareas sin ABI o vDSO\n\nNo todas las tareas tienen un ABI asociado o vDSO mapeado,\npor ejemplo, los kthreads nunca lo hacen.\nSi una tarea de este tipo alguna vez termina llamando a stack_top(), desreferenciará el puntero ABI NULL y fallará.\n\nEsto puede ocurrir, por ejemplo, al usar kunit:\n\n    mips_stack_top+0x28/0xc0\n    arch_pick_mmap_layout+0x190/0x220\n    kunit_vm_mmap_init+0xf8/0x138\n    __kunit_add_resource+0x40/0xa8\n    kunit_vm_mmap+0x88/0xd8\n    usercopy_test_init+0xb8/0x240\n    kunit_try_run_case+0x5c/0x1a8\n    kunit_generic_run_threadfn_adapter+0x28/0x50\n    kthread+0x118/0x240\n    ret_from_kernel_thread+0x14/0x1c\n\nSolo desreferenciar el puntero ABI si está establecido.\n\nLa página GIC también se incluye ya que es específica del vDSO.\nTambién mover el ajuste de aleatorización a la misma condicional."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/mips/kernel/process.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"ab18e48a503230d675e824a0d68a108bdff42503","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"e78033e59444d257d095b73ce5d20625294f6ec2","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"bd90dbd196831f5c2620736dc221db2634cf1e8e","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"5b6839b572b503609b9b58bc6c04a816eefa0794","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"f22de2027b206ddfb8a075800bb5d0dacf2da4b8","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"82d140f6aab5e89a9d3972697a0dbe1498752d9b","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"24d098b6f69b0aa806ffcb3e18259bee31650b28","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"cddf47d20b0325dc8a4e57b833fe96e8f36c42a4","versionType":"git","status":"affected"},{"version":"ea7e0480a4b695d0aa6b3fa99bd658a003122113","lessThan":"e9f4a6b3421e936c3ee9d74710243897d74dbaa2","versionType":"git","status":"affected"},{"version":"86717a97f9218de798c6d33e0014ab9325e18f56","versionType":"git","status":"affected"},{"version":"e4882348eaa9f5f052cb21d2a5aa99a063e4308b","versionType":"git","status":"affected"},{"version":"4.14.77","lessThan":"4.15","versionType":"semver","status":"affected"},{"version":"4.18.15","lessThan":"4.19","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/mips/kernel/process.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","versionType":"semver","status":"unaffected"},{"version":"5.4.297","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.241","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.43","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.15.11","lessThanOrEqual":"6.15.*","versionType":"semver","status":"unaffected"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","versionType":"semver","status":"unaffected"},{"version":"6.17","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]},{"source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","affectedData":[{"vendor":"Siemens","product":"SIMATIC CN 4100","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"V5.0","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-476"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.77","versionEndExcluding":"4.15","matchCriteriaId":"DAB549C7-02DD-4302-92A4-769465E3B8D8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18.15","versionEndExcluding":"4.19","matchCriteriaId":"7F3CD4D3-1C4B-436D-BE1E-008A199E6EB6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.1","versionEndExcluding":"5.4.297","matchCriteriaId":"998419B4-7C3C-4404-8CF0-C2F06BCF23CA"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.241","matchCriteriaId":"D0D21C35-EB8A-488A-BBF9-403E4817E5DD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.190","matchCriteriaId":"AD9E597F-3DDE-4D7E-976C-463D0611F13F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.149","matchCriteriaId":"FDBE8280-8983-4D2D-943D-2E6D0104E2D8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.103","matchCriteriaId":"F2293654-7169-49B5-8D0D-EE51EF8B8E48"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.43","matchCriteriaId":"472C5F87-2BF3-4FAB-9B21-DA7513977363"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.15.11","matchCriteriaId":"BC242347-F722-43AE-B910-BE0B22386977"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.16.2","matchCriteriaId":"BD7C087D-2415-4521-B624-30003352F899"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:4.19:-:*:*:*:*:*:*","matchCriteriaId":"CFDAD450-8799-4C2D-80CE-2AA45DEC35CE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:4.19:rc8:*:*:*:*:*:*","matchCriteriaId":"C76524C2-3C99-42A8-B110-C3B886DEAFA5"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","matchCriteriaId":"FA6FEEC2-9F11-4643-8827-749718254FED"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/24d098b6f69b0aa806ffcb3e18259bee31650b28","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5b6839b572b503609b9b58bc6c04a816eefa0794","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/82d140f6aab5e89a9d3972697a0dbe1498752d9b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ab18e48a503230d675e824a0d68a108bdff42503","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bd90dbd196831f5c2620736dc221db2634cf1e8e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/cddf47d20b0325dc8a4e57b833fe96e8f36c42a4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e78033e59444d257d095b73ce5d20625294f6ec2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e9f4a6b3421e936c3ee9d74710243897d74dbaa2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f22de2027b206ddfb8a075800bb5d0dacf2da4b8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}]}