LiveActive security incident?Get immediate response
CVE Record

CVE-2025-40259: scsi: sg: Do not sleep in atomic context

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2025-40259 is a Linux kernel flaw in the SCSI generic driver. The issue is a kernel code path that may sleep while interrupts are disabled, which can affect kernel stability. The public record does not provide CVSS, CWE, exploitability, or business-impact detail.

Executive priority

Track and remediate through normal Linux kernel patch management unless vendor advisories add stronger impact or exploitation evidence. The issue is real, but public severity and exploit context are incomplete.

Technical view

In the Linux sg driver, sg_finish_rem_req() calls blk_rq_unmap_user(), which may sleep. The fix changes the request-finish path so sg_finish_rem_req() is called with interrupts enabled instead of disabled, avoiding sleep in atomic context.

Likely exposure

Exposure is most likely on Linux systems running affected kernel versions or distribution kernels carrying the vulnerable sg driver code. The CVE lists multiple affected kernel release lines, but distribution backport status must be checked separately.

Exploitation context

The source bundle does not show active exploitation, public exploit code, KEV listing, CVSS, or required attacker conditions. Treat exploitation status as unconfirmed and prioritize based on affected kernel presence and vendor guidance.

Researcher notes

The CVE record describes a sleep-in-atomic-context bug in the sg request completion path. The available evidence supports a kernel correctness and stability concern, not a confirmed privilege escalation or remote attack path.

Mitigation direction

  • Check Linux distribution advisories for CVE-2025-40259 backports and fixed package versions.
  • Update affected kernels to a vendor-supported release containing the referenced stable fixes.
  • Prioritize systems using SCSI generic interfaces or exposing local untrusted user access.
  • Avoid inventing compensating controls; follow kernel or distribution maintainer guidance.

Validation and detection

  • Inventory kernel versions across Linux hosts and appliances.
  • Map installed kernels to vendor advisories for CVE-2025-40259.
  • Confirm fixed kernel builds include the relevant upstream stable commit or vendor backport.
  • Review whether SCSI generic driver functionality is present and used on exposed systems.
Prepared
Confidence
medium
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-40259 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
1ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 97d27b0dd015e980ade63fda111fd1353276e28b, 8d1f3b474a89b42f957ba3bae959dd3cd16531ca, fa55ef3f803fc7c20be0ab809e6278c31febd875, 6af37613289cfd32516ada47e444b48a638829c8, 4a8e8e0af9a520a685e0ab2d489327d5220d7ce2, ae9b6ae2e77947534e255903627cc62746ea77e2, 3.16.85, 3.18.101, 4.1.52, 4.4.123, 4.9.89unaffected
LinuxLinux4.12, 0, 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.118, 6.12.60, 6.17.10, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.