---
id: CVE-2025-38238
title: |-
  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.…
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.…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.14, < 6.15.5'
  - linux_kernel = 6.16
patched:
  - linux_kernel 6.15.5
published: '2025-07-09'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:36.020'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-38238'
references:
  - url: 'https://git.kernel.org/stable/c/09679e9abedfbc5a2590759a1a7893c1c26e6044'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.0021
epssPercentile: 0.11172
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:48:43.685518Z'
ingestedAt: '2026-10-15T22:48:25.500Z'
---

## Overview

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

## Affected

- `linux_kernel >= 6.14, < 6.15.5`
- `linux_kernel = 6.16`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.15.5`
