Re: [syzbot] [usb?] KASAN: slab-use-after-free Read in ep_open

Greg KH <[email protected]>
Newsgroups dev.linux.lists.syzbot,org.kernel.vger.io-uring,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb
Message-ID <2026081906-possible-seltzer-6db9@gregkh>
On Tue, Aug 18, 2026 at 11:37:16AM -0400, Alan Stern wrote:
> On Tue, Aug 18, 2026 at 09:42:34AM +0200, Greg KH wrote:
> > On Mon, Aug 17, 2026 at 02:14:17PM -0400, Alan Stern wrote:
> > > Greg:
> > > 
> > > Has this patch ever been queued?
> > > 
> > > https://lore.kernel.org/linux-usb/[email protected]/
> > 
> > No because it looks like there are competing patches here as you point
> > out.
> > 
> > > Looks like you can add syzbot's Tested-by: tag, as well as my Acked-by:.
> > > 
> > > Note that a different patch to fix the same problem was submitted here:
> > > 
> > > https://lore.kernel.org/linux-usb/[email protected]/
> > > 
> > > IMO the first patch above is superior.
> > 
> > So Aleksandr's patch should be applied and not Deepanshu's?
> 
> That's my recommendation.  You can take a quick look at the two patches 
> and see what you think.
> 
> We haven't heard back from Deepanshu.  Aleksandr doesn't seem to have 
> strong feelings either way.

Aleksandr's patch is much more simple, and relies on the reference
counting logic in the inode itself, instead of "hand rolling" it like
Deepanshu's does.

I'll take it after -rc1 is out.  As this is a syzbot-only type of thing,
there's no rush here.

thanks,

greg k-h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.