mbox series

[linux-4.19.y,0/5] fix memleak of bfq weights_tree node

Message ID 20211221113849.2219126-1-yukuai3@huawei.com (mailing list archive)
Headers show
Series fix memleak of bfq weights_tree node | expand

Message

Yu Kuai Dec. 21, 2021, 11:38 a.m. UTC
Our test found that bfq_weight_counter can leak quite easy. This problem
can be fixed by patch 4, and other patches is needed to backport patch
4.

Federico Motta (2):
  block, bfq: improve asymmetric scenarios detection
  block, bfq: fix asymmetric scenarios detection

Paolo Valente (3):
  block, bfq: fix decrement of num_active_groups
  block, bfq: fix queue removal from weights tree
  block, bfq: fix use after free in bfq_bfqq_expire

 block/bfq-iosched.c | 287 +++++++++++++++++++++++++++-----------------
 block/bfq-iosched.h |  76 +++++++++---
 block/bfq-wf2q.c    |  56 +++++----
 3 files changed, 270 insertions(+), 149 deletions(-)

Comments

Greg Kroah-Hartman Dec. 22, 2021, 12:10 p.m. UTC | #1
On Tue, Dec 21, 2021 at 07:38:44PM +0800, Yu Kuai wrote:
> Our test found that bfq_weight_counter can leak quite easy. This problem
> can be fixed by patch 4, and other patches is needed to backport patch
> 4.
> 
> Federico Motta (2):
>   block, bfq: improve asymmetric scenarios detection
>   block, bfq: fix asymmetric scenarios detection
> 
> Paolo Valente (3):
>   block, bfq: fix decrement of num_active_groups
>   block, bfq: fix queue removal from weights tree
>   block, bfq: fix use after free in bfq_bfqq_expire
> 
>  block/bfq-iosched.c | 287 +++++++++++++++++++++++++++-----------------
>  block/bfq-iosched.h |  76 +++++++++---
>  block/bfq-wf2q.c    |  56 +++++----
>  3 files changed, 270 insertions(+), 149 deletions(-)
> 
> -- 
> 2.31.1
> 

All now queued up, thanks.

greg k-h