Linux
nvme-multipath: fix lockdep WARN due to partition scan work
In the Linux kernel, the following vulnerability has been resolved: nvme-multipath: fix lockdep WARN due to partition scan work Blktests test cases nvme/014, 057 and 058 fail occasionally due to a lockdep WARN. As reported in the Closes tag URL, the WARN indicates that a deadlock can happen due to the dependency among disk->open_mutex, kblockd workqueue completion and partition_scan_work completion. To avoid the lockdep WARN and the potential deadlock, cut the dependency by running the partition_scan_work not by kblockd workqueue but by nvme_wq.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 60de2e03f984cfbcdc12fa552f95087c35a05a98, < 89456dab7ba5ab63d60945440926673a3205e829
- >= 4a57f42e5ed42cb8f1beb262c4f6d3e698939e4e, < e2a897ad5f538d314955c747a0a2edb184fcdecd
- >= 1f021341eef41e77a633186e9be5223de2ce5d48, < ef4ab2a8abe554379e10303ae86f7c501336ba0d
- >= 1f021341eef41e77a633186e9be5223de2ce5d48, < b03eb63288a8ffe3adfb34e68309c8e2edb06d0b
- >= 1f021341eef41e77a633186e9be5223de2ce5d48, < 6d87cd5335784351280f82c47cc8a657271929c3
- a91b7eddf45afeeb9c5ece11dddff5de0921b00f
- >= 6.1.118, < 6.1.159
- >= 6.6.62, < 6.6.118
- >= 6.11.9, < 6.12
Fixed in 89456dab7ba5ab63d60945440926673a3205e829, e2a897ad5f538d314955c747a0a2edb184fcdecd, ef4ab2a8abe554379e10303ae86f7c501336ba0d, b03eb63288a8ffe3adfb34e68309c8e2edb06d0b, 6d87cd5335784351280f82c47cc8a657271929c3, 6.1.159, 6.6.118, 6.12
- 6.12
Fixed in 0, 6.1.159, 6.6.118, 6.12.60, 6.17.10, 6.18
Mitigation
Upgrade Linux to 89456dab7ba5ab63d60945440926673a3205e829 or e2a897ad5f538d314955c747a0a2edb184fcdecd or ef4ab2a8abe554379e10303ae86f7c501336ba0d or b03eb63288a8ffe3adfb34e68309c8e2edb06d0b or 6d87cd5335784351280f82c47cc8a657271929c3 or 6.1.159 or 6.6.118 or 6.12 or later.
Upgrade Linux to 0 or 6.1.159 or 6.6.118 or 6.12.60 or 6.17.10 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.