Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-04 Thread Dmitry Vyukov
On Sun, Oct 4, 2015 at 7:10 PM, 'Kostya Serebryany' via kasan-dev wrote: > > > On Sun, Oct 4, 2015 at 5:14 AM, Dmitry Vyukov wrote: >> >> On Sat, Oct 3, 2015 at 1:31 PM, Andrey Ryabinin >> wrote: >> > 2015-10-03 13:54 GMT+03:00 Thomas Gleixner : >> >> On Fri, 2 Oct 2015, Sasha Levin wrote: >> >>

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-04 Thread Dmitry Vyukov
On Sat, Oct 3, 2015 at 1:31 PM, Andrey Ryabinin wrote: > 2015-10-03 13:54 GMT+03:00 Thomas Gleixner : >> On Fri, 2 Oct 2015, Sasha Levin wrote: >>> I'm seeing a different issue with this patch: >>> >>> [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr >>> 88049d2b7c50 >

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-03 Thread Andrey Ryabinin
2015-10-03 13:54 GMT+03:00 Thomas Gleixner : > On Fri, 2 Oct 2015, Sasha Levin wrote: >> I'm seeing a different issue with this patch: >> >> [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr >> 88049d2b7c50 >> [ 5228.737560] Read of size 8 by task killall/22177 >> [ 5228

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-03 Thread Thomas Gleixner
On Fri, 2 Oct 2015, Sasha Levin wrote: > I'm seeing a different issue with this patch: > > [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr > 88049d2b7c50 > [ 5228.737560] Read of size 8 by task killall/22177 > [ 5228.738304] page:ea001274adc0 count:0 mapcount:0 ma

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-02 Thread Andy Lutomirski
On Fri, Oct 2, 2015 at 6:15 PM, Sasha Levin wrote: > On 09/30/2015 04:38 AM, Thomas Gleixner wrote: >> Dmitry Vyukov reported the following using trinity and the memory >> error detector AddressSanitizer >> (https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel). >> >> [ 124.5

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-02 Thread Sasha Levin
On 09/30/2015 04:38 AM, Thomas Gleixner wrote: > Dmitry Vyukov reported the following using trinity and the memory > error detector AddressSanitizer > (https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel). > > [ 124.575597] ERROR: AddressSanitizer: heap-buffer-overflow on >