2016-03-16 00:22:23

by kernel test robot

[permalink] [raw]
Subject: [lkp] [atomic] 977f35dbf7: BUG: unable to handle kernel NULL pointer dereference at (null)

FYI, we noticed the below changes on

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/urgent
commit 977f35dbf719491997e2e3a09658379f5919dfe9 ("atomic: Fix bugs in 'fetch_or()' and rename it to 'xchg_or()'")


+------------------------------------------+------------+------------+
| | e23604edac | 977f35dbf7 |
+------------------------------------------+------------+------------+
| boot_successes | 48 | 2 |
| boot_failures | 2 | 4 |
| invoked_oom-killer:gfp_mask=0x | 2 | |
| Mem-Info | 2 | |
| Out_of_memory:Kill_process | 2 | |
| backtrace:getname | 1 | |
| backtrace:SyS_execve | 1 | |
| backtrace:_do_fork | 2 | |
| backtrace:call_usermodehelper_exec_work | 2 | |
| backtrace:vfs_read | 1 | |
| backtrace:SyS_read | 1 | |
| backtrace:do_sys_open | 1 | |
| backtrace:SyS_open | 1 | |
| BUG:unable_to_handle_kernel | 0 | 4 |
| Oops | 0 | 4 |
| RIP:set_nr_and_not_polling | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 |
| backtrace:cpu_up | 0 | 4 |
| backtrace:smp_init | 0 | 4 |
| backtrace:kernel_init_freeable | 0 | 4 |
+------------------------------------------+------------+------------+



[ 0.943929] kvm-clock: cpu 1, msr 0:34d8a041, secondary cpu clock
[ 0.944728] masked ExtINT on CPU#1
[ 0.945203] numa_add_cpu cpu 1 node 0: mask now 0-1
[ 0.965760] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 0.967245] IP: [<ffffffff810fee90>] set_nr_and_not_polling+0x19/0x32
[ 0.968308] PGD 0
[ 0.968835] Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
[ 0.969817] Modules linked in:
[ 0.970467] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.5.0-00482-g977f35d #174
[ 0.971730] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.973235] task: ffff88003337c040 ti: ffff880032960000 task.ti: ffff880032960000
[ 0.974563] RIP: 0010:[<ffffffff810fee90>] [<ffffffff810fee90>] set_nr_and_not_polling+0x19/0x32
[ 0.976156] RSP: 0000:ffff880032963ce8 EFLAGS: 00010002
[ 0.977036] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[ 0.978121] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff880032a082c0
[ 0.979222] RBP: ffff880032963ce8 R08: 00000000e272d5c3 R09: 0000000000000004
[ 0.980314] R10: ffff880032963ce0 R11: 0000000000000000 R12: ffff880032a082c0
[ 0.981400] R13: 0000000000000004 R14: ffff8800349d7d58 R15: 0000000000000001
[ 0.982485] FS: 0000000000000000(0000) GS:ffff880034600000(0000) knlGS:0000000000000000
[ 0.983846] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.984765] CR2: 0000000000000000 CR3: 0000000004021000 CR4: 00000000000006f0
[ 0.985843] Stack:
[ 0.986298] ffff880032963d08 ffffffff81102d59 ffff8800349d7d40 ffff880032a18340
[ 0.987854] ffff880032963d20 ffffffff81103148 ffff8800349d7d40 ffff880032963d48
[ 0.989390] ffffffff811031af ffff8800349d7d40 ffff880032a18340 0000000000000004
[ 0.990937] Call Trace:
[ 0.991467] [<ffffffff81102d59>] resched_curr+0x65/0x91
[ 0.992326] [<ffffffff81103148>] check_preempt_curr+0x4a/0x98
[ 0.993250] [<ffffffff811031af>] ttwu_do_wakeup+0x19/0x1bd
[ 0.994163] [<ffffffff8110342f>] ttwu_do_activate+0x76/0x8e
[ 0.995223] [<ffffffff811047c3>] try_to_wake_up+0x1d1/0x21f
[ 0.996128] [<ffffffff81104893>] wake_up_state+0x10/0x12
[ 0.997007] [<ffffffff810faa6c>] __kthread_unpark+0x57/0x5a
[ 0.997927] [<ffffffff810fb02c>] kthread_unpark+0x20/0x22
[ 0.998810] [<ffffffff81169823>] stop_machine_unpark+0x27/0x29
[ 0.999738] [<ffffffff81102805>] sched_cpu_active+0x3a/0x59
[ 1.000626] [<ffffffff810fbcb3>] notifier_call_chain+0x75/0x9c
[ 1.001564] [<ffffffff810fbce8>] __raw_notifier_call_chain+0xe/0x10
[ 1.002553] [<ffffffff810dfa28>] __cpu_notify+0x20/0x35
[ 1.003437] [<ffffffff810dfa50>] cpu_notify+0x13/0x15
[ 1.004274] [<ffffffff810e00e2>] _cpu_up+0xfe/0x128
[ 1.005097] [<ffffffff810e016e>] cpu_up+0x62/0x72
[ 1.005890] [<ffffffff8464fc25>] smp_init+0x76/0x78
[ 1.006712] [<ffffffff846270cd>] kernel_init_freeable+0x13b/0x24c
[ 1.007675] [<ffffffff82eb7039>] ? rest_init+0x140/0x140
[ 1.008541] [<ffffffff82eb7047>] kernel_init+0xe/0xf5
[ 1.009409] [<ffffffff82ec33df>] ret_from_fork+0x3f/0x70
[ 1.010272] [<ffffffff82eb7039>] ? rest_init+0x140/0x140
[ 1.011149] Code: 83 c8 ff 5d c3 48 8b 46 58 55 48 89 e5 ff 50 38 5d c3 0f 1f 44 00 00 48 8b 47 08 55 48 89 e5 8b 50 08 89 d6 31 c9 89 d0 83 ce 08 <f0> 0f b1 31 39 c2 74 04 89 c2 eb eb 89 d0 c1 e8 15 83 f0 01 83
[ 1.018637] RIP [<ffffffff810fee90>] set_nr_and_not_polling+0x19/0x32
[ 1.019721] RSP <ffff880032963ce8>
[ 1.020349] CR2: 0000000000000000
[ 1.020976] ---[ end trace d3a3d0f2a6730a57 ]---
[ 1.021752] Kernel panic - not syncing: Fatal exception


FYI, raw QEMU command line is:

qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -kernel /pkg/linux/x86_64-allyesdebian/gcc-5/977f35dbf719491997e2e3a09658379f5919dfe9/vmlinuz-4.5.0-00482-g977f35d -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-quantal-x86_64-9/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-allyesdebian-977f35dbf719491997e2e3a09658379f5919dfe9-20160315-24910-fypfl7-0.yaml ARCH=x86_64 kconfig=x86_64-allyesdebian branch=linux-devel/devel-catchup-201603151850 commit=977f35dbf719491997e2e3a09658379f5919dfe9 BOOT_IMAGE=/pkg/linux/x86_64-allyesdebian/gcc-5/977f35dbf719491997e2e3a09658379f5919dfe9/vmlinuz-4.5.0-00482-g977f35d max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-allyesdebian/gcc-5/977f35dbf719491997e2e3a09658379f5919dfe9/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-lkp-wsx03-quantal-x86_64-9::dhcp drbd.minor_count=8' -initrd /fs/sdc1/initrd-vm-lkp-wsx03-quantal-x86_64-9 -m 872 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-quantal-x86_64-9 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-quantal-x86_64-9 -daemonize -display none -monitor null




Thanks,
Kernel Test Robot


Attachments:
(No filename) (6.96 kB)
config-4.5.0-00482-g977f35d (146.79 kB)
dmesg.xz (6.16 kB)
Download all attachments