lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160627062148.GK16713@yexl-desktop>
Date:	Mon, 27 Jun 2016 14:21:48 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Andy Lutomirski <luto@...nel.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andy Lutomirski <luto@...capital.net>, lkp@...org
Subject: [fork]  fa0c96ab2d: BUG: unable to handle kernel NULL pointer
 dereference at 0000000000000008


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack
commit fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322 ("fork: Cache two thread stacks per cpu if CONFIG_VMAP_STACK is set")


on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu Westmere with 320M memory

caused below changes:


+------------------------------------------+------------+------------+
|                                          | a550c94136 | fa0c96ab2d |
+------------------------------------------+------------+------------+
| boot_successes                           | 0          | 0          |
| boot_failures                            | 56         | 54         |
| BUG:unable_to_handle_kernel              | 50         | 53         |
| Oops                                     | 27         | 21         |
| RIP:__schedule                           | 10         |            |
| RIP:number                               | 5          | 1          |
| backtrace:do_wait                        | 9          |            |
| backtrace:SyS_wait4                      | 9          |            |
| PANIC:double_fault                       | 28         | 32         |
| RIP:symbol_string                        | 11         | 28         |
| Kernel_panic-not_syncing:Machine_halted  | 28         | 32         |
| WARNING:at_mm/vmalloc.c:#__vunmap        | 2          |            |
| RIP:io_serial_out                        | 8          |            |
| Kernel_panic-not_syncing:Fatal_exception | 24         | 20         |
| RIP:queued_spin_lock_slowpath            | 1          |            |
| RIP:io_serial_in                         | 4          | 1          |
| RIP:vmalloc_fault                        | 2          | 1          |
| backtrace:smpboot_thread_fn              | 2          |            |
| RIP:__lock_acquire                       | 13         | 12         |
| backtrace:async_run_entry_fn             | 14         | 13         |
| INFO:trying_to_register_non-static_key   | 1          |            |
| RIP:do_raw_spin_trylock                  | 1          |            |
| BUG:kernel_test_hang                     | 1          |            |
| backtrace:compat_SyS_wait4               | 2          |            |
| RIP:cont_add                             | 1          |            |
| backtrace:core_sys_select                | 1          |            |
| backtrace:SyS_select                     | 1          |            |
| backtrace:vfs_read                       | 1          |            |
| backtrace:SyS_read                       | 1          |            |
| RIP:no_context                           | 1          |            |
| invoked_oom-killer:gfp_mask=0x           | 1          |            |
| Mem-Info                                 | 1          |            |
| Out_of_memory:Kill_process               | 1          |            |
| BUG:Bad_page_map_in_process              | 1          |            |
| backtrace:oom_reaper                     | 1          |            |
| RIP:format_decode                        | 0          | 1          |
| RIP:vsnprintf                            | 0          | 1          |
| BUG:kernel_boot_hang                     | 0          | 1          |
| RIP:ptep_set_access_flags                | 0          | 1          |
| RIP:do_raw_spin_lock                     | 0          | 1          |
| backtrace:schedule_timeout               | 0          | 1          |
+------------------------------------------+------------+------------+



[   14.488344] Write protecting the kernel read-only data: 20480k
[   14.490449] Freeing unused kernel memory: 948K (ffff880001d13000 - ffff880001e00000)
[   14.509877] Freeing unused kernel memory: 384K (ffff8800023a0000 - ffff880002400000)
[   14.566870] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[   14.589161] IP: [<ffffffff8107c809>] do_exit+0x8a9/0x958
[   14.589906] PGD f29f067 PUD f2aa067 PMD 0 
[   14.590531] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.591621] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.592395] PGD f29f067 PUD f2aa067 PMD 0 
[   14.593028] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.594134] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.595079] PGD f29f067 PUD f2aa067 PMD 0 
[   14.595835] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.597169] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.598111] PGD f29f067 PUD f2aa067 PMD 0 
[   14.598866] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.600137] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.619127] PGD f29f067 PUD f2aa067 PMD 0 
[   14.619856] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.621195] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.622145] PGD f29f067 PUD f2aa067 PMD 0 
[   14.622845] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.624059] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.624914] PGD f29f067 PUD f2aa067 PMD 0 
[   14.625607] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.626905] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.627791] PGD f29f067 PUD f2aa067 PMD 0 
[   14.646553] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.647925] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.648805] PGD f29f067 PUD f2aa067 PMD 0 
[   14.649429] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.650620] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.651477] PGD f29f067 PUD f2aa067 PMD 0 
[   14.652168] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.653374] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.654227] PGD f29f067 PUD f2aa067 PMD 0 
[   14.654906] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.674170] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.675147] PGD f29f067 PUD f2aa067 PMD 0 
[   14.675912] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.677243] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.678192] PGD f29f067 PUD f2aa067 PMD 0 
[   14.678905] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.680120] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.680971] PGD f29f067 PUD f2aa067 PMD 0 
[   14.681657] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.682861] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.701842] PGD f29f067 PUD f2aa067 PMD 0 
[   14.702613] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.703952] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.704907] PGD f29f067 PUD f2aa067 PMD 0 
[   14.705667] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.706912] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.707773] PGD f29f067 PUD f2aa067 PMD 0 
[   14.708460] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.709662] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.710552] PGD f29f067 PUD f2aa067 PMD 0 
[   14.741364] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.742708] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.743653] PGD f29f067 PUD f2aa067 PMD 0 
[   14.744409] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.745743] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.746696] PGD f29f067 PUD f2aa067 PMD 0 
[   14.747462] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.771833] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.772792] PGD f29f067 PUD f2aa067 PMD 0 
[   14.773565] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.774912] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.775873] PGD f29f067 PUD f2aa067 PMD 0 
[   14.776646] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.777986] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.799988] PGD f29f067 PUD f2aa067 PMD 0 
[   14.800757] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.802105] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.803060] PGD f29f067 PUD f2aa067 PMD 0 
[   14.803814] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.805163] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.826139] PGD f29f067 PUD f2aa067 PMD 0 
[   14.826825] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.828031] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.828972] PGD f29f067 PUD f2aa067 PMD 0 
[   14.829734] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.831070] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.832022] PGD f29f067 PUD f2aa067 PMD 0 
[   14.832779] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.855339] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.859358] PGD f29f067 PUD f2aa067 PMD 0 
[   14.860010] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.866515] IP: [<ffffffff8103d7fd>] no_context+0x2c5/0x382
[   14.870436] PGD f29f067 PUD f2aa067 PMD 0 
[   14.874316] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   14.877654] IP:
[   14.877893] PANIC: double fault, error_code: 0x0
[   14.880793] CPU: 0 PID: 149 Comm: mount Not tainted 4.7.0-rc4-00260-gfa0c96a #2
[   14.882944] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   14.891703] task: ffff88000f1e5b00 ti: ffff88000f1e5b00 task.ti: ffff88000f1e5b00
[   14.894869] RIP: 0010:[<ffffffff814003ee>]  [<ffffffff814003ee>] symbol_string+0x39/0x68
[   14.898367] RSP: 0000:ffffc900001d3fd0  EFLAGS: 00010083
[   14.900249] RAX: 0000000000000053 RBX: ffffffff832c6196 RCX: ffff0a00ffffff05
[   14.902452] RDX: ffffffff8103d7fd RSI: ffffffff8103d7fd RDI: ffffc900001d3fd1
[   14.904593] RBP: ffffc900001d40d8 R08: ffffffff82217370 R09: 0000000000000020
[   14.906701] R10: 00000000001d4200 R11: ffffffff832c6183 R12: ffffffff832c6560
[   14.914898] R13: ffff0a00ffffff05 R14: 00000000ffff0a00 R15: 00000000000003e0
[   14.917045] FS:  0000000000000000(0000) GS:ffff880013800000(0000) knlGS:0000000000000000
[   14.920560] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   14.922558] CR2: ffffc900001d3fc8 CR3: 000000000f2b3000 CR4: 00000000000006f0
[   14.929938] Stack:
[   14.931428] 
[   14.931634] Call Trace:
[   14.931957]  <UNK> 
[   14.932338] Code: fb 48 89 d6 49 89 cd 48 8d bd f9 fe ff ff 48 81 ec f0 00 00 00 41 8a 00 3c 42 75 07 e8 3b 53 cd ff eb 14 3c 66 74 0b 3c 73 74 07 <e8> 0b 53 cd ff eb 05 e8 16 53 cd ff 48 8d 95 f9 fe ff ff 4c 89 
[   14.940956] Kernel panic - not syncing: Machine halted.
[   14.941876] Kernel Offset: disabled

Elapsed time: 30


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu Westmere -kernel /pkg/linux/x86_64-acpi-redef/gcc-6/fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322/vmlinuz-4.7.0-rc4-00260-gfa0c96a -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-9/rand_boot-1-yocto-minimal-i386.cgz-x86_64-acpi-redef-fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322-20160626-39885-prwrwn-1.yaml ARCH=x86_64 kconfig=x86_64-acpi-redef branch=linux-devel/devel-catchup-201606260900 commit=fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322 BOOT_IMAGE=/pkg/linux/x86_64-acpi-redef/gcc-6/fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322/vmlinuz-4.7.0-rc4-00260-gfa0c96a max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-ia32/yocto-minimal-i386.cgz/x86_64-acpi-redef/gcc-6/fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-kbuild-yocto-ia32-9::dhcp drbd.minor_count=8'  -initrd /fs/sda1/initrd-vm-kbuild-yocto-ia32-9 -m 320 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sda1/disk0-vm-kbuild-yocto-ia32-9,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-ia32-9 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-ia32-9 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc4-00260-gfa0c96a" of type "text/plain" (118536 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (13632 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ