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.
https://git.kernel.org/stable/c/fdee7c66c0d7b6869c36b9f9a915abf29ab5b550
https://git.kernel.org/stable/c/b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5
https://git.kernel.org/stable/c/b0f748c563921a7918c78e6a599cefd54de7d688
https://git.kernel.org/stable/c/a83e77d1e52c01c50096e6e97c57d34e0590d628