Skip to content
Heist/ feed
Back to feed
UnratedFix available

riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.14.7
CVEs
CVE-2025-37966
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:00 UTC · Revision 1

Source evidence

riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL

core-osv · Original source

Published 20 May 2025, 16:47 UTC

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.

osv:CVE-2025-37966

Kernel

Fixed versions: 6.14.7

Complete source record
{
  "id": "5527e541842bb2d6681ec7d8b5fc64bbaa71c7b4d40d2ba3e310a768a5179859",
  "url": "https://osv.dev/vulnerability/CVE-2025-37966",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL",
    "summary": "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.",
    "evidence": "osv:CVE-2025-37966",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.14.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37966",
      "aliases": [
        "CVE-2025-37966"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "09d6775f503b393d0457c7126aa43208e1724004"
                },
                {
                  "fixed": "4b595a2f5656cd45d534ed2160c94f7662adefe5"
                },
                {
                  "fixed": "ae08d55807c099357c047dba17624b09414635dd"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37966.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37966.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.406945881Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4b595a2f5656cd45d534ed2160c94f7662adefe5",
        "https://git.kernel.org/stable/c/ae08d55807c099357c047dba17624b09414635dd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37966.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37966",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37966.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37966",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 506446,
  "published_at": "2025-05-20T16:47:14.815+00:00"
}