Re: [PATCH] mac802154: add a check for slave data list before delete
Dmitry Antipov <[email protected]>
| Newsgroups | org.kernel.vger.linux-wpan,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On 11/13/24 1:58 PM, Miquel Raynal wrote: >> Note https://syzkaller.appspot.com/text?tag=ReproC&x=12a9f740580000 makes an >> attempt to connect the only device. How this is expected to work if there are >> more than one device? > > Isn't sdata already specific enough? What do you mean by "device"? Well, syzbot's reproducer triggers this issue via USB Raw Gadget API. IIUC this is a debugging feature and it is possible to have the only raw gadget device. So when running syzbot's reproducer, 'list_count_nodes(&sdata->local->interfaces)' is always <= 1. But how this is expected to work for >1 case? Dmitry