{"id":"CVE-2025-38195","aliases":["CVE-2025-38195"],"related":[],"kind":"vulnerability","state":"published","title":"LoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()\n\nERROR INFO:\n\nCPU 25 Unable to handle kernel paging request at virtual address 0x0\n         ...\n Call Trace:\n [<900000000023c30c>] huge_pte_offset+0x3c/0x58\n [<900000000057fd4c>] hugetlb_follow_page_mask+0x74/0x438\n [<900000000051fee8>] __get_user_pages+0xe0/0x4c8\n [<9000000000522414>] faultin_page_range+0x84/0x380\n [<9000000000564e8c>] madvise_vma_behavior+0x534/0xa48\n [<900000000056689c>] do_madvise+0x1bc/0x3e8\n [<9000000000566df4>] sys_madvise+0x24/0x38\n [<90000000015b9e88>] do_syscall+0x78/0x98\n [<9000000000221f18>] handle_syscall+0xb8/0x158\n\nIn some cases, pmd may be NULL and rely on NULL as the return value for\nprocessing, so it is necessary to determine this situation here.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()\n\nERROR INFO:\n\nCPU 25 Unable to handle kernel paging request at virtual address 0x0\n         ...\n Call Trace:\n [<900000000023c30c>] huge_pte_offset+0x3c/0x58\n [<900000000057fd4c>] hugetlb_follow_page_mask+0x74/0x438\n [<900000000051fee8>] __get_user_pages+0xe0/0x4c8\n [<9000000000522414>] faultin_page_range+0x84/0x380\n [<9000000000564e8c>] madvise_vma_behavior+0x534/0xa48\n [<900000000056689c>] do_madvise+0x1bc/0x3e8\n [<9000000000566df4>] sys_madvise+0x24/0x38\n [<90000000015b9e88>] do_syscall+0x78/0x98\n [<9000000000221f18>] handle_syscall+0xb8/0x158\n\nIn some cases, pmd may be NULL and rely on NULL as the return value for\nprocessing, so it is necessary to determine this situation here.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: LoongArch: Se corrige el pánico causado por NULL-PMD en huge_pte_offset() INFORMACIÓN DE ERROR: CPU 25 No se puede manejar la solicitud de paginación del kernel en la dirección virtual 0x0 ... Seguimiento de llamadas:  [&lt;900000000023c30c&gt;] huge_pte_offset+0x3c/0x58 [&lt;900000000057fd4c&gt;] hugetlb_follow_page_mask+0x74/0x438 [&lt;900000000051fee8&gt;] __get_user_pages+0xe0/0x4c8 [&lt;9000000000522414&gt;] faultin_page_range+0x84/0x380 [&lt;9000000000564e8c&gt;] madvise_vma_behavior+0x534/0xa48 [&lt;900000000056689c&gt;] do_madvise+0x1bc/0x3e8 [&lt;9000000000566df4&gt;] sys_madvise+0x24/0x38 [&lt;90000000015b9e88&gt;] do_syscall+0x78/0x98 [&lt;9000000000221f18&gt;] handle_syscall+0xb8/0x158 En algunos casos, pmd puede ser NULL y depender de NULL como valor de retorno para el procesamiento, por lo que es necesario determinar esta situación aquí.","source":"nvd"}],"published":"2025-07-04T13:37:18.558Z","modified":"2026-10-30T13:18:01.470Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"34256805720993e37adf6127371a1265aea8376a","fixed":"55a9a7d21309bbea1dd629cf28396521a2803bb3","status":"affected"},{"type":"git","introduced":"2ca9380b12711afe95b3589bd82b59623b3c96b3","fixed":"b427d98d55217b53c88643579fbbd8a4c351a105","status":"affected"},{"type":"git","introduced":"51424fd171cee6a33f01f7c66b8eb23ac42289d4","fixed":"985f086f281b7bbb6644851e63af1a17ffff9277","status":"affected"},{"type":"git","introduced":"bd51834d1cf65a2c801295d230c220aeebf87a73","fixed":"b5c7397b7fd125203c60b59860c168ee92291272","status":"affected"},{"type":"git","introduced":"bd51834d1cf65a2c801295d230c220aeebf87a73","fixed":"ee084fa96123ede8b0563a1b5a9b23adc43cd50d","status":"affected"},{"type":"git","version":"b49f085cd671addbda4802d6b9382513f7dd0f30","status":"affected"},{"type":"semver","introduced":"6.1.136","fixed":"6.1.191","status":"affected"},{"type":"semver","introduced":"6.6.89","fixed":"6.6.95","status":"affected"},{"type":"semver","introduced":"6.12.26","fixed":"6.12.35","status":"affected"},{"type":"semver","introduced":"6.14.5","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.95","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.35","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.4","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.136","fixed":"6.2"},{"status":"affected","introduced":"6.6.89","fixed":"6.6.95"},{"status":"affected","introduced":"6.12.26","fixed":"6.12.35"},{"status":"affected","introduced":"6.14.5","fixed":"6.15"},{"status":"affected","introduced":"6.15.1","fixed":"6.15.4"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/55a9a7d21309bbea1dd629cf28396521a2803bb3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b427d98d55217b53c88643579fbbd8a4c351a105","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/985f086f281b7bbb6644851e63af1a17ffff9277","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5c7397b7fd125203c60b59860c168ee92291272","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee084fa96123ede8b0563a1b5a9b23adc43cd50d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38195","url":"https://www.cve.org/CVERecord?id=CVE-2025-38195","licence":"CVE Terms of Use","modified":"2026-10-30T12:21:45.698Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38195","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38195","licence":"Public domain","modified":"2026-10-30T13:18:01.470Z"}],"updatedAt":"2026-11-25T22:59:00.635Z","epss":{"score":0.00191,"percentile":0.09143,"date":"2026-12-01T12:00:22.000Z"}}