# CVE-2025-38238: scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-07-09T10:42:23.538Z
- Modified: 2026-10-15T22:18:36.020Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 09c1e6ab4ab2a107d96f119950dc330e446dc2b0 before 09679e9abedfbc5a2590759a1a7893c1c26e6044; from 09c1e6ab4ab2a107d96f119950dc330e446dc2b0 before a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2; 6.14 (not affected: before 6.14; from 6.15.5 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.14 before 6.15.5; 6.16

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/09679e9abedfbc5a2590759a1a7893c1c26e6044> (patch)
- <https://git.kernel.org/stable/c/a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2> (patch)

## Sources

- CVE List: [CVE-2025-38238](https://www.cve.org/CVERecord?id=CVE-2025-38238), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38238](https://nvd.nist.gov/vuln/detail/CVE-2025-38238), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38238 · Whole record: https://cve.day/CVE-2025-38238.json · Rebuilt by cve.day 2026-11-25T22:59:01.002Z
