What’s Vulnerable › Vulnerabilities

CVE-2025-40259: scsi: sg: Do not sleep in atomic context

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Do not sleep in atomic context sg_finish_rem_req() calls blk_rq_unmap_user(). The latter function may sleep. Hence, call sg_finish_rem_req() with interrupts enabled instead of disabled.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 3.17, 3.19, 4.10, 4.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40259 or the next vulnerability affects your stack