In the Linux kernel, the following vulnerability has been resolved: ipv6: fix possible UAF in ip6_finish_output2() If skb_expand_head() returns NULL, skb has been freed and associated dst/idev could also have been freed. We need to hold rcu_read_lock() to make sure the dst and associated idev are alive.
https://git.kernel.org/stable/c/e891b36de161fcd96f12ff83667473e5067b9037
https://git.kernel.org/stable/c/da273b377ae0d9bd255281ed3c2adb228321687b
https://git.kernel.org/stable/c/6ab6bf731354a6fdbaa617d1ec194960db61cf3b
https://git.kernel.org/stable/c/56efc253196751ece1fc535a5b582be127b0578a
https://git.kernel.org/stable/c/3574d28caf9a09756ae87ad1ea096c6f47b6101e