CVE-2023-53051

dm crypt: add cond_resched() to dmcrypt_write()

MEDIUM
5.5
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0 ≤ v < 4.14.3124.0 ≤ v < 4.19.2804.0 ≤ v < 5.10.1774.0 ≤ v < 5.15.1054.0 ≤ v < 5.4.2404.0 ≤ v < 6.1.224.0 ≤ v < 6.2.94.0 ≤ v < 6.34.15 ≤ v < 4.19.2804.20 ≤ v < 5.4.2405.11 ≤ v < 5.15.1055.16 ≤ v < 6.1.225.5 ≤ v < 5.10.1776.2 ≤ v < 6.2.94.06.3 rc16.3 rc26.3 rc3dc2676210c425ee8e5cb1bec5bc84d004ddf4179
Vendor states this is fixed in 2c743db1193bf0e76c73d71ede08bd9b96e6c31d (fixed)
Vendor states this is fixed in 66ff37993dd7e9954b6446237fe2453b380ce40d (fixed)
Vendor states this is fixed in 7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6 (fixed)
Vendor states this is fixed in 885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1 (fixed)
Vendor states this is fixed in e87cd83f70504f1cd2e428966f353c007d6d2d7f (fixed)
Vendor states this is fixed in eb485b7404a281d974bd445ddc5b0b8d5958f371 (fixed)
Vendor states this is fixed in f0eb61b493dbbc32529fbd0d2e945b71b0e47306 (fixed)
Vendor states this is fixed in fb294b1c0ba982144ca467a75e7d01ff26304e2b (fixed)
Vendor states this is fixed in 4.0 (unaffected)
Vendor states this is fixed in 4.14.312 (unaffected)
Vendor states this is fixed in 4.19.280 (unaffected)
Vendor states this is fixed in 5.10.177 (unaffected)
Vendor states this is fixed in 5.15.105 (unaffected)
Vendor states this is fixed in 5.4.240 (unaffected)
Vendor states this is fixed in 6.1.22 (unaffected)
Vendor states this is fixed in 6.2.9 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2c743db1193bf0e76c73d71ede08bd9b96e6c31d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66ff37993dd7e9954b6446237fe2453b380ce40d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e87cd83f70504f1cd2e428966f353c007d6d2d7f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb485b7404a281d974bd445ddc5b0b8d5958f371
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f0eb61b493dbbc32529fbd0d2e945b71b0e47306
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fb294b1c0ba982144ca467a75e7d01ff26304e2b

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card