[PATCH 5.16 135/200] phylib: fix potential use-after-free