{
  "id": "CVE-2025-37861",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37861",
  "published_at": "2025-05-09T06:42:07.245Z",
  "title": "scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue",
  "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\nscsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue\n\nWhen the task management thread processes reply queues while the reset\nthread resets them, the task management thread accesses an invalid queue ID\n(0xFFFF), set by the reset thread, which points to unallocated memory,\ncausing a crash.\n\nAdd flag 'io_admin_reset_sync' to synchronize access between the reset,\nI/O, and admin threads. Before a reset, the reset handler sets this flag to\nblock I/O and admin processing threads. If any thread bypasses the initial\ncheck, the reset thread waits up to 10 seconds for processing to finish. If\nthe wait exceeds 10 seconds, the controller is marked as unrecoverable.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c e9efbd037b9002ce9dd012da612e857e98dfcb3e",
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c 31dad8d385953a886e57df70ab43ee25ba37797c",
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c 65ba18c84dbd03afe9b38c06c151239d97a09834",
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c 8d310d66e2b0f5f9f709764641647e8a3a4924fa",
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c 75b67dca4195e11ccf966a704787b2aa2754a457",
          "\u003e= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \u003c f195fc060c738d303a21fae146dbf85e1595fb4c"
        ],
        "fixed_in": [
          "e9efbd037b9002ce9dd012da612e857e98dfcb3e",
          "31dad8d385953a886e57df70ab43ee25ba37797c",
          "65ba18c84dbd03afe9b38c06c151239d97a09834",
          "8d310d66e2b0f5f9f709764641647e8a3a4924fa",
          "75b67dca4195e11ccf966a704787b2aa2754a457",
          "f195fc060c738d303a21fae146dbf85e1595fb4c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.14"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.24",
          "6.13.12",
          "6.14.3",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e9efbd037b9002ce9dd012da612e857e98dfcb3e or 31dad8d385953a886e57df70ab43ee25ba37797c or 65ba18c84dbd03afe9b38c06c151239d97a09834 or 8d310d66e2b0f5f9f709764641647e8a3a4924fa or 75b67dca4195e11ccf966a704787b2aa2754a457 or f195fc060c738d303a21fae146dbf85e1595fb4c or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.24 or 6.13.12 or 6.14.3 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
