Skip to contentSkip to conversation

Your fix for most_usb.c::hdm_disconnect

DISCUSSION Oliver Neukum 3 participants 4 messages Jan 22, 2025 USB

lore
Share & tools
lore
#1 lore raw
Quoted 9 lines · Oliver Neukum

Hi,

I am going through syzbot's list of open issues. It look like like the issue you posted a patch for

https://lore.kernel.org/all/[email protected]/T/

is still open. Can something be done? Has the patch been lost? Is there a remaining issue?

The subject line was totally wrong which is why it was probably ignored.

Also, are you sure it is right? Grabbing a reference in a disconnect function feels very wrong...

thanks,

greg k-h

#2 lore raw
Quoted 8 lines · Greg Kroah-Hartman
Quoted 7 lines · Oliver Neukum

Hi,

I am going through syzbot's list of open issues. It look like like the issue you posted a patch for

https://lore.kernel.org/all/[email protected]/T/

Quoted 8 lines
Quoted 2 lines

is still open. Can something be done? Has the patch been lost? Is there a remaining issue?

The subject line was totally wrong which is why it was probably ignored.

Also, are you sure it is right? Grabbing a reference in a disconnect function feels very wrong...

Yes, I think so as well. I don't think my patch solves the issue at all.

thanks,
Camila

Quoted 4 lines

thanks,

greg k-h

#3 lore raw
Quoted 15 lines · Camila Alvarez Inostroza
Quoted 11 lines · Greg Kroah-Hartman
Quoted 9 lines · Oliver Neukum

Hi,

I am going through syzbot's list of open issues. It look like like the issue you posted a patch for

https://lore.kernel.org/all/[email protected]/T/

is still open. Can something be done? Has the patch been lost? Is there a remaining issue?

Quoted 6 lines
Quoted 5 lines

The subject line was totally wrong which is why it was probably ignored.

Also, are you sure it is right?  Grabbing a reference in a disconnect function feels very wrong...

Yes, I think so as well. I don't think my patch solves the issue at all.

Hi Camila,

thank you for the clarification. Frankly I don't understand the refcounting logic in this drive. Let's add the author.

Hi Christian,

there is an open issue with the musb driver. May I ask with respect to disconect handling where the get_device calls, which musb_disconnect() balances with put_device() are?

Regards
Oliver