CVE-2025-37966

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37966
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37966.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37966
Downstream
Published
2025-05-20T17:15:47Z
Modified
2025-07-29T11:22:27.655707Z
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.12.38-1
6.13~rc6-1~exp1
6.13~rc7-1~exp1
6.13.2-1~exp1
6.13.3-1~exp1
6.13.4-1~exp1
6.13.5-1~exp1
6.13.6-1~exp1
6.13.7-1~exp1
6.13.8-1~exp1
6.13.9-1~exp1
6.13.10-1~exp1
6.13.11-1~exp1
6.14.3-1~exp1
6.14.5-1~exp1
6.14.6-1~exp1
6.15~rc7-1~exp1
6.15-1~exp1
6.15.1-1~exp1
6.15.2-1~exp1
6.15.3-1~exp1
6.15.4-1~exp1
6.15.5-1~exp1
6.15.6-1~exp1
6.16~rc7-1~exp1

Ecosystem specific

{
    "urgency": "not yet assigned"
}