Bugzilla – Bug 1220699
VUL-0: CVE-2021-46973: kernel: net: qrtr: Avoid potential use after free in MHI send
Last modified: 2024-04-29 07:08:16 UTC
In the Linux kernel, the following vulnerability has been resolved: net: qrtr: Avoid potential use after free in MHI send It is possible that the MHI ul_callback will be invoked immediately following the queueing of the skb for transmission, leading to the callback decrementing the refcount of the associated sk and freeing the skb. As such the dereference of skb and the increment of the sk refcount must happen before the skb is queued, to avoid the skb to be used after free and potentially the sk to drop its last refcount.. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-46973 https://www.cve.org/CVERecord?id=CVE-2021-46973 https://bugzilla.redhat.com/show_bug.cgi?id=2266828 https://lore.kernel.org/linux-cve-announce/2024022721-CVE-2021-46973-20ce@gregkh/T/#u Patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=47a017f33943
Closing since: -codestream below 5.14 are not affected -cve/linux-5.14, stable and SLE15-SP6 are already patched