Linux Kernel Vulnerability in SCSI Driver Functions
CVE-2025-40259
Currently unrated
What is CVE-2025-40259?
A vulnerability in the Linux kernel's SCSI driver functions occurs when sg_finish_rem_req() is executed. The blk_rq_unmap_user() function called within this context is capable of entering a sleep state, which can lead to unintended consequences in a multi-threaded environment. By ensuring that sg_finish_rem_req() is called with interrupts enabled, this issue is mitigated, enhancing the overall stability and security of the kernel's SCSI subsystem.
Affected Version(s)
Linux 97d27b0dd015e980ade63fda111fd1353276e28b < 11eeee00c94d770d4e45364060b5f1526dfe567b
Linux 97d27b0dd015e980ade63fda111fd1353276e28b
Linux 97d27b0dd015e980ade63fda111fd1353276e28b