Re: BUG: unable to handle kernel paging request from pty_write [was: Linux 4.4.2]

From: Jiri Slaby
Date: Fri Feb 26 2016 - 03:16:00 EST

On 02/25/2016, 07:40 PM, Peter Hurley wrote:
>> This was trigerred by a gdb build on our servers [1].
> I noted that the crash is not strictly for building gdb but appears
> to be with gdb running?

Yes, when gdb is built, gdb tests are run. From the build log gdb_log
[1], checks were run on the top of built gdb:
./orphanripper make -j8 -k check//unix/-m64 check//unix/-m64/-fPIC/-pie
check//unix/-m32 check//unix/-m32/-fPIC/-pie


> Perhaps some test that has failed?
> Maybe some ABI violation with gdb + kvm?

[ 425s] === gdb tests ===
[ 425s]
[ 425s] Schedule of variations:
[ 425s] unix/-m32
[ 425s]
[ 425s] Running target unix/-m32
[ 425s] Using /usr/share/dejagnu/baseboards/unix.exp as board
description file for target.
[ 425s] Using /usr/share/dejagnu/config/unix.exp as generic interface
file for target.
[ 425s] Using
/home/abuild/rpmbuild/BUILD/gdb-7.10.1/gdb/testsuite/config/unix.exp as
tool-and-target-specific interface file.
[ 425s] Running
[ 425s] [ 413.383880] kernel tried to execute NX-protected page -
exploit attempt? (uid: 399)

It's plenty of code run in there:;a=blob;f=gdb/testsuite/gdb.base/break-interp.exp;h=713e1008fb3739f7fdcdb6c0a484a46b279ef1b6;hb=HEAD

> Is this reproducible?

I tried whole day yesterday without luck :(.

suse labs