soc: xilinx: Shutdown and free rx mailbox channel
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · < fdee7c66c0d7b6869c36b9f9a915abf29ab5b550| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: xilinx: Shutdown and free rx mailbox channel
A mbox rx channel is requested using mbox_request_channel_byname() in probe. In remove callback, the rx mailbox channel is cleaned up when the rx_chan is NULL due to incorrect condition check. The mailbox channel is not shutdown and it can receive messages even after the device removal. This leads to use after free. Also the channel resources are not freed. Fix this by checking the rx_chan correctly.
From the CVE record · Linux
The Linux kernel's Xilinx SoC driver checks the receive mailbox channel incorrectly during device removal, leaving the channel active and its resources unfreed. Messages received after removal can cause a use-after-free; the input does not specify an attacker path or access requirements.
Engineers running Linux kernels with the Xilinx SoC mailbox driver should check their systems; affected versions are not specified.