CVE-2025-38195 json
LoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()
published 2025-07-04 16 mo ago modified 2026-10-30 10 d ago also EUVD-2025-20061
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()
ERROR INFO:
CPU 25 Unable to handle kernel paging request at virtual address 0x0 ... Call Trace: [<900000000023c30c>] huge_pte_offset+0x3c/0x58 [<900000000057fd4c>] hugetlb_follow_page_mask+0x74/0x438 [<900000000051fee8>] __get_user_pages+0xe0/0x4c8 [<9000000000522414>] faultin_page_range+0x84/0x380 [<9000000000564e8c>] madvise_vma_behavior+0x534/0xa48 [<900000000056689c>] do_madvise+0x1bc/0x3e8 [<9000000000566df4>] sys_madvise+0x24/0x38 [<90000000015b9e88>] do_syscall+0x78/0x98 [<9000000000221f18>] handle_syscall+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.
Patch / fix
- Linux Linux 6.1.191, 6.6.95, 6.12.35, 6.15, 6.15.4, 6.16
- linux Debian 14, Debian 13 6.12.35-1
debian advisories DEBIAN-CVE-2025-38195
- git.kernel.org/stable/c/55a9a7d21309bbea1dd629cf28396521a2803bb3 commit
- git.kernel.org/stable/c/b427d98d55217b53c88643579fbbd8a4c351a105 commit
- git.kernel.org/stable/c/985f086f281b7bbb6644851e63af1a17ffff9277 commit
- git.kernel.org/stable/c/b5c7397b7fd125203c60b59860c168ee92291272 commit
- git.kernel.org/stable/c/ee084fa96123ede8b0563a1b5a9b23adc43cd50d commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38195 updated
kernel: LoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/55a9a7d21309bbea1dd629cf28396521a2803bb3
-
git.kernel.org
/stable/c/b427d98d55217b53c88643579fbbd8a4c351a105
patch
-
git.kernel.org
/stable/c/985f086f281b7bbb6644851e63af1a17ffff9277
patch
-
git.kernel.org
/stable/c/b5c7397b7fd125203c60b59860c168ee92291272
patch
-
git.kernel.org
/stable/c/ee084fa96123ede8b0563a1b5a9b23adc43cd50d
patch
Sources
- CVE List CVE-2025-38195
- NVD CVE-2025-38195
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.