CVE-2025-40259

scsi: sg: Do not sleep in atomic context

State
Published
Severity
Not scored
Published
Dec 4, 2025
Updated
Jun 16, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before 11eeee00c94d770d4e45364060b5f1526dfe567bAffected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before db6ac8703ab2b473e1ec845f57f6dd961a388d9fAffected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before 109afbd88ecc46b6cc7551367222387e97999765Affected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before 3dfd520c3b4ffe69e0630c580717d40447ab842fAffected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before b343cee5df7e750d9033fba33e96fc4399fa88a5Affected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0fAffected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before 6983d8375c040bb449d2187f4a57a20de01244feAffected
  • 97d27b0dd015e980ade63fda111fd1353276e28b to before 90449f2d1e1f020835cba5417234636937dd657eAffected
  • 8d1f3b474a89b42f957ba3bae959dd3cd16531caAffected
  • fa55ef3f803fc7c20be0ab809e6278c31febd875Affected
  • 6af37613289cfd32516ada47e444b48a638829c8Affected
  • 4a8e8e0af9a520a685e0ab2d489327d5220d7ce2Affected
  • ae9b6ae2e77947534e255903627cc62746ea77e2Affected
  • 3.16.85 to before 3.17Affected
  • 3.18.101 to before 3.19Affected
  • 4.1.52 to before 4.2Affected
  • 4.4.123 to before 4.5Affected
  • 4.9.89 to before 4.10Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.4.302 through 5.4.*Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.118 through 6.6.*Not affected
  • 6.12.60 through 6.12.*Not affected
  • 6.17.10 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.