Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before f076460c5205c9687059e5a3afeed37d2f2ceb6b; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before b6667d925c274910423385042edf18f6788dbceb; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before c642583adc136d4c70ce3c65c3f43e847d26c776; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before f94031c94eaebe14a7c9e91720064de0c5a54a6c; affected c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before e045d6ed33f8faa3e3dd6dc33c62ec01e3ad275d; affected 39db562b3fedb93978a7e42dd216b306740959f8; affected 5.15.111 before 5.16 |
| Linux / Linux | affected 5.17; unaffected 0 before 5.17; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f076460c5205c9687059e5a3afeed37d2f2ceb6b
- https://git.kernel.org/stable/c/b6667d925c274910423385042edf18f6788dbceb
- https://git.kernel.org/stable/c/c642583adc136d4c70ce3c65c3f43e847d26c776
- https://git.kernel.org/stable/c/f94031c94eaebe14a7c9e91720064de0c5a54a6c
- https://git.kernel.org/stable/c/e045d6ed33f8faa3e3dd6dc33c62ec01e3ad275d