Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < 059522f4df86198f0df10dbc53d7ac04cf36a0b8affectedffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < 75ed49f973d790ca3111fcabd516c0b5fd0170b4affectedffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < b0f748c563921a7918c78e6a599cefd54de7d688affectedffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < a83e77d1e52c01c50096e6e97c57d34e0590d628affectedffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5affectedffdbae28d9d1af70b7d63ffd7827e9795cd8d0df to < fdee7c66c0d7b6869c36b9f9a915abf29ab5b550affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/059522f4df86198f0df10dbc53d7ac04cf36a0b8 ↗
- https://git.kernel.org/stable/c/75ed49f973d790ca3111fcabd516c0b5fd0170b4 ↗
- https://git.kernel.org/stable/c/b0f748c563921a7918c78e6a599cefd54de7d688 ↗
- https://git.kernel.org/stable/c/a83e77d1e52c01c50096e6e97c57d34e0590d628 ↗
- https://git.kernel.org/stable/c/b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5 ↗
- https://git.kernel.org/stable/c/fdee7c66c0d7b6869c36b9f9a915abf29ab5b550 ↗