{
  "id": "CVE-2025-68745",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68745",
  "published_at": "2025-12-24T12:09:41.517Z",
  "title": "scsi: qla2xxx: Clear cmds after chip reset",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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: qla2xxx: Clear cmds after chip reset\n\nCommit aefed3e5548f (\"scsi: qla2xxx: target: Fix offline port handling\nand host reset handling\") caused two problems:\n\n1. Commands sent to FW, after chip reset got stuck and never freed as FW\n   is not going to respond to them anymore.\n\n2. BUG_ON(cmd-\u003esg_mapped) in qlt_free_cmd().  Commit 26f9ce53817a\n   (\"scsi: qla2xxx: Fix missed DMA unmap for aborted commands\")\n   attempted to fix this, but introduced another bug under different\n   circumstances when two different CPUs were racing to call\n   qlt_unmap_sg() at the same time: BUG_ON(!valid_dma_direction(dir)) in\n   dma_unmap_sg_attrs().\n\nSo revert \"scsi: qla2xxx: Fix missed DMA unmap for aborted commands\" and\npartially revert \"scsi: qla2xxx: target: Fix offline port handling and\nhost reset handling\" at __qla2x00_abort_all_cmds.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \u003c e87e9f92d7735895b7dd97f53dce6d95d08cf29c",
          "\u003e= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \u003c 0d0a1a267c1ee7c41aeffdca84afcb113787a91a",
          "\u003e= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \u003c c82c0fbb97d0fd44324eb55ab758408c7c964b32",
          "\u003e= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \u003c 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936",
          "\u003e= aefed3e5548f28e5fecafda6604fcbc65484dbaa, \u003c d46c69a087aa3d1513f7a78f871b80251ea0c1ae",
          "eb67b7a23d357f578578e737cb6412ae2384f352",
          "ec9639d92c1e10d4bc667e842753d85e21683d5c",
          "e6e957f552d5b696879a31e5b0e2a9120e1ea86e",
          "\u003e= 4.9.316, \u003c 4.10",
          "\u003e= 4.14.281, \u003c 4.15",
          "\u003e= 4.19.245, \u003c 4.20"
        ],
        "fixed_in": [
          "e87e9f92d7735895b7dd97f53dce6d95d08cf29c",
          "0d0a1a267c1ee7c41aeffdca84afcb113787a91a",
          "c82c0fbb97d0fd44324eb55ab758408c7c964b32",
          "5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936",
          "d46c69a087aa3d1513f7a78f871b80251ea0c1ae",
          "4.10",
          "4.15",
          "4.20"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.2"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.2",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e87e9f92d7735895b7dd97f53dce6d95d08cf29c or 0d0a1a267c1ee7c41aeffdca84afcb113787a91a or c82c0fbb97d0fd44324eb55ab758408c7c964b32 or 5c1fb3fd05da3d55b8cbc42d7d660b313cbdc936 or d46c69a087aa3d1513f7a78f871b80251ea0c1ae or 4.10 or 4.15 or 4.20 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.2 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
