Re: backport request for use-after-free blk_mq_queue_tag_busy_iter

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

 



Hi Greg.

I also have 4.14 and 4.9, I'll send them on for comparison.

I will try 4.4 but, as one call site doesn't exist and the other
didn't have any locking to start with, I'd like to try to reproduce
the issue first.

I should have some spare time for this soon.

Giuilano.

On Fri, 3 Apr 2020 at 10:20, Greg KH <greg@xxxxxxxxx> wrote:
>
> On Wed, Apr 01, 2020 at 05:47:02PM +0000, Giuliano Procida wrote:
> > This issue was found in 4.14 and is present in earlier kernels.
> >
> > Please backport
> >
> > f5bbbbe4d635 blk-mq: sync the update nr_hw_queues with
> > blk_mq_queue_tag_busy_iter
> > 530ca2c9bd69 blk-mq: Allow blocking queue tag iter callbacks
> >
> > onto the stable branches that don't have these. The second is a fix
> > for the first. Thank you.
> >
> > 4.19.y and later - commits already present
> > 4.14.y - f5bbbbe4d635 doesn't patch cleanly but it's still
> > straightforward, just drop the comment and code mentioning switching
> > to 'none' in the trailing context
> > 4.9.y - ditto
> > 4.4.y - there was a refactoring of the code in commit
> > 0bf6cd5b9531bcc29c0a5e504b6ce2984c6fd8d8 making this non-trivial
> > 3.16.y - ditto
> >
> > I am happy to try to produce clean patches, but it may be a day or so.
>
> I have done this for 4.14.y and 4.9.y, can you please provide a backport
> for 4.4.y that I can queue up?
>
> thanks,
>
> greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux