CVE-2025-40259Published Dec 4, 2025 · Dec 4Updated 2d ago
scsi: sg: Do not sleep in atomic context
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 97d27b0dd015e980ade63fda111fd1353276e28b · < b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SCSI sg component can call a function that may sleep while interrupts are disabled. The input does not specify an attacker action, access requirements, or user interaction needed to trigger it.
Anyone running the Linux kernel should check whether their version includes the SCSI sg fix; affected versions are not specified.