CVE-2025-37966
riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL
Reported by linux · Published May 20, 2025
In the Linux kernel, the following vulnerability has been resolved: riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL When userspace does PR_SET_TAGGED_ADDR_CTRL, but Supm extension is not available, the kernel crashes: Oops - illegal instruction [#1] [snip] epc : set_tagged_addr_ctrl+0x112/0x15a ra : set_tagged_addr_ctrl+0x74/0x15a epc : ffffffff80011ace ra : ffffffff80011a30 sp : ffffffc60039be10 [snip] status: 0000000200000120 badaddr: 0000000010a79073 cause: 0000000000000002 set_tagged_addr_ctrl+0x112/0x15a __riscv_sys_prctl+0x352/0x73c do_trap_ecall_u+0x17c/0x20c andle_exception+0x150/0x15c Fix it by checking if Supm is available.
EPSS 0.16% · 5.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 09d6775f503b393d0457c7126aa43208e1724004, 09d6775f503b393d0457c7126aa43208e1724004 |
| Linux | Linux | 6.13, 0, 6.14.7 |
| linux | linux_kernel | 6.13, 6.13 |
| Linux | Linux | 09d6775f503b393d0457c7126aa43208e1724004, 09d6775f503b393d0457c7126aa43208e1724004, 6.13 |
Timeline
- May 20, 2025 CVE Published
- May 21, 2025 EPSS Score (30 in total, the first dated here)
- Jun 11, 2025 Coalition ESS Score (7 in total, the first dated here)
- Oct 24, 2025 PoC Published (2 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 15, 2025 Security Advisory (207 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (199 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37966
vulnetix vdb fixes CVE-2025-37966
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37966/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart