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]
Date:	Tue, 29 Mar 2016 09:21:48 +0800
From:	kernel test robot <ying.huang@...ux.intel.com>
TO:	Ming Lei <ming.lei@...onical.com>
CC:	0day robot <fengguang.wu@...el.com>
Subject: [lkp] [driver core] de6c63b04a: BUG: unable to handle kernel NULL
 pointer dereference at 0000000000000068

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Ming-Lei/driver-core-fix-race-between-creating-querying-glue-dir-and-its-cleanup/20160328-163037
commit de6c63b04a9744c00e46986e44e73f391215b58e ("driver core: fix race between creating/querying glue dir and its cleanup")


[    1.445020] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.445788] EDD information not available.
[    1.446540] Unregister pv shared memory for cpu 0
[    1.486934] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
[    1.488179] IP: [<ffffffff81187c29>] kernfs_find_ns+0xe/0xb2
[    1.488948] PGD 0 
[    1.489357] Oops: 0000 [#1] SMP 
[    1.499826] Modules linked in:
[    1.500339] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.5.0-12561-gde6c63b #1
[    1.501187] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    1.502314] task: ffff880013868000 ti: ffff880013870000 task.ti: ffff880013870000
[    1.503352] RIP: 0010:[<ffffffff81187c29>]  [<ffffffff81187c29>] kernfs_find_ns+0xe/0xb2
[    1.504460] RSP: 0000:ffff880013873be0  EFLAGS: 00010246
[    1.505201] RAX: ffff880013868000 RBX: 0000000000000000 RCX: 0000000000001783
[    1.506074] RDX: 0000000000000000 RSI: ffffffff816cce20 RDI: 0000000000000000
[    1.507017] RBP: ffff880013873c00 R08: 0000000000016100 R09: ffffffff813a0ebc
[    1.507945] R10: ffff880014043c00 R11: ffff88001403cb80 R12: ffffffff81a62c00
[    1.508870] R13: 0000000000000000 R14: 0000000000000003 R15: 000000000000fa40
[    1.509798] FS:  0000000000000000(0000) GS:ffff880014900000(0000) knlGS:0000000000000000
[    1.510932] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.511716] CR2: 0000000000000068 CR3: 0000000001a06000 CR4: 00000000000006a0
[    1.512621] Stack:
[    1.513014]  0000000000000000 ffffffff81a62c00 ffff88000bf5e400 0000000000000003
[    1.514260]  ffff880013873c28 ffffffff81187cfd ffffffff816cce20 0000000000000000
[    1.515483]  ffff88000bf5dc10 ffff880013873c48 ffffffff8118ad98 ffff88000bf5dc10
[    1.516746] Call Trace:
[    1.517152]  [<ffffffff81187cfd>] kernfs_find_and_get_ns+0x30/0x51
[    1.517970]  [<ffffffff8118ad98>] sysfs_unmerge_group+0x18/0x4c
[    1.518727]  [<ffffffff813a2947>] dpm_sysfs_remove+0x1d/0x50
[    1.519459]  [<ffffffff81398a4e>] device_del+0x44/0x1eb
[    1.520163]  [<ffffffff81398c35>] device_unregister+0x40/0x4b
[    1.520901]  [<ffffffff813a0ee4>] cpu_cache_sysfs_exit+0x8f/0xaa
[    1.521672]  [<ffffffff813a13d9>] cacheinfo_cpu_callback+0x57/0x76
[    1.522457]  [<ffffffff810824d1>] notifier_call_chain+0x39/0x5c
[    1.523228]  [<ffffffff81082578>] __raw_notifier_call_chain+0x9/0xb
[    1.524047]  [<ffffffff8106b48e>] __cpu_notify+0x31/0x46
[    1.524743]  [<ffffffff8106b511>] cpu_notify+0xe/0x10
[    1.525421]  [<ffffffff8106ba7c>] cpu_notify_nofail+0x9/0x11
[    1.526127]  [<ffffffff8106bf50>] notify_dead+0x21/0xcb
[    1.526813]  [<ffffffff8106b85e>] cpuhp_invoke_callback+0xb/0x10
[    1.527617]  [<ffffffff8106b898>] cpuhp_down_callbacks+0x35/0x7d
[    1.528356]  [<ffffffff814afea6>] _cpu_down+0x84/0xde
[    1.529003]  [<ffffffff8106c125>] cpu_down+0x27/0x34
[    1.529674]  [<ffffffff810199c3>] _debug_hotplug_cpu+0x4b/0xed
[    1.530398]  [<ffffffff81abca2b>] ? topology_init+0x37/0x37
[    1.531091]  [<ffffffff81abca38>] debug_hotplug_cpu+0xd/0x11
[    1.531796]  [<ffffffff8100041d>] do_one_initcall+0xf2/0x179
[    1.532507]  [<ffffffff81ab5021>] kernel_init_freeable+0x160/0x1e6
[    1.533289]  [<ffffffff814af0ff>] kernel_init+0x9/0xeb
[    1.533948]  [<ffffffff814b74a2>] ret_from_fork+0x22/0x40
[    1.534629]  [<ffffffff814af0f6>] ? rest_init+0x7d/0x7d
[    1.535284] Code: 08 ff ff ff 45 31 ed e9 ea fe ff ff 48 83 c4 20 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 55 48 89 e5 41 56 41 55 41 54 53 49 89 d5 <66> 8b 47 68 49 89 f4 66 83 e0 20 0f 95 c1 48 85 d2 0f 95 c2 38 
[    1.541369] RIP  [<ffffffff81187c29>] kernfs_find_ns+0xe/0xb2
[    1.542143]  RSP <ffff880013873be0>
[    1.542642] CR2: 0000000000000068
[    1.543146] ---[ end trace 74e97b9efc0c1870 ]---
[    1.543756] Kernel panic - not syncing: Fatal exception


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -kernel /pkg/linux/x86_64-randconfig-n0-03281713/gcc-5/de6c63b04a9744c00e46986e44e73f391215b58e/vmlinuz-4.5.0-12561-gde6c63b -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-x86_64-61/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-randconfig-n0-03281713-de6c63b04a9744c00e46986e44e73f391215b58e-20160328-33835-1bmrk7c-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-n0-03281713 branch=linux-devel/devel-spot-201603281703 commit=de6c63b04a9744c00e46986e44e73f391215b58e BOOT_IMAGE=/pkg/linux/x86_64-randconfig-n0-03281713/gcc-5/de6c63b04a9744c00e46986e44e73f391215b58e/vmlinuz-4.5.0-12561-gde6c63b max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-n0-03281713/gcc-5/de6c63b04a9744c00e46986e44e73f391215b58e/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-vp-quantal-x86_64-61::dhcp drbd.minor_count=8'  -initrd /fs/sdc1/initrd-vm-vp-quantal-x86_64-61 -m 360 -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-vp-quantal-x86_64-61 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-x86_64-61 -daemonize -display none -monitor null 




Thanks,
Kernel Test Robot

View attachment "config-4.5.0-12561-gde6c63b" of type "text/plain" (96962 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (9336 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ