linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] kunit: fix a UAF bug and do some optimization
@ 2022-03-09  1:47 Peng Liu
  2022-03-09  1:47 ` [PATCH 1/3] kunit: fix UAF when run kfence test case test_gfpzero Peng Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Peng Liu @ 2022-03-09  1:47 UTC (permalink / raw)
  To: brendanhiggins, glider, elver, dvyukov, akpm, linux-kselftest,
	kunit-dev, linux-kernel, kasan-dev, linux-mm
  Cc: wangkefeng.wang, liupeng256

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-09 21:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09  1:47 [PATCH 0/3] kunit: fix a UAF bug and do some optimization Peng Liu
2022-03-09  1:47 ` [PATCH 1/3] kunit: fix UAF when run kfence test case test_gfpzero Peng Liu
2022-03-09  1:47 ` [PATCH 2/3] kunit: make kunit_test_timeout compatible with comment Peng Liu
2022-03-09  6:03   ` Marco Elver
2022-03-09  6:31     ` liupeng (DM)
2022-03-09  6:37       ` Marco Elver
2022-03-09  1:47 ` [PATCH 3/3] kfence: test: try to avoid test_gfpzero trigger rcu_stall Peng Liu
2022-03-09 21:39   ` Shuah Khan
2022-03-09  6:12 ` [PATCH 0/3] kunit: fix a UAF bug and do some optimization Marco Elver
2022-03-09  6:39   ` liupeng (DM)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox