CVE-2025-38238

Source
https://cve.org/CVERecord?id=CVE-2025-38238
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38238.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38238
Downstream
Related
Published
2025-07-09T10:42:23.538Z
Modified
2026-05-15T11:54:05.102596371Z
Summary
scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: fnic: Fix crash in fnicwqcmpl_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
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38238.json"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.15.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38238.json"