Skip to main content
← All vulnerabilities
CVE-2025-40259

scsi: sg: Do not sleep in atomic context

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.17, 3.19, 4.2, 4.5, 4.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3.16.85 · fixed in 3.17; From 3.18.101 · fixed in 3.19; From 4.1.52 · fixed in 4.2; From 4.4.123 · fixed in 4.5; From 4.9.89 · fixed in 4.10

  • Linux Linux

    4.12

References 8

git.kernel.org