CVE-2025-40259
What it is
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.
At a glance
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: not scored yet.
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Record status
- Deferred
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2025-40259.md and follow it. Check whether this project is affected by CVE-2025-40259. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://git.kernel.org/stable/c/109afbd88ecc46b6cc7551367222387e97999765
- https://git.kernel.org/stable/c/11eeee00c94d770d4e45364060b5f1526dfe567b
- https://git.kernel.org/stable/c/3dfd520c3b4ffe69e0630c580717d40447ab842f
- https://git.kernel.org/stable/c/6983d8375c040bb449d2187f4a57a20de01244fe
- https://git.kernel.org/stable/c/90449f2d1e1f020835cba5417234636937dd657e
- https://git.kernel.org/stable/c/b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f
- https://git.kernel.org/stable/c/b343cee5df7e750d9033fba33e96fc4399fa88a5
- https://git.kernel.org/stable/c/db6ac8703ab2b473e1ec845f57f6dd961a388d9f