Re: Patch "usb: host: xhci: use snprintf() in xhci_decode_trb()" has been added to the 5.4-stable tree

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

 



On Sun, Aug 14, 2022 at 12:08:53PM +0300, Sergey Shtylyov wrote:
> On 8/14/22 12:05 PM, Sergey Shtylyov wrote:
> 
> [...]
> >> This is a note to let you know that I've just added the patch titled
> >>
> >>     usb: host: xhci: use snprintf() in xhci_decode_trb()
> >>
> >> to the 5.4-stable tree which can be found at:
> >>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> >>
> >> The filename of the patch is:
> >>      usb-host-xhci-use-snprintf-in-xhci_decode_trb.patch
> >> and it can be found in the queue-5.4 subdirectory.
> >>
> >> If you, or anyone else, feels it should not be added to the stable tree,
> >> please let <stable@xxxxxxxxxxxxxxx> know about it.
> >>
> >>
> >>
> >> commit 7c454ff6d25f2878609a100248567a29a0392af9
> >> Author: Sergey Shtylyov <s.shtylyov@xxxxxx>
> >> Date:   Thu Jun 30 15:46:45 2022 +0300
> >>
> >>     usb: host: xhci: use snprintf() in xhci_decode_trb()
> >>     
> >>     [ Upstream commit 1ce69c35b86038dd11d3a6115a04501c5b89a940 ]
> >>     
> >>     Commit cbf286e8ef83 ("xhci: fix unsafe memory usage in xhci tracing")
> >>     apparently missed one sprintf() call in xhci_decode_trb() -- replace
> >>     it with the snprintf() call as well...
> >>     
> >>     Found by Linux Verification Center (linuxtesting.org) with the SVACE static
> >>     analysis tool.
> >>     
> >>     Fixes: cbf286e8ef83 ("xhci: fix unsafe memory usage in xhci tracing")
> > 
> >    I think that commit 1st appeared in the 5.15-rc1 timeframe, thus this patch
> > shouldn't be merged to 5.10.y (and it wouldn't even compile!).
> 
>    5.4.y, sorry! :-)

Builds just fine for me here, are you sure this is not ok to commit?

thanks,

greg k-h



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux