{
  "id": "CVE-2025-38169",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38169",
  "published_at": "2025-07-03T08:36:08.393Z",
  "title": "arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\narm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP\n\nOn system with SME, a thread's kernel FPSIMD state may be erroneously\nclobbered during a context switch immediately after that state is\nrestored. Systems without SME are unaffected.\n\nIf the CPU happens to be in streaming SVE mode before a context switch\nto a thread with kernel FPSIMD state, fpsimd_thread_switch() will\nrestore the kernel FPSIMD state using fpsimd_load_kernel_state() while\nthe CPU is still in streaming SVE mode. When fpsimd_thread_switch()\nsubsequently calls fpsimd_flush_cpu_state(), this will execute an\nSMSTOP, causing an exit from streaming SVE mode. The exit from\nstreaming SVE mode will cause the hardware to reset a number of\nFPSIMD/SVE/SME registers, clobbering the FPSIMD state.\n\nFix this by calling fpsimd_flush_cpu_state() before restoring the kernel\nFPSIMD state.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e92bee9f861b466c676f0200be3e46af7bc4ac6b, \u003c 55d52af498daea75aa03ba9b7e444c8ae495ac20",
          "\u003e= e92bee9f861b466c676f0200be3e46af7bc4ac6b, \u003c a305821f597ec943849d3e53924adb88c61ed682",
          "\u003e= e92bee9f861b466c676f0200be3e46af7bc4ac6b, \u003c 01098d893fa8a6edb2b56e178b798e3e6b674f02",
          "e003c485ac82a9f8de4204912ed059ac6dd4257c",
          "25b90cd122d546823da90b916f7c3289dfe83a99",
          "\u003e= 6.8.12, \u003c 6.9",
          "\u003e= 6.9.3, \u003c 6.10"
        ],
        "fixed_in": [
          "55d52af498daea75aa03ba9b7e444c8ae495ac20",
          "a305821f597ec943849d3e53924adb88c61ed682",
          "01098d893fa8a6edb2b56e178b798e3e6b674f02",
          "6.9",
          "6.10"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.10"
        ],
        "fixed_in": [
          "0",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 55d52af498daea75aa03ba9b7e444c8ae495ac20 or a305821f597ec943849d3e53924adb88c61ed682 or 01098d893fa8a6edb2b56e178b798e3e6b674f02 or 6.9 or 6.10 or later.",
      "Upgrade Linux to 0 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
