soc: xilinx: Shutdown and free rx mailbox channel
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · fixed in 75ed49f973d790ca3111fcabd516c0b5fd0170b4; From ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · fixed in b0f748c563921a7918c78e6a599cefd54de7d688; From ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · fixed in a83e77d1e52c01c50096e6e97c57d34e0590d628; From ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · fixed in b5d2240c2c7bc8370e7ba54a2e1fe3919f55aee5; From ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df · fixed in fdee7c66c0d7b6869c36b9f9a915abf29ab5b550
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5