Description
In the Linux kernel, the following vulnerability has been resolved: md/raid1,raid10: fix deadlock in read error recovery path raid1d and raid10d may resubmit a split md cloned bio while handling a read error. In this case, resubmitting the bio can lead to a deadlock if the array is suspended before md_handle_request() acquires an active_io reference via percpu_ref_tryget_live(). Since the cloned bio already holds an active_io reference, trying to acquire another reference via percpu_ref_tryget_live() can lead to a deadlock while the array is suspended. Fix this by using percpu_ref_get() for md cloned bios.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bb2a9acefaf9ce5bbc1e70f407e34599233d0243 to < 923a6f3172a362d6b2ff12386e376e0e47188f78affectedbb2a9acefaf9ce5bbc1e70f407e34599233d0243 to < 0889242775340e2c5b69b1590bd71335dd4fdedaaffectedbb2a9acefaf9ce5bbc1e70f407e34599233d0243 to < ea2d1d2ebf60b70b602a92261a567d5fc4575eabaffectedbb2a9acefaf9ce5bbc1e70f407e34599233d0243 to < 38777f014c37972868f1733a651c85288bb8a757affectedbb2a9acefaf9ce5bbc1e70f407e34599233d0243 to < 7b15c24f805339a585cfe7d72f446b7e88b9bcc0affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/923a6f3172a362d6b2ff12386e376e0e47188f78 ↗
- https://git.kernel.org/stable/c/0889242775340e2c5b69b1590bd71335dd4fdeda ↗
- https://git.kernel.org/stable/c/ea2d1d2ebf60b70b602a92261a567d5fc4575eab ↗
- https://git.kernel.org/stable/c/38777f014c37972868f1733a651c85288bb8a757 ↗
- https://git.kernel.org/stable/c/7b15c24f805339a585cfe7d72f446b7e88b9bcc0 ↗