[PATCH 6.12 345/826] Bluetooth: fix use-after-free in device_for_each_child()