Thread (2 messages) 2 messages, 2 authors, 2024-11-13

Re: [PATCH] mac802154: add a check for slave data list before delete

From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2024-11-13 10:58:34
Also in: linux-usb, lkml

On 13/11/2024 at 13:29:55 +03, Dmitry Antipov [off-list ref] wrote:
On 11/12/24 4:41 PM, Lizhi Xu wrote:
quoted
  	mutex_lock(&sdata->local->iflist_mtx);
+	if (list_empty(&sdata->local->interfaces)) {
+		mutex_unlock(&sdata->local->iflist_mtx);
+		return;
+	}
  	list_del_rcu(&sdata->list);
  	mutex_unlock(&sdata->local->iflist_mtx);
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"?

Thanks,
Miquèl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help