[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220309014705.1265861-1-liupeng256@huawei.com>
Date: Wed, 9 Mar 2022 01:47:02 +0000
From: Peng Liu <liupeng256@...wei.com>
To: <brendanhiggins@...gle.com>, <glider@...gle.com>,
<elver@...gle.com>, <dvyukov@...gle.com>,
<akpm@...ux-foundation.org>, <linux-kselftest@...r.kernel.org>,
<kunit-dev@...glegroups.com>, <linux-kernel@...r.kernel.org>,
<kasan-dev@...glegroups.com>, <linux-mm@...ck.org>
CC: <wangkefeng.wang@...wei.com>, <liupeng256@...wei.com>
Subject: [PATCH 0/3] kunit: fix a UAF bug and do some optimization
This series is to fix UAF when running kfence test case test_gfpzero,
which is time costly. This UAF bug can be easily triggered by setting
CONFIG_KFENCE_DYNAMIC_OBJECTS = 65535. Furthermore, some optimization
for kunit tests has been done.
Peng Liu (3):
kunit: fix UAF when run kfence test case test_gfpzero
kunit: make kunit_test_timeout compatible with comment
kfence: test: try to avoid test_gfpzero trigger rcu_stall
lib/kunit/try-catch.c | 3 ++-
mm/kfence/kfence_test.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
--
2.18.0.huawei.25
Powered by blists - more mailing lists