Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-05-28 Thread Randy Dunlap
On 5/28/19 3:47 PM, Kees Cook wrote: > On Mon, May 27, 2019 at 09:53:33AM +0200, Rasmus Villemoes wrote: >> On 25/05/2019 17.33, Randy Dunlap wrote: >>> On 3/13/19 7:53 PM, Kees Cook wrote: Hi! On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: > > This is v5.0-11053-gebc55

Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-05-28 Thread Kees Cook
On Mon, May 27, 2019 at 09:53:33AM +0200, Rasmus Villemoes wrote: > On 25/05/2019 17.33, Randy Dunlap wrote: > > On 3/13/19 7:53 PM, Kees Cook wrote: > >> Hi! > >> > >> On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: > >>> > >>> This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. > >>>

Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-05-27 Thread Rasmus Villemoes
On 25/05/2019 17.33, Randy Dunlap wrote: > On 3/13/19 7:53 PM, Kees Cook wrote: >> Hi! >> >> On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: >>> >>> This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. >>> >>> In the first test_kmalloc() in test_overflow_allocation(): >>> >>> [54375.0738

Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-05-25 Thread Randy Dunlap
On 3/13/19 7:53 PM, Kees Cook wrote: > Hi! > > On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: >> >> This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. >> >> In the first test_kmalloc() in test_overflow_allocation(): >> >> [54375.073895] test_overflow: ok: (s64)(0 << 63) == 0 >> [5437

Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-03-13 Thread Kees Cook
Hi! On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: > > This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. > > In the first test_kmalloc() in test_overflow_allocation(): > > [54375.073895] test_overflow: ok: (s64)(0 << 63) == 0 > [54375.074228] WARNING: CPU: 2 PID: 5462 at ../mm/page_

lib/test_overflow.c causes WARNING and tainted kernel

2019-03-13 Thread Randy Dunlap
This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. In the first test_kmalloc() in test_overflow_allocation(): [54375.073895] test_overflow: ok: (s64)(0 << 63) == 0 [54375.074228] WARNING: CPU: 2 PID: 5462 at ../mm/page_alloc.c:4584 __alloc_pages_nodemask+0x33f/0x540 [54375.074279] Module