md/raid10: wait barrier before returning discard request with REQ_NOWAIT
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
39db562b3fedb93978a7e42dd216b306740959f8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
md/raid10: wait barrier before returning discard request with REQ_NOWAIT
raid10_handle_discard should wait barrier before returning a discard bio which has REQ_NOWAIT. And there is no need to print warning calltrace if a discard bio has REQ_NOWAIT flag. Quality engineer usually checks dmesg and reports error if dmesg has warning/error calltrace.
From the CVE record · Linux
The Linux kernel's md/raid10 discard handler could return a discard request with REQ_NOWAIT without first waiting for a barrier. It could also print a warning call trace for that request. The input does not establish how an attacker could trigger this behavior or whether access or user interaction is required.
Engineers running Linux kernels with md/raid10 should check their kernel versions; affected versions were not provided.