Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1168783

Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables

From Andrey Ryabinin <a.ryabinin@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables
Date 2015-06-19 15:40 +0200
Message-ID <pD4Gu-n9-15@gated-at.bofh.it> (permalink)
References (3 earlier) <pCJsn-3cl-15@gated-at.bofh.it> <pCKy7-4Yo-21@gated-at.bofh.it> <pCL19-5wm-33@gated-at.bofh.it> <pD2Y2-6iG-1@gated-at.bofh.it> <pD3ho-6UC-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/19/2015 03:06 PM, Borislav Petkov wrote:
> On Fri, Jun 19, 2015 at 02:49:19PM +0300, Andrey Ryabinin wrote:
>> I guess that AMD cpus is more strict (unlike Intel) about violation
>> of reserved/unused bits in page table entries. Please, try with this
>> patch.
> 
> With that the guest boots.
> 

Great! Thanks.

> How do I check whether KASan actually works? I don't see any note in
> dmesg or some file named "*kasan*" in sysfs...
> 

kasan will print report in dmesg whant it will find anything.

To make sure that it works you could try to load testing module (CONFIG_TEST_KASAN).
This module has bugs that kasan should catch.
Also 'slub_debug=U' in bootcmdline will improve reports and out-of-bounds accesses detection.

> Thanks.
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 1/1] x86_64: fix KASan shadow region page tables Alexander Popov <alpopov@ptsecurity.com> - 2015-06-18 09:40 +0200
  Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables Andrey Ryabinin <a.ryabinin@samsung.com> - 2015-06-19 15:40 +0200
    Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables Borislav Petkov <bp@alien8.de> - 2015-06-19 16:10 +0200
    Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables Ingo Molnar <mingo@kernel.org> - 2015-06-19 16:10 +0200
      Re: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables Andrey Ryabinin <a.ryabinin@samsung.com> - 2015-06-19 16:20 +0200

csiph-web