Bug 202773

Summary: KASAN: add a testing script
Product: Memory Management Reporter: Andrey Konovalov (andreyknvl)
Component: SanitizersAssignee: MM/Sanitizers virtual assignee (mm_sanitizers)
Status: RESOLVED DUPLICATE    
Severity: normal CC: dvyukov, kasan-dev
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: mainline Subsystem:
Regression: No Bisected commit-id:

Description Andrey Konovalov 2019-03-05 17:21:27 UTC
Currently the output of lib/test_kasan.ko needs to be checked for correctness manually. It would be nice to have a script that parses dmesg output and checks it automatically. This can be possibly done as a kselftest as well. Then we could have this checking done on some CI. For this we would also need to adjust the tests to ensure they don't corrupt some crucial kernel memory while performing OOB/UAF accesses.
Comment 1 Dmitry Vyukov 2019-03-05 17:27:16 UTC
This is a dup of 198441 please move any new ideas/suggestions there.

*** This bug has been marked as a duplicate of bug 198441 ***