CVE-2023-53051

Source
https://cve.org/CVERecord?id=CVE-2023-53051
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53051.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53051
Downstream
Related
Published
2025-05-02T15:55:07.069Z
Modified
2026-04-11T12:46:40.436185Z
Summary
dm crypt: add cond_resched() to dmcrypt_write()
Details

In the Linux kernel, the following vulnerability has been resolved:

dm crypt: add condresched() to dmcryptwrite()

The loop in dmcryptwrite may be running for unbounded amount of time, thus we need condresched() in it.

This commit fixes the following warning:

[ 3391.153255][ C12] watchdog: BUG: soft lockup - CPU#12 stuck for 23s! [dmcryptwrite/2:2897] ... [ 3391.387210][ C12] Call trace: [ 3391.390338][ C12] blkattemptbiomerge.part.6+0x38/0x158 [ 3391.395970][ C12] blkattemptplugmerge+0xc0/0x1b0 [ 3391.401085][ C12] blkmqsubmitbio+0x398/0x550 [ 3391.405856][ C12] submitbionoacct+0x308/0x380 [ 3391.410630][ C12] dmcryptwrite+0x1e4/0x208 [dmcrypt] [ 3391.416005][ C12] kthread+0x130/0x138 [ 3391.419911][ C12] retfromfork+0x10/0x18

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53051.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dc2676210c425ee8e5cb1bec5bc84d004ddf4179
Fixed
e87cd83f70504f1cd2e428966f353c007d6d2d7f
Fixed
7b9f8efb5fc888dd938d2964e705b8e00f1dc0f6
Fixed
885c28ceae7dab2b18c2cc0eb95f1f82b1f629d1
Fixed
66ff37993dd7e9954b6446237fe2453b380ce40d
Fixed
eb485b7404a281d974bd445ddc5b0b8d5958f371
Fixed
f0eb61b493dbbc32529fbd0d2e945b71b0e47306
Fixed
2c743db1193bf0e76c73d71ede08bd9b96e6c31d
Fixed
fb294b1c0ba982144ca467a75e7d01ff26304e2b

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53051.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.14.312
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.280
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.240
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.177
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.105
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.22
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53051.json"