Bug 198439
Summary: | KASAN: instrument atomicops/bitops | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Dmitry Vyukov (dvyukov) |
Component: | Sanitizers | Assignee: | Dmitry Vyukov (dvyukov) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | kasan-dev, melver |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | ALL | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Dmitry Vyukov
2018-01-10 14:27:46 UTC
Atomic operations are done in a35353bb9eb19. But we also need to handle bitops as lots of them are in asm. FTR, here is an old bitops patch: https://lore.kernel.org/patchwork/patch/772571/ Most likely needs to be all redone now, but at least can serve as a base list of what needs to be instrumented. This can be closed: http://lkml.kernel.org/r/20190613125950.197667-4-elver@google.com Landed in MM: https://ozlabs.org/~akpm/mmots/broken-out/asm-generic-x86-add-bitops-instrumentation-for-kasan.patch Good |