Re: [Report]: BUG: KASAN: use-after-free in usb_hcd_pci_remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 2020 at 11:44 AM John Garry <john.garry@xxxxxxxxxx> wrote:
> On 17/08/2020 12:35, Andy Shevchenko wrote:

...

> It looks like that function [pci_free_irq_vectors()] is harmless when
> the vectors aren't allocated, so it should be possible to always call it
> always and drop the hcd flags check. But then this pattern may not be
> liked either.

Yeah.

> Anyway, I guess you guys can sort this out. I'm just trying to help
> identify issues.

Thanks for the report, can you test [1] if it fixes the problem?

[1]: https://lore.kernel.org/linux-usb/20200814182218.71957-1-andriy.shevchenko@xxxxxxxxxxxxxxx/T/#u

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux