Bug 202773 - KASAN: add a testing script
Summary: KASAN: add a testing script
Status: RESOLVED DUPLICATE of bug 198441
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Sanitizers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: MM/Sanitizers virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 17:21 UTC by Andrey Konovalov
Modified: 2019-03-05 17:27 UTC (History)
2 users (show)

See Also:
Kernel Version: mainline
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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 ***

Note You need to log in before you can comment on or make changes to this bug.