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

From: Yu Kuai
Date: Tue Dec 21 2021 - 06:27:16 EST


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