In the Linux kernel, the following vulnerability has been resolved:net: qrtr: Avoid potential use after free in MHI sendIt is possible that the MHI ul_callback will be invoked immediatelyfollowing the queueing of the skb for transmission, leading to thecallback decrementing the refcount of the associated sk and freeing theskb.As such the dereference of skb and the increment of the sk refcount musthappen before the skb is queued, to avoid the skb to be used after freeand potentially the sk to drop its last refcount..
CWE-416 Use After Free