CVE-2025-40259
Awaiting Analysis Awaiting Analysis - Queue

BaseFortify

Vulnerability report for CVE-2025-40259, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2025-12-04
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40259. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart