Null Pointer Dereference in Linux Kernel Affecting Storage Stack Functionality
CVE-2025-38695
What is CVE-2025-38695?
A critical vulnerability in the Linux kernel's storage stack can lead to a null pointer dereference and potential system instability. This issue arises during cleanup routines of the lpfc_vport structure if the initialization of hardware queues fails. When the function lpfc_sli4_read_rev() does not execute properly, the cleanup attempts to operate on uninitialized hardware queues, leading to dereferencing null pointers. A fix has been implemented to add checks for null pointers before proceeding with cleanup, effectively preventing possible system failures and enhancing overall software stability.
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6711ce7e9de4eb1a541ef30638df1294ea4267f8
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 74bdf54a847dab209d2a8f65852f59b7fa156175
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5e25ee1ecec91c61a8acf938ad338399cad464de