CVE-2025-40259
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-12-04

Last updated on: 2025-12-06

Assigner: kernel.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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-04
Last Modified
2025-12-06
Generated
2026-05-07
AI Q&A
2025-12-04
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel involves the sg_finish_rem_req() function calling blk_rq_unmap_user(), which may sleep. Since sleeping is not allowed in atomic context (where interrupts are disabled), this can cause issues. The fix was to ensure sg_finish_rem_req() is called with interrupts enabled to avoid sleeping in atomic context.


How can this vulnerability impact me? :

If this vulnerability is exploited or triggered, it could cause kernel instability or crashes due to improper sleeping in atomic context, potentially leading to system hangs or data corruption.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update your Linux kernel to a version where the issue has been resolved, ensuring that sg_finish_rem_req() is called with interrupts enabled instead of disabled to prevent sleeping in atomic context.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart