CVE-2025-38238

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38238
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38238.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38238
Downstream
Related
Published
2025-07-09T10:42:23Z
Modified
2025-10-22T12:56:11.707782Z
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
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
09c1e6ab4ab2a107d96f119950dc330e446dc2b0
Fixed
09679e9abedfbc5a2590759a1a7893c1c26e6044
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
09c1e6ab4ab2a107d96f119950dc330e446dc2b0
Fixed
a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2

Affected versions

v6.*

v6.13
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.15.1
v6.15.2
v6.15.3
v6.15.4
v6.16-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.15.5