[PATCH 6.7 083/162] gtp: fix use-after-free and null-ptr-deref in gtp_newlink()