All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38238

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-22

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

A flaw was found in the Linux kernel's Cisco Fibre Channel over Ethernet (fnic) driver. When multiple Fabric-Device Management Interface (FDMI) requests time out simultaneously, the driver reuses the same memory frame to send abort commands. Upon completing the transmission, the driver attempts to release the same frame twice. This issue allows network fabric timeout conditions to trigger a system crash, resulting in a denial of service (DoS).