Description
In the Linux kernel, the following vulnerability has been resolved: md/raid1: free r1_bio when REQ_NOWAIT is set and read would block on retry When a read is retried, raid1_read_request() may be called with a pre-allocated r1_bio. If wait_read_barrier() fails for a REQ_NOWAIT read, the bio is completed and the function returns immediately. In this case the existing r1_bio is leaked. This fixes a leak of pre-allocated r1_bio structures for retried reads.
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
5aa705039c4fca84575539bfa2b8a28454a3d2ca to < d1eda529a4bf6b866d02755723ee0eb1f037a5edaffected5aa705039c4fca84575539bfa2b8a28454a3d2ca to < c66ed3e6371f5dba8f5d8ab810d6683ddc99201eaffected5aa705039c4fca84575539bfa2b8a28454a3d2ca to < db58075bc9c2ad2731f9c063859b47104bc2e7efaffected5aa705039c4fca84575539bfa2b8a28454a3d2ca to < 6d92dbd73d19a0622f60352ce9d9379f7a760112affected5aa705039c4fca84575539bfa2b8a28454a3d2ca to < c6e6354295845698d2fdfa20b71fc404786f7e93affected5aa705039c4fca84575539bfa2b8a28454a3d2ca to < 69ad6ce47f9bf2b9fe0ed69b042db993d33bbf12affected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d1eda529a4bf6b866d02755723ee0eb1f037a5ed ↗
- https://git.kernel.org/stable/c/c66ed3e6371f5dba8f5d8ab810d6683ddc99201e ↗
- https://git.kernel.org/stable/c/db58075bc9c2ad2731f9c063859b47104bc2e7ef ↗
- https://git.kernel.org/stable/c/6d92dbd73d19a0622f60352ce9d9379f7a760112 ↗
- https://git.kernel.org/stable/c/c6e6354295845698d2fdfa20b71fc404786f7e93 ↗
- https://git.kernel.org/stable/c/69ad6ce47f9bf2b9fe0ed69b042db993d33bbf12 ↗