CVE-2025-37966: riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL

Published May 20, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

riscv: Fix kernel crash due to PRSETTAGGEDADDRCTRL

When userspace does PRSETTAGGEDADDRCTRL, but Supm extension is not available, the kernel crashes:

Oops - illegal instruction [#1] [snip] epc : settaggedaddrctrl+0x112/0x15a ra : settaggedaddrctrl+0x74/0x15a epc : ffffffff80011ace ra : ffffffff80011a30 sp : ffffffc60039be10 [snip] status: 0000000200000120 badaddr: 0000000010a79073 cause: 0000000000000002 settaggedaddrctrl+0x112/0x15a riscvsysprctl+0x352/0x73c dotrapecallu+0x17c/0x20c andleexception+0x150/0x15c

Fix it by checking if Supm is available.

Affected Software

7 affected components
Linux Linux kernel
Linux Linux kernel>=6.13<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Before handling userspace PR_SET_TAGGED_ADDR_CTRL, check whether the RISC-V Supm extension is available to prevent the kernel from executing an unsupported instruction.

Event History

May 20, 2025
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37966?

CVE-2025-37966 is a high severity vulnerability due to the potential for kernel crashes.

2

How do I fix CVE-2025-37966?

To fix CVE-2025-37966, update the Linux kernel to a version that includes the patch for this vulnerability.

3

What is the impact of CVE-2025-37966 on systems?

The impact of CVE-2025-37966 is a kernel crash when userspace executes PR_SET_TAGGED_ADDR_CTRL without the Supm extension.

4

Which versions of the Linux kernel are affected by CVE-2025-37966?

CVE-2025-37966 affects versions of the Linux kernel prior to the implementation of the patch that resolves this issue.

5

Is CVE-2025-37966 a local or remote vulnerability?

CVE-2025-37966 is considered a local vulnerability as it requires userspace access to trigger the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203