Re: [PATCH] Bluetooth: hci_sync: Fix accept list UAF during suspend

From: Chengfeng Ye

Date: Sat Aug 01 2026 - 03:10:52 EST


Hi Luiz,

Thanks for your review. I have sent a v2 to ensure
hci_clear_event_filter_sync() is called first. But I have not got a
clear way to solve the issue without iterating the list twice, so I
just add a bail out when num_entries == 0 to skip the second
iteration. Let me know if the patch should be further refined.

Best,
Chengfeng