In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: hifusb: Fix use-after-free in ath9khifusbregincb() It is possible that skb is freed in ath9khtcrxmsg(), then usbsubmiturb() fails and we try to free skb again. It causes use-after-free bug. Moreover, if allocskb() fails, urb->context becomes NULL but rxbuf is not freed and there can be a memory leak. The patch removes unnecessary nskb and makes skb processing more clear: it is supposed that ath9khtcrxmsg() either frees old skb or passes its managing to another callback function. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.