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

Published Jul 9, 2025
·
Updated

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

scsi: fnic: Fix crash in fnicwqcmplhandler 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 Software

5 affected components
Linux Kernel
Linux Linux kernel>=6.14<6.15.5
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Apply the kernel fix for "scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out" by allocating separate frames for the RHBA and RPA FDMI requests and modifying ABTS logic to send ABTS for each of them (instead of reusing a frame when FDMI requests time out).

    Linux kernel scsi: fnic ABTS handling for FDMI requests (RHBA and RPA) = Send ABTS for each of them; allocate separate frames for RHBA and RPA

Event History

Jul 9, 2025
CVE Published
via MITRE·10:42 AM
Data Sourced
via MITRE·10:42 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38238?

CVE-2025-38238 is a high severity vulnerability in the Linux kernel affecting SCSI drivers.

2

How do I fix CVE-2025-38238?

To fix CVE-2025-38238, you should update to the latest version of the Linux kernel where the vulnerability has been resolved.

3

What are the potential impacts of CVE-2025-38238?

The potential impacts of CVE-2025-38238 include system crashes and potential data loss during SCSI operations.

4

Which versions of the Linux kernel are affected by CVE-2025-38238?

CVE-2025-38238 affects specific versions of the Linux kernel that handle SCSI FNIC operations, particularly those that have outdated handling of FDMI requests.

5

Is CVE-2025-38238 publicly known?

Yes, CVE-2025-38238 is a publicly known vulnerability listed in the National Vulnerability Database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203