Re: [PATCH] virtio_console: Don't access uninitialized data.

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

 



On (Mon) 04 Feb 2013 [10:09:05], Rusty Russell wrote:
> Amit Shah <amit.shah@xxxxxxxxxx> writes:
> > On (Thu) 17 Jan 2013 [13:21:32], sjur.brandeland@xxxxxxxxxxxxxx wrote:
> >> From: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
> >> 
> >> Don't access uninitialized work-queue when removing device.
> >> The work queue is initialized only if the device multi-queue.
> >> So don't call cancel_work unless this is a multi-queue device.
> >> 
> >> This fixes the following panic:
> >
> > [snip]
> >
> >> Signed-off-by: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
> >
> > Acked-by: Amit Shah <amit.shah@xxxxxxxxxx>
> >
> >> This fix is intended of v3.8.
> >
> > Should also be CC'ed to stable@
> 
> Sorry, I was at linux.conf.au all last week.
> 
> I've already sent it to Linus.  Sjur said: "This fix is intended of
> v3.8.".  If it needs to be in -stable, please tell me and I'll fwd it
> manually.

This can result in a panic when removing the device or module (when
not using multiport).  I'd vote for submitting to stable.

		Amit
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux