mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
cc0a0f9855
Introduce burst mode, which can be configured with kfence.burst=$count, where the burst count denotes the additional successive slab allocations to be allocated through KFENCE for each sample interval. The idea is that this can give developers an additional knob to make KFENCE more aggressive when debugging specific issues of systems where either rebooting or recompiling the kernel with KASAN is not possible. Experiment: To assess the effectiveness of the new option, we randomly picked a recent out-of-bounds [1] and use-after-free bug [2], each with a reproducer provided by syzbot, that initially detected these bugs with KASAN. We then tried to reproduce the bugs with KFENCE below. [1] Fixed by: |
||
---|---|---|
.. | ||
kunit | ||
checkpatch.rst | ||
checkuapi.rst | ||
clang-format.rst | ||
coccinelle.rst | ||
gcov.rst | ||
gdb-kernel-debugging.rst | ||
gpio-sloppy-logic-analyzer.rst | ||
index.rst | ||
kasan.rst | ||
kcov.rst | ||
kcsan.rst | ||
kfence.rst | ||
kgdb.rst | ||
kmemleak.rst | ||
kmsan.rst | ||
kselftest.rst | ||
ktap.rst | ||
sparse.rst | ||
testing-overview.rst | ||
ubsan.rst |