CVE-2025-40259 Details
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.
A vulnerability in the Linux kernel's SCSI SG driver has been addressed. The issue arose because the function 'sg_finish_rem_req()' calls 'blk_rq_unmap_user()', which can sleep. To resolve this, 'sg_finish_rem_req()' is now called with interrupts enabled instead of disabled, preventing potential deadlocks in atomic context.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 4, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/109afbd88ecc46b6cc7551367222387e97999765 | kernel.org | |
| https://git.kernel.org/stable/c/11eeee00c94d770d4e45364060b5f1526dfe567b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3dfd520c3b4ffe69e0630c580717d40447ab842f | kernel.org | |
| https://git.kernel.org/stable/c/6983d8375c040bb449d2187f4a57a20de01244fe | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/90449f2d1e1f020835cba5417234636937dd657e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b343cee5df7e750d9033fba33e96fc4399fa88a5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/db6ac8703ab2b473e1ec845f57f6dd961a388d9f | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 6, 2025 | CVE Modified | kernel.org |
| Dec 4, 2025 | New CVE Received | kernel.org |
Volerion