Skip to content
Heist/ feed
Back to feed
HighFix available

scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out When both the RHBA and RPA FDMI requests time out, fnic reuses a frame to send ABTS for each of them. On send completion, this causes an attempt to free the same frame twice that leads to a crash. Fix crash by allocating separate frames for RHBA and RPA, and modify ABTS logic accordingly. Tested by checking MDS for FDMI information. Tested by using instrumented driver to: - Drop PLOGI response - Drop RHBA response - Drop RPA response - Drop RHBA and RPA response - Drop PLOGI response + ABTS response - Drop RHBA response + ABTS response - Drop RPA response + ABTS response - Drop RHBA and RPA response + ABTS response for both of them

Products
Kernel
Affected versions
Not specified
Fixed versions
6.15.5
CVEs
CVE-2025-38238
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:25 UTC · Revision 1

Source evidence

scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out

core-osv · Original source

Published 9 Jul 2025, 10:42 UTC

In the Linux kernel, the following vulnerability has been resolved: scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out When both the RHBA and RPA FDMI requests time out, fnic reuses a frame to send ABTS for each of them. On send completion, this causes an attempt to free the same frame twice that leads to a crash. Fix crash by allocating separate frames for RHBA and RPA, and modify ABTS logic accordingly. Tested by checking MDS for FDMI information. Tested by using instrumented driver to: - Drop PLOGI response - Drop RHBA response - Drop RPA response - Drop RHBA and RPA response - Drop PLOGI response + ABTS response - Drop RHBA response + ABTS response - Drop RPA response + ABTS response - Drop RHBA and RPA response + ABTS response for both of them

osv:CVE-2025-38238

Kernel

Fixed versions: 6.15.5

Complete source record
{
  "id": "9342028bba9818d51f60358cc00ce6156e2ce8307f851e2f604e352ee286e450",
  "url": "https://osv.dev/vulnerability/CVE-2025-38238",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out When both the RHBA and RPA FDMI requests time out, fnic reuses a frame to send ABTS for each of them. On send completion, this causes an attempt to free the same frame twice that leads to a crash. Fix crash by allocating separate frames for RHBA and RPA, and modify ABTS logic accordingly. Tested by checking MDS for FDMI information. Tested by using instrumented driver to: - Drop PLOGI response - Drop RHBA response - Drop RPA response - Drop RHBA and RPA response - Drop PLOGI response + ABTS response - Drop RHBA response + ABTS response - Drop RPA response + ABTS response - Drop RHBA and RPA response + ABTS response for both of them",
    "evidence": "osv:CVE-2025-38238",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.15.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-38238",
      "aliases": [
        "CVE-2025-38238"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "09c1e6ab4ab2a107d96f119950dc330e446dc2b0"
                },
                {
                  "fixed": "09679e9abedfbc5a2590759a1a7893c1c26e6044"
                },
                {
                  "fixed": "a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38238.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.15.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38238.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.813800658Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/09679e9abedfbc5a2590759a1a7893c1c26e6044",
        "https://git.kernel.org/stable/c/a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38238.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38238",
        "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/38xxx/CVE-2025-38238.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38238",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498387,
  "published_at": "2025-07-09T10:42:23.538+00:00"
}