In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Fix panic caused by NULL-PMD in hugepteoffset()
ERROR INFO:
CPU 25 Unable to handle kernel paging request at virtual address 0x0 ... Call Trace: [<900000000023c30c>] hugepteoffset+0x3c/0x58 [<900000000057fd4c>] hugetlbfollowpagemask+0x74/0x438 [<900000000051fee8>] _getuserpages+0xe0/0x4c8 [<9000000000522414>] faultinpagerange+0x84/0x380 [<9000000000564e8c>] madvisevmabehavior+0x534/0xa48 [<900000000056689c>] domadvise+0x1bc/0x3e8 [<9000000000566df4>] sysmadvise+0x24/0x38 [<90000000015b9e88>] dosyscall+0x78/0x98 [<9000000000221f18>] handlesyscall+0xb8/0x158
In some cases, pmd may be NULL and rely on NULL as the return value for processing, so it is necessary to determine this situation here.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "71195477750011135120677249619040559780",
"length": 464.0
},
"id": "CVE-2025-38195-45639950",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b5c7397b7fd125203c60b59860c168ee92291272",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c",
"function": "huge_pte_offset"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247443248985822592321717464525404554695",
"118405841590354163952440741568612515553",
"246714555687648243318748219004854245346",
"237603982384548754608413773072938212721"
]
},
"id": "CVE-2025-38195-487d26af",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee084fa96123ede8b0563a1b5a9b23adc43cd50d",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "71195477750011135120677249619040559780",
"length": 464.0
},
"id": "CVE-2025-38195-5e62fc64",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee084fa96123ede8b0563a1b5a9b23adc43cd50d",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c",
"function": "huge_pte_offset"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247443248985822592321717464525404554695",
"118405841590354163952440741568612515553",
"190383897855079008431654753323722986611",
"34843778719788081505478243836739085044"
]
},
"id": "CVE-2025-38195-7ab6c6b5",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b427d98d55217b53c88643579fbbd8a4c351a105",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247443248985822592321717464525404554695",
"118405841590354163952440741568612515553",
"246714555687648243318748219004854245346",
"237603982384548754608413773072938212721"
]
},
"id": "CVE-2025-38195-c31a2d05",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@985f086f281b7bbb6644851e63af1a17ffff9277",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "71195477750011135120677249619040559780",
"length": 464.0
},
"id": "CVE-2025-38195-c5b04c69",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@985f086f281b7bbb6644851e63af1a17ffff9277",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c",
"function": "huge_pte_offset"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247443248985822592321717464525404554695",
"118405841590354163952440741568612515553",
"246714555687648243318748219004854245346",
"237603982384548754608413773072938212721"
]
},
"id": "CVE-2025-38195-e2944d53",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b5c7397b7fd125203c60b59860c168ee92291272",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "110895956475444268724159298013723638898",
"length": 431.0
},
"id": "CVE-2025-38195-ec53cab7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b427d98d55217b53c88643579fbbd8a4c351a105",
"target": {
"file": "arch/loongarch/mm/hugetlbpage.c",
"function": "huge_pte_offset"
}
}
]