md/raid1: free r1_bio when REQ_NOWAIT is set and read would block on retry
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel db58075bc9c2ad2731f9c063859b47104bc2e7ef, Kernel 69ad6ce47f9bf2b9fe0ed69b042db993d33bbf12, Kernel 6d92dbd73d19a0622f60352ce9d9379f7a760112 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <db58075bc9c2ad2731f9c063859b47104bc2e7ef, >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <69ad6ce47f9bf2b9fe0ed69b042db993d33bbf12, >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <6d92dbd73d19a0622f60352ce9d9379f7a760112, >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <c66ed3e6371f5dba8f5d8ab810d6683ddc99201e, >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <c6e6354295845698d2fdfa20b71fc404786f7e93, >=5aa705039c4fca84575539bfa2b8a28454a3d2ca <d1eda529a4bf6b866d02755723ee0eb1f037a5ed, =5.17 | db58075bc9c2ad2731f9c063859b47104bc2e7ef, 69ad6ce47f9bf2b9fe0ed69b042db993d33bbf12, 6d92dbd73d19a0622f60352ce9d9379f7a760112, c66ed3e6371f5dba8f5d8ab810d6683ddc99201e, c6e6354295845698d2fdfa20b71fc404786f7e93, d1eda529a4bf6b866d02755723ee0eb1f037a5ed |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.17.0 <6.1.178 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.178 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket