CVE-2023-53051
dm crypt: add cond_resched() to dmcrypt_write()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < e87cd83f70504f1cd2e428966f353c007d6d2d7f; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 66ff37993dd7e9954b6446237fe2453b380ce40d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < eb485b7404a281d974bd445ddc5b0b8d5958f371; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < f0eb61b493dbbc32529fbd0d2e945b71b0e47306; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 2c743db1193bf0e76c73d71ede08bd9b96e6c31d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < fb294b1c0ba982144ca467a75e7d01ff26304e2b
- Anyone running Linux 4.0
Vulnerability facts
- Affected
- Linux >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < e87cd83f70504f1cd2e428966f353c007d6d2d7f; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 66ff37993dd7e9954b6446237fe2453b380ce40d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < eb485b7404a281d974bd445ddc5b0b8d5958f371; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < f0eb61b493dbbc32529fbd0d2e945b71b0e47306; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 2c743db1193bf0e76c73d71ede08bd9b96e6c31d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < fb294b1c0ba982144ca467a75e7d01ff26304e2b; Linux 4.0
- Fixed in
- Linux 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6, Linux 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1, Linux 66ff37993dd7e9954b6446237fe2453b380ce40d, Linux 2c743db1193bf0e76c73d71ede08bd9b96e6c31d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: dm crypt: add cond_resched() to dmcrypt_write() The loop in dmcrypt_write may be running for unbounded amount of time, thus we need cond_resched() in it. This commit fixes the following warning: [ 3391.153255][ C12] watchdog: BUG: soft lockup - CPU#12 stuck for 23s! [dmcrypt_write/2:2897] ... [ 3391.387210][ C12] Call trace: [ 3391.390338][ C12] blk_attempt_bio_merge.part.6+0x38/0x158 [ 3391.395970][ C12] blk_attempt_plug_merge+0xc0/0x1b0 [ 3391.401085][ C12] blk_mq_submit_bio+0x398/0x550 [ 3391.405856][ C12] submit_bio_noacct+0x308/0x380 [ 3391.410630][ C12] dmcrypt_write+0x1e4/0x208 [dm_crypt] [ 3391.416005][ C12] kthread+0x130/0x138 [ 3391.419911][ C12] ret_from_fork+0x10/0x18
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < e87cd83f70504f1cd2e428966f353c007d6d2d7f; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 66ff37993dd7e9954b6446237fe2453b380ce40d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < eb485b7404a281d974bd445ddc5b0b8d5958f371; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < f0eb61b493dbbc32529fbd0d2e945b71b0e47306; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 2c743db1193bf0e76c73d71ede08bd9b96e6c31d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < fb294b1c0ba982144ca467a75e7d01ff26304e2b | — | cvelist |
| Linux | 4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53051. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53051.md Affected: Linux >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < e87cd83f70504f1cd2e428966f353c007d6d2d7f; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1; >= dc2676210c425ee8e5cb1be… Fixed in: Linux 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6, Linux 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1, Linux 66ff37993dd7e9954b6446237fe2453b380ce40d, Linux 2c743db1193bf0e76c73d71ede08bd9b96e6c31d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-53051 being exploited?
There is no confirmed exploitation: CVE-2023-53051 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53051?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53051?
Linux >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < e87cd83f70504f1cd2e428966f353c007d6d2d7f; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 66ff37993dd7e9954b6446237fe2453b380ce40d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < eb485b7404a281d974bd445ddc5b0b8d5958f371; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < f0eb61b493dbbc32529fbd0d2e945b71b0e47306; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < 2c743db1193bf0e76c73d71ede08bd9b96e6c31d; >= dc2676210c425ee8e5cb1bec5bc84d004ddf4179, < fb294b1c0ba982144ca467a75e7d01ff26304e2b; Linux 4.0.
Is there a fix for CVE-2023-53051?
Yes. Fixed in Linux 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6, Linux 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1, Linux 66ff37993dd7e9954b6446237fe2453b380ce40d, Linux 2c743db1193bf0e76c73d71ede08bd9b96e6c31d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53051?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.