linux-uconsole/Documentation/dev-tools
Marco Elver 88b1f81f40 UPSTREAM: kfence: report sensitive information based on no_hash_pointers
We cannot rely on CONFIG_DEBUG_KERNEL to decide if we're running a "debug
kernel" where we can safely show potentially sensitive information in the
kernel log.

Instead, simply rely on the newly introduced "no_hash_pointers" to print
unhashed kernel pointers, as well as decide if our reports can include
other potentially sensitive information such as registers and corrupted
bytes.

Link: https://lkml.kernel.org/r/20210223082043.1972742-1-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Cc: Timur Tabi <timur@kernel.org>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Jann Horn <jannh@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 180086542
Bug: 177201604
(cherry picked from commit 35beccf092)
Signed-off-by: Alexander Potapenko <glider@google.com>
Change-Id: Ia4c74d7525e282d53ac123fa88febeaeff7a316d
2021-03-01 18:11:05 +01:00
..
kunit KUnit: Docs: usage: wording fixes 2020-11-10 13:40:30 -07:00
coccinelle.rst documentation: coccinelle: Improve command example for make C={1,2} 2020-08-11 10:37:38 -06:00
gcov.rst docs: gcov: replace links with HTTPS 2020-07-13 11:29:16 -06:00
gdb-kernel-debugging.rst Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
index.rst FROMGIT: kfence, Documentation: add KFENCE documentation 2021-02-05 09:20:53 -08:00
kasan.rst FROMGIT: kasan: clarify that only first bug is reported in HW_TAGS 2021-02-16 15:33:33 +01:00
kcov.rst kcov: collect coverage from interrupts 2020-06-04 19:06:20 -07:00
kcsan.rst kcsan: Re-add GCC as a supported compiler 2020-06-29 12:04:48 -07:00
kfence.rst UPSTREAM: kfence: report sensitive information based on no_hash_pointers 2021-03-01 18:11:05 +01:00
kgdb.rst docs: kgdb.rst: fix :c:type: usages 2020-10-15 07:49:44 +02:00
kmemleak.rst mm,kmemleak-test.c: move kmemleak-test.c to samples dir 2020-10-13 18:38:27 -07:00
kselftest.rst doc: dev-tools: kselftest.rst: Update examples and paths 2020-10-07 07:59:24 -06:00
sparse.rst doc: add link to sparse's home page/internal docs 2020-07-05 14:32:56 -06:00
ubsan.rst