md/raid10: fix writes_pending leak on write request failures
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f94031c94eaebe14a7c9e91720064de0c5a54a6c, Kernel 5.16, Kernel 55dc3d1d6a9983867273d3531e3ddd743428db8d and 9 more.
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix writes_pending leak on write request failures raid10_make_request() acquires a writes_pending reference with md_write_start() before dispatching write requests. Several failure paths in raid10_write_request() complete the bio and return without reaching the normal write completion path, causing the corresponding md_write_end() to be skipped. Make raid10_write_request() return a status indicating whether the write request was successfully queued. This allows raid10_make_request() to release the writes_pending reference with md_write_end() when a write request fails.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <f94031c94eaebe14a7c9e91720064de0c5a54a6c, >=5.15.111 <5.16, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <55dc3d1d6a9983867273d3531e3ddd743428db8d, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <b6667d925c274910423385042edf18f6788dbceb, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <c642583adc136d4c70ce3c65c3f43e847d26c776, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <e045d6ed33f8faa3e3dd6dc33c62ec01e3ad275d, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <f076460c5205c9687059e5a3afeed37d2f2ceb6b, =39db562b3fedb93978a7e42dd216b306740959f8, =5.17 | f94031c94eaebe14a7c9e91720064de0c5a54a6c, 5.16, 55dc3d1d6a9983867273d3531e3ddd743428db8d, b6667d925c274910423385042edf18f6788dbceb, c642583adc136d4c70ce3c65c3f43e847d26c776, e045d6ed33f8faa3e3dd6dc33c62ec01e3ad275d, f076460c5205c9687059e5a3afeed37d2f2ceb6b |
| linux-kernel: Kernel | >=5.17.0 <6.1.191, >=6.13.0 <6.18.57, >=6.19.0 <7.1.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=5.15.111 <5.16 | 6.1.191, 6.18.57, 7.1.5, 6.6.160, 6.12.114, 5.16 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket