CVE-2025-37966

published 20 May 2025 · updated 11 May 2026

riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4b595a2f5656cd45d534ed2160c94f7662adefe5 and Kernel ae08d55807c099357c047dba17624b09414635dd.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.13, >=09d6775f503b393d0457c7126aa43208e1724004 <4b595a2f5656cd45d534ed2160c94f7662adefe5, >=09d6775f503b393d0457c7126aa43208e1724004 <ae08d55807c099357c047dba17624b09414635dd4b595a2f5656cd45d534ed2160c94f7662adefe5, ae08d55807c099357c047dba17624b09414635dd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37966 severity on Zeptric[![CVE-2025-37966](https://zeptric.io/badge/cve/CVE-2025-37966.svg)](https://zeptric.io/cve/CVE-2025-37966)