[PATCH 4.14 40/52] firewire: nosy: Fix a use-after-free bug in nosy_ioctl()