# scsi: sg: Do not sleep in atomic context

CVE record · `CVE-2025-40259`

- **Identifiers:** `CVE-2025-40259`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Dec 2025
- **Updated:** 16 Jun 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 16:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before 11eeee00c94d770d4e45364060b5f1526dfe567b` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before db6ac8703ab2b473e1ec845f57f6dd961a388d9f` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before 109afbd88ecc46b6cc7551367222387e97999765` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before 3dfd520c3b4ffe69e0630c580717d40447ab842f` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before b343cee5df7e750d9033fba33e96fc4399fa88a5` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before 6983d8375c040bb449d2187f4a57a20de01244fe` (git)
  - affected: `97d27b0dd015e980ade63fda111fd1353276e28b to before 90449f2d1e1f020835cba5417234636937dd657e` (git)
  - affected: `8d1f3b474a89b42f957ba3bae959dd3cd16531ca` (git)
  - affected: `fa55ef3f803fc7c20be0ab809e6278c31febd875` (git)
  - affected: `6af37613289cfd32516ada47e444b48a638829c8` (git)
  - affected: `4a8e8e0af9a520a685e0ab2d489327d5220d7ce2` (git)
  - and 6 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.12`
  - unaffected: `before 4.12` (semver)
  - unaffected: `5.4.302 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.247 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.197 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.159 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.118 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.60 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.10 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 12th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 4 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40259](https://www.cve.org/CVERecord?id=CVE-2025-40259)
- [NVD: CVE-2025-40259](https://nvd.nist.gov/vuln/detail/CVE-2025-40259)

### References from the CNA

- <https://git.kernel.org/stable/c/11eeee00c94d770d4e45364060b5f1526dfe567b>
- <https://git.kernel.org/stable/c/db6ac8703ab2b473e1ec845f57f6dd961a388d9f>
- <https://git.kernel.org/stable/c/109afbd88ecc46b6cc7551367222387e97999765>
- <https://git.kernel.org/stable/c/3dfd520c3b4ffe69e0630c580717d40447ab842f>
- <https://git.kernel.org/stable/c/b343cee5df7e750d9033fba33e96fc4399fa88a5>
- <https://git.kernel.org/stable/c/b2c0340cfa25c5c1f65e8590cc1a2dc97d14ef0f>
- <https://git.kernel.org/stable/c/6983d8375c040bb449d2187f4a57a20de01244fe>
- <https://git.kernel.org/stable/c/90449f2d1e1f020835cba5417234636937dd657e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40259>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40259/>. Everything for agents: <https://agentprime.io/llms.txt>.
