# dm crypt: add cond_resched() to dmcrypt_write()

CVE record · `CVE-2023-53051`

- **Identifiers:** `CVE-2023-53051`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 2 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 2 May 2025, 15:55 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: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before e87cd83f70504f1cd2e428966f353c007d6d2d7f` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before 66ff37993dd7e9954b6446237fe2453b380ce40d` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before eb485b7404a281d974bd445ddc5b0b8d5958f371` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before f0eb61b493dbbc32529fbd0d2e945b71b0e47306` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before 2c743db1193bf0e76c73d71ede08bd9b96e6c31d` (git)
  - affected: `dc2676210c425ee8e5cb1bec5bc84d004ddf4179 to before fb294b1c0ba982144ca467a75e7d01ff26304e2b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.0`
  - unaffected: `before 4.0` (semver)
  - unaffected: `4.14.312 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.280 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.240 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.177 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.105 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.22 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2.9 to 6.2.*, inclusive` (semver)
  - unaffected: `6.3 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel dm crypt driver is affected from version 4.0 until fixed. Its dmcrypt_write loop can run for an unbounded time without yielding the CPU, causing a soft lockup. The source gives few details on attacker requirements. Upgrade to 4.14.312, 4.19.280, 5.4.240, or 5.10.177 or a later release in those series.

Written 16 Nov 2026.

## 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 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 2 May 2025, 15:55 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2023-53051)
- 2 May 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-53051)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/e87cd83f70504f1cd2e428966f353c007d6d2d7f>
- <https://git.kernel.org/stable/c/7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6>
- <https://git.kernel.org/stable/c/885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1>
- <https://git.kernel.org/stable/c/66ff37993dd7e9954b6446237fe2453b380ce40d>
- <https://git.kernel.org/stable/c/eb485b7404a281d974bd445ddc5b0b8d5958f371>
- <https://git.kernel.org/stable/c/f0eb61b493dbbc32529fbd0d2e945b71b0e47306>
- <https://git.kernel.org/stable/c/2c743db1193bf0e76c73d71ede08bd9b96e6c31d>
- <https://git.kernel.org/stable/c/fb294b1c0ba982144ca467a75e7d01ff26304e2b>

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-2023-53051>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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