On Tue, 14 Mar 2017 20:24:11 +0100 Dmitry Vyukov <dvyu...@google.com> wrote:
> KASAN uses compiler instrumentation to intercept all memory accesses. > But it does not see memory accesses done in assembly code. > One notable user of assembly code is atomic operations. Frequently, > for example, an atomic reference decrement is the last access to an > object and a good candidate for a racy use-after-free. I'm getting a pile of build errors from this patchset (and related patches). Due to messed up merge fixing, probably. Please the review process has been a bit bumpy. So I'll drop kasan-allow-kasan_check_read-write-to-accept-pointers-to-volatiles.patch asm-generic-x86-wrap-atomic-operations.patch asm-generic-x86-wrap-atomic-operations-fix.patch asm-generic-add-kasan-instrumentation-to-atomic-operations.patch asm-generic-fix-compilation-failure-in-cmpxchg_double.patch x86-remove-unused-atomic_inc_short.patch x86-asm-generic-add-kasan-instrumentation-to-bitops.patch for now. Please resend (against -mm or linux-next) when the dust has settled.