In the Linux kernel, the following vulnerability has been resolved: tipc: fix a possible memleak in tipcbufappend _skblinearize() doesn't free the skb when it fails, so move '*buf = NULL' after _skblinearize(), so that the skb can be freed on the err path.