Linux Kernel SCSI FNIC Double Free Vulnerability Leading to Crash

Vulnerability

A vulnerability in the Linux kernel's SCSI FNIC driver can cause a system crash due to improper handling of FDMI requests. When both the RHBA and RPA FDMI requests time out, the driver reuses a frame to send ABTS for each request. This reuse leads to an attempt to free the same frame twice, causing a crash. The vulnerability has been addressed by allocating separate frames for RHBA and RPA requests and modifying the ABTS logic accordingly.

Impact

The vulnerability can lead to a system crash by causing a double free error in the SCSI FNIC driver.

Reproduction

The vulnerability can be reproduced by using an instrumented SCSI FNIC driver to drop various combinations of FDMI response messages, including PLOGI, RHBA, and RPA responses. Dropping these responses can simulate the conditions that lead to the timeout and frame reuse issue, causing the driver to attempt to free the same frame multiple times, which results in a crash.

Added: Jul 9, 2025, 12:09 PM
Updated: Jul 9, 2025, 12:09 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.