nvme-multipath: fix lockdep WARN due to partition scan work
CVE-2025-68218
Currently unrated
What is CVE-2025-68218?
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 Version(s)
Linux 60de2e03f984cfbcdc12fa552f95087c35a05a98 < 89456dab7ba5ab63d60945440926673a3205e829
Linux 4a57f42e5ed42cb8f1beb262c4f6d3e698939e4e
Linux 1f021341eef41e77a633186e9be5223de2ce5d48