Re: Linux 4.12-rc6
From: Hugh Dickins
Date: Tue Jun 20 2017 - 05:06:10 EST
On Mon, 19 Jun 2017, Dave Jones wrote:
>
> I hacked up this harness to try and narrow it down more..
>
> #!/bin/bash
>
> . scripts/taint.sh
>
> while [ 1 ];
> do
> ./trinity -a64 -C1 -c mmap -N1 --enable-fds=testfile
> check_tainted
> done
Very helpful reproducer, thank you Dave: I tried a couple of times,
and it crashed in about 3 minutes each time. And good news is that
the check that Linus suggested does indeed fix it. I'm anxious to
send the patch in now, so have only tested about half an hour on
x86_64 and half an hour x86_32 so far, just to make sure that at
least there isn't something too embarrassing just around this first
corner (some of the time with ulimit -s at default 8192, some of
the time unlimited, since that affects layout decisions). I'll
send in the patch now - many thanks for catching this so quickly.
Hugh