md/raid5-ppl: fix use-after-free in ppl_do_flush()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1532d9e87e8b2377f12929f9e40724d5fbe6ecc5 · < 455b56209f9615c3902dcc398dd867abb5ade3ab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
md/raid5-ppl: fix use-after-free in ppl_do_flush()
The loop in ppl_do_flush() continues iterating after calling ppl_io_unit_finished(), touching io->pending_flushes and leading to a use-after-free.
Add a break statement to stop the loop once io is freed.
From the CVE record · Linux
The Linux kernel's md/raid5-ppl code has a use-after-free in ppl_do_flush(): a loop can access io->pending_flushes after ppl_io_unit_finished() frees io. The input does not specify how an attacker could trigger it, whether authentication or user interaction is needed, or what an attacker could achieve.
Engineers running the Linux kernel should check their systems; affected versions were not provided.