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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180418134058.l3orjjxcpv7cxjfw@wfg-t540p.sh.intel.com>
Date:   Wed, 18 Apr 2018 21:40:58 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Oleg Drokin <oleg.drokin@...el.com>,
        Andreas Dilger <andreas.dilger@...el.com>,
        James Simmons <jsimmons@...radead.org>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Denis Petrovic <denis.petrovic@....ece.fr>,
        lustre-devel@...ts.lustre.org, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, lkp@...org
Subject: [cfs_trace_lock_tcd] BUG: KASAN: null-ptr-deref in
 cfs_trace_lock_tcd+0x25/0xeb

FYI, it's the same regression, however reported by KASAN.

[   19.940511] vhci_hcd: dump_port_status_diff:142:  +R27
[   19.940884] vhci_hcd: dump_port_status_diff:150:
[   19.941126] vhci_hcd: vhci_hub_control:604:  bye
[   19.941703] usb usb2: vhci_bus_suspend
[   20.967090] ==================================================================
[   20.968082] BUG: KASAN: null-ptr-deref in cfs_trace_lock_tcd+0x25/0xeb:
						cfs_trace_lock_tcd at drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c:149
[   20.968856] Read of size 2 at addr 00000000000000a4 by task swapper/1
[   20.969604]
[   20.969817] CPU: 0 PID: 1 Comm: swapper Tainted: G                T 4.17.0-rc1 #1
[   20.970046] Call Trace:
[   20.970046]  dump_stack+0x2e/0x3e:
						__dump_stack at lib/dump_stack.c:77
						 (inlined by) dump_stack at lib/dump_stack.c:123
[   20.970046]  kasan_report+0x2f3/0x360:
						kasan_report_error at mm/kasan/report.c:352
						 (inlined by) kasan_report at mm/kasan/report.c:412
[   20.970046]  __asan_load2+0x31/0xe4
[   20.970046]  cfs_trace_lock_tcd+0x25/0xeb:
						cfs_trace_lock_tcd at drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c:149
[   20.970046]  libcfs_debug_vmsg2+0x18d/0xd26:
						libcfs_debug_vmsg2 at drivers/staging/lustre/lnet/libcfs/tracefile.c:317
[   20.970046]  ? cfs_trace_get_tage+0x957/0x957:
						libcfs_debug_vmsg2 at drivers/staging/lustre/lnet/libcfs/tracefile.c:293
[   20.970046]  ? mark_lock+0xe9/0xa16:
						mark_lock at kernel/locking/lockdep.c:3121
[   20.970046]  ? fput+0x111/0x11f:
						queue_delayed_work at include/linux/workqueue.h:526
						 (inlined by) schedule_delayed_work at include/linux/workqueue.h:627
						 (inlined by) fput at fs/file_table.c:280
[   20.970046]  ? lnet_ipif_enumerate+0x541/0x588:
						lnet_ipif_enumerate at drivers/staging/lustre/lnet/lnet/lib-socket.c:238
[   20.970046]  ? kasan_slab_free+0x15/0x1e:
						kasan_slab_free at mm/kasan/kasan.c:528
[   20.970046]  ? kfree+0x215/0x2cb:
						slab_free_hook at mm/slub.c:1388
						 (inlined by) slab_free_freelist_hook at mm/slub.c:1415
						 (inlined by) slab_free at mm/slub.c:2988
						 (inlined by) kfree at mm/slub.c:3944
[   20.970046]  libcfs_debug_msg+0x9b/0xc5:
						libcfs_debug_msg at drivers/staging/lustre/lnet/libcfs/tracefile.c:278
[   20.970046]  ? libcfs_debug_vmsg2+0xd26/0xd26:
						libcfs_debug_msg at drivers/staging/lustre/lnet/libcfs/tracefile.c:278
[   20.970046]  ksocknal_startup+0x341/0x1228:
						ksocknal_enumerate_interfaces at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2634
						 (inlined by) ksocknal_startup at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2822
[   20.970046]  ? __asan_loadN+0x1d/0x26
[   20.970046]  ? pvclock_clocksource_read+0x162/0x296:
						pvclock_clocksource_read at arch/x86/kernel/pvclock.c:89
[   20.970046]  ? ksocknal_base_startup+0xbae/0xbae:
						ksocknal_startup at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2796
[   20.970046]  ? pvclock_read_flags+0x5d/0x5d:
						pvclock_clocksource_read at arch/x86/kernel/pvclock.c:79
[   20.970046]  ? kasan_check_read+0x1f/0x28:
						kasan_check_read at mm/kasan/kasan.c:272
[   20.970046]  ? kvm_clock_read+0x24/0x3a:
						kvm_clock_read at arch/x86/kernel/kvmclock.c:89
[   20.970046]  ? kasan_check_write+0x22/0x2b:
						kasan_check_write at mm/kasan/kasan.c:278
[   20.970046]  ? sched_clock_local+0xc8/0xfa
[   20.970046]  ? reacquire_held_locks+0x1cd/0x1cd:
						lock_release at kernel/locking/lockdep.c:3929
[   20.970046]  ? cfs_percpt_lock+0xdf/0x1ad:
						spin_lock at include/linux/spinlock.h:310
						 (inlined by) cfs_percpt_lock at drivers/staging/lustre/lnet/libcfs/libcfs_lock.c:111
[   20.970046]  ? do_raw_spin_unlock+0x100/0x10d:
						arch_spin_unlock at include/linux/spinlock_up.h:48
						 (inlined by) do_raw_spin_unlock at kernel/locking/spinlock_debug.c:135
[   20.970046]  ? _raw_spin_unlock+0x37/0x4e:
						__raw_spin_unlock at include/linux/spinlock_api_smp.h:151
						 (inlined by) _raw_spin_unlock at kernel/locking/spinlock.c:176
[   20.970046]  ? cfs_percpt_unlock+0x66/0x13a:
						spin_unlock at include/linux/spinlock.h:350
						 (inlined by) cfs_percpt_unlock at drivers/staging/lustre/lnet/libcfs/libcfs_lock.c:140
[   20.970046]  lnet_startup_lndni+0x62a/0xf84:
						lnet_startup_lndni at drivers/staging/lustre/lnet/lnet/api-ni.c:1306
[   20.970046]  ? lnet_shutdown_lndni+0xcc/0xcc:
						lnet_startup_lndni at drivers/staging/lustre/lnet/lnet/api-ni.c:1210
[   20.970046]  ? __schedule+0xbff/0xc7f:
						context_switch at kernel/sched/core.c:2851
						 (inlined by) __schedule at kernel/sched/core.c:3490
[   20.970046]  ? firmware_map_remove+0x265/0x265:
						__schedule at kernel/sched/core.c:3401
[   20.970046]  ? kasan_check_read+0x1f/0x28:
						kasan_check_read at mm/kasan/kasan.c:272
[   20.970046]  LNetNIInit+0x5d4/0xbf8:
						lnet_startup_lndnis at drivers/staging/lustre/lnet/lnet/api-ni.c:1385
						 (inlined by) LNetNIInit at drivers/staging/lustre/lnet/lnet/api-ni.c:1543
[   20.970046]  ? lnet_lib_exit+0x147/0x147:
						LNetNIInit at drivers/staging/lustre/lnet/lnet/api-ni.c:1497
[   20.970046]  ? del_timer+0x6d/0xf8:
						del_timer at kernel/time/timer.c:1200
[   20.970046]  ? add_timer_on+0x32b/0x32b:
						del_timer at kernel/time/timer.c:1193
[   20.970046]  ? _raw_spin_unlock_irqrestore+0x74/0x9e:
						__raw_spin_unlock_irqrestore at include/linux/spinlock_api_smp.h:160
						 (inlined by) _raw_spin_unlock_irqrestore at kernel/locking/spinlock.c:184
[   20.970046]  ? trace_hardirqs_on_caller+0x2c8/0x33d:
						trace_hardirqs_on_caller at kernel/locking/lockdep.c:2884
[   20.970046]  ? schedule_timeout+0x82b/0x8a7:
						schedule_timeout at kernel/time/timer.c:1807
[   20.970046]  ? kasan_kmalloc+0x1c5/0x1e1:
						save_stack at mm/kasan/kasan.c:454
						 (inlined by) set_track at mm/kasan/kasan.c:460
						 (inlined by) kasan_kmalloc at mm/kasan/kasan.c:553
[   20.970046]  ? console_conditional_schedule+0x44/0x44:
						schedule_timeout at kernel/time/timer.c:1763
[   20.970046]  ? do_one_initcall+0x158/0x3ac:
						do_one_initcall at init/main.c:883
[   20.970046]  ? kernel_init_freeable+0x2b8/0x434:
						do_initcall_level at init/main.c:951
						 (inlined by) do_initcalls at init/main.c:959
						 (inlined by) do_basic_setup at init/main.c:977
						 (inlined by) kernel_init_freeable at init/main.c:1127
[   20.970046]  ? kernel_init+0x13/0x1ae:
						kernel_init at init/main.c:1053
[   20.970046]  ? ret_from_fork+0x24/0x30:
						ret_from_fork at arch/x86/entry/entry_64.S:418
[   20.970046]  ? __check_object_size+0x8d7/0xa08:
						__check_object_size at mm/usercopy.c:262
[   20.970046]  ? usercopy_abort+0xb7/0xb7:
						__check_object_size at mm/usercopy.c:250
[   20.970046]  ? __lock_is_held+0x39/0xbb:
						__lock_is_held at kernel/locking/lockdep.c:3737 (discriminator 1)
[   20.970046]  ? mark_held_locks+0x2c/0xb2:
						mark_held_locks at kernel/locking/lockdep.c:2795 (discriminator 1)
[   20.970046]  ? debug_check_no_locks_freed+0x237/0x25f:
						debug_check_no_locks_freed at kernel/locking/lockdep.c:4421 (discriminator 2)
[   20.970046]  ? collect_expired_timers+0x23b/0x23b:
						process_timeout at kernel/time/timer.c:1727
[   20.970046]  ? lockdep_init_map+0x10/0x19:
						lockdep_init_map at kernel/locking/lockdep.c:3239
[   20.970046]  srpc_startup+0x136/0x352:
						srpc_startup at drivers/staging/lustre/lnet/selftest/rpc.c:1613
[   20.970046]  ? srpc_shutdown+0x1f0/0x1f0:
						srpc_startup at drivers/staging/lustre/lnet/selftest/rpc.c:1599
[   20.970046]  ? kvmalloc_node+0x6b/0xb6:
						__kmalloc_node at include/linux/slab.h:383
						 (inlined by) kmalloc_node at include/linux/slab.h:554
						 (inlined by) kvmalloc_node at mm/util.c:421
[   20.970046]  lnet_selftest_init+0x33a/0x4f5:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
[   20.970046]  ? lnet_selftest_exit+0x13e/0x13e:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
[   20.970046]  ? lustre_insert_debugfs+0x150/0x150:
						libcfs_init at drivers/staging/lustre/lnet/libcfs/module.c:531
[   20.970046]  ? lnet_init+0x1df/0x1df:
						ksocklnd_init at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2885
[   20.970046]  ? lnet_selftest_exit+0x13e/0x13e:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
[   20.970046]  do_one_initcall+0x158/0x3ac:
						do_one_initcall at init/main.c:883
[   20.970046]  ? start_kernel+0xbf5/0xbf5:
						do_one_initcall at init/main.c:874
[   20.970046]  kernel_init_freeable+0x2b8/0x434:
						do_initcall_level at init/main.c:951
						 (inlined by) do_initcalls at init/main.c:959
						 (inlined by) do_basic_setup at init/main.c:977
						 (inlined by) kernel_init_freeable at init/main.c:1127
[   20.970046]  ? rest_init+0x1d2/0x1d2:
						kernel_init at init/main.c:1050
[   20.970046]  kernel_init+0x13/0x1ae:
						kernel_init at init/main.c:1053
[   20.970046]  ? rest_init+0x1d2/0x1d2:
						kernel_init at init/main.c:1050
[   20.970046]  ret_from_fork+0x24/0x30:
						ret_from_fork at arch/x86/entry/entry_64.S:418
[   20.970046] ==================================================================
[   20.970046] Disabling lock debugging due to kernel taint
[   21.007543] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a4
[   21.009103] PGD 0 P4D 0
[   21.009432] Oops: 0000 [#1] DEBUG_PAGEALLOC KASAN PTI
[   21.010063] CPU: 0 PID: 1 Comm: swapper Tainted: G    B           T 4.17.0-rc1 #1
[   21.011023] RIP: 0010:cfs_trace_lock_tcd+0x25/0xeb:
						cfs_trace_lock_tcd at drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c:149
[   21.011650] RSP: 0000:ffff880014c87380 EFLAGS: 00010202
[   21.012299] RAX: 0000000000000202 RBX: 0000000000000000 RCX: ffffffff8119215d
[   21.013197] RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000202
[   21.014074] RBP: ffff880014c87398 R08: 0000000000000001 R09: 0000000000000001
[   21.014940] R10: ffffed0002990e5a R11: 0000000000000001 R12: 00000000000000a4
[   21.015818] R13: 0000000000000000 R14: ffff88001402d680 R15: ffff880014c87970
[   21.016634] FS:  0000000000000000(0000) GS:ffffffff842e9000(0000) knlGS:0000000000000000
[   21.016892] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   21.016892] CR2: 00000000000000a4 CR3: 0000000004226000 CR4: 00000000000006f0
[   21.016892] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   21.016892] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   21.016892] Call Trace:
[   21.016892]  libcfs_debug_vmsg2+0x18d/0xd26:
						libcfs_debug_vmsg2 at drivers/staging/lustre/lnet/libcfs/tracefile.c:317
[   21.016892]  ? cfs_trace_get_tage+0x957/0x957:
						libcfs_debug_vmsg2 at drivers/staging/lustre/lnet/libcfs/tracefile.c:293
[   21.016892]  ? mark_lock+0xe9/0xa16:
						mark_lock at kernel/locking/lockdep.c:3121
[   21.016892]  ? fput+0x111/0x11f:
						queue_delayed_work at include/linux/workqueue.h:526
						 (inlined by) schedule_delayed_work at include/linux/workqueue.h:627
						 (inlined by) fput at fs/file_table.c:280
[   21.016892]  ? lnet_ipif_enumerate+0x541/0x588:
						lnet_ipif_enumerate at drivers/staging/lustre/lnet/lnet/lib-socket.c:238
[   21.016892]  ? kasan_slab_free+0x15/0x1e:
						kasan_slab_free at mm/kasan/kasan.c:528
[   21.016892]  ? kfree+0x215/0x2cb:
						slab_free_hook at mm/slub.c:1388
						 (inlined by) slab_free_freelist_hook at mm/slub.c:1415
						 (inlined by) slab_free at mm/slub.c:2988
						 (inlined by) kfree at mm/slub.c:3944
[   21.016892]  libcfs_debug_msg+0x9b/0xc5:
						libcfs_debug_msg at drivers/staging/lustre/lnet/libcfs/tracefile.c:278
[   21.016892]  ? libcfs_debug_vmsg2+0xd26/0xd26:
						libcfs_debug_msg at drivers/staging/lustre/lnet/libcfs/tracefile.c:278
[   21.016892]  ksocknal_startup+0x341/0x1228:
						ksocknal_enumerate_interfaces at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2634
						 (inlined by) ksocknal_startup at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2822
[   21.016892]  ? __asan_loadN+0x1d/0x26
[   21.016892]  ? pvclock_clocksource_read+0x162/0x296:
						pvclock_clocksource_read at arch/x86/kernel/pvclock.c:89
[   21.016892]  ? ksocknal_base_startup+0xbae/0xbae:
						ksocknal_startup at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2796
[   21.016892]  ? pvclock_read_flags+0x5d/0x5d:
						pvclock_clocksource_read at arch/x86/kernel/pvclock.c:79
[   21.016892]  ? kasan_check_read+0x1f/0x28:
						kasan_check_read at mm/kasan/kasan.c:272
[   21.016892]  ? kvm_clock_read+0x24/0x3a:
						kvm_clock_read at arch/x86/kernel/kvmclock.c:89
[   21.016892]  ? kasan_check_write+0x22/0x2b:
						kasan_check_write at mm/kasan/kasan.c:278
[   21.016892]  ? sched_clock_local+0xc8/0xfa
[   21.016892]  ? reacquire_held_locks+0x1cd/0x1cd:
						lock_release at kernel/locking/lockdep.c:3929
[   21.016892]  ? cfs_percpt_lock+0xdf/0x1ad:
						spin_lock at include/linux/spinlock.h:310
						 (inlined by) cfs_percpt_lock at drivers/staging/lustre/lnet/libcfs/libcfs_lock.c:111
[   21.016892]  ? do_raw_spin_unlock+0x100/0x10d:
						arch_spin_unlock at include/linux/spinlock_up.h:48
						 (inlined by) do_raw_spin_unlock at kernel/locking/spinlock_debug.c:135
[   21.016892]  ? _raw_spin_unlock+0x37/0x4e:
						__raw_spin_unlock at include/linux/spinlock_api_smp.h:151
						 (inlined by) _raw_spin_unlock at kernel/locking/spinlock.c:176
[   21.016892]  ? cfs_percpt_unlock+0x66/0x13a:
						spin_unlock at include/linux/spinlock.h:350
						 (inlined by) cfs_percpt_unlock at drivers/staging/lustre/lnet/libcfs/libcfs_lock.c:140
[   21.016892]  lnet_startup_lndni+0x62a/0xf84:
						lnet_startup_lndni at drivers/staging/lustre/lnet/lnet/api-ni.c:1306
[   21.016892]  ? lnet_shutdown_lndni+0xcc/0xcc:
						lnet_startup_lndni at drivers/staging/lustre/lnet/lnet/api-ni.c:1210
[   21.016892]  ? __schedule+0xbff/0xc7f:
						context_switch at kernel/sched/core.c:2851
						 (inlined by) __schedule at kernel/sched/core.c:3490
[   21.016892]  ? firmware_map_remove+0x265/0x265:
						__schedule at kernel/sched/core.c:3401
[   21.016892]  ? kasan_check_read+0x1f/0x28:
						kasan_check_read at mm/kasan/kasan.c:272
[   21.016892]  LNetNIInit+0x5d4/0xbf8:
						lnet_startup_lndnis at drivers/staging/lustre/lnet/lnet/api-ni.c:1385
						 (inlined by) LNetNIInit at drivers/staging/lustre/lnet/lnet/api-ni.c:1543
[   21.016892]  ? lnet_lib_exit+0x147/0x147:
						LNetNIInit at drivers/staging/lustre/lnet/lnet/api-ni.c:1497
[   21.016892]  ? del_timer+0x6d/0xf8:
						del_timer at kernel/time/timer.c:1200
[   21.016892]  ? add_timer_on+0x32b/0x32b:
						del_timer at kernel/time/timer.c:1193
[   21.016892]  ? _raw_spin_unlock_irqrestore+0x74/0x9e:
						__raw_spin_unlock_irqrestore at include/linux/spinlock_api_smp.h:160
						 (inlined by) _raw_spin_unlock_irqrestore at kernel/locking/spinlock.c:184
[   21.016892]  ? trace_hardirqs_on_caller+0x2c8/0x33d:
						trace_hardirqs_on_caller at kernel/locking/lockdep.c:2884
[   21.016892]  ? schedule_timeout+0x82b/0x8a7:
						schedule_timeout at kernel/time/timer.c:1807
[   21.016892]  ? kasan_kmalloc+0x1c5/0x1e1:
						save_stack at mm/kasan/kasan.c:454
						 (inlined by) set_track at mm/kasan/kasan.c:460
						 (inlined by) kasan_kmalloc at mm/kasan/kasan.c:553
[   21.016892]  ? console_conditional_schedule+0x44/0x44:
						schedule_timeout at kernel/time/timer.c:1763
[   21.016892]  ? do_one_initcall+0x158/0x3ac:
						do_one_initcall at init/main.c:883
[   21.016892]  ? kernel_init_freeable+0x2b8/0x434:
						do_initcall_level at init/main.c:951
						 (inlined by) do_initcalls at init/main.c:959
						 (inlined by) do_basic_setup at init/main.c:977
						 (inlined by) kernel_init_freeable at init/main.c:1127
[   21.016892]  ? kernel_init+0x13/0x1ae:
						kernel_init at init/main.c:1053
[   21.016892]  ? ret_from_fork+0x24/0x30:
						ret_from_fork at arch/x86/entry/entry_64.S:418
[   21.016892]  ? __check_object_size+0x8d7/0xa08:
						__check_object_size at mm/usercopy.c:262
[   21.016892]  ? usercopy_abort+0xb7/0xb7:
						__check_object_size at mm/usercopy.c:250
[   21.016892]  ? __lock_is_held+0x39/0xbb:
						__lock_is_held at kernel/locking/lockdep.c:3737 (discriminator 1)
[   21.016892]  ? mark_held_locks+0x2c/0xb2:
						mark_held_locks at kernel/locking/lockdep.c:2795 (discriminator 1)
[   21.016892]  ? debug_check_no_locks_freed+0x237/0x25f:
						debug_check_no_locks_freed at kernel/locking/lockdep.c:4421 (discriminator 2)
[   21.016892]  ? collect_expired_timers+0x23b/0x23b:
						process_timeout at kernel/time/timer.c:1727
[   21.016892]  ? lockdep_init_map+0x10/0x19:
						lockdep_init_map at kernel/locking/lockdep.c:3239
[   21.016892]  srpc_startup+0x136/0x352:
						srpc_startup at drivers/staging/lustre/lnet/selftest/rpc.c:1613
[   21.016892]  ? srpc_shutdown+0x1f0/0x1f0:
						srpc_startup at drivers/staging/lustre/lnet/selftest/rpc.c:1599
[   21.016892]  ? kvmalloc_node+0x6b/0xb6:
						__kmalloc_node at include/linux/slab.h:383
						 (inlined by) kmalloc_node at include/linux/slab.h:554
						 (inlined by) kvmalloc_node at mm/util.c:421
[   21.016892]  lnet_selftest_init+0x33a/0x4f5:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
[   21.016892]  ? lnet_selftest_exit+0x13e/0x13e:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
[   21.016892]  ? lustre_insert_debugfs+0x150/0x150:
						libcfs_init at drivers/staging/lustre/lnet/libcfs/module.c:531
[   21.016892]  ? lnet_init+0x1df/0x1df:
						ksocklnd_init at drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2885
[   21.016892]  ? lnet_selftest_exit+0x13e/0x13e:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
[   21.016892]  do_one_initcall+0x158/0x3ac:
						do_one_initcall at init/main.c:883
[   21.016892]  ? start_kernel+0xbf5/0xbf5:
						do_one_initcall at init/main.c:874
[   21.016892]  kernel_init_freeable+0x2b8/0x434:
						do_initcall_level at init/main.c:951
						 (inlined by) do_initcalls at init/main.c:959
						 (inlined by) do_basic_setup at init/main.c:977
						 (inlined by) kernel_init_freeable at init/main.c:1127
[   21.016892]  ? rest_init+0x1d2/0x1d2:
						kernel_init at init/main.c:1050
[   21.016892]  kernel_init+0x13/0x1ae:
						kernel_init at init/main.c:1053
[   21.016892]  ? rest_init+0x1d2/0x1d2:
						kernel_init at init/main.c:1050
[   21.016892]  ret_from_fork+0x24/0x30:
						ret_from_fork at arch/x86/entry/entry_64.S:418
[   21.016892] Code: d4 05 31 c0 5d c3 55 48 ff 05 2b bf d4 05 48 89 e5 41 55 41 54 4c 8d a7 a4 00 00 00 53 48 89 fb 41 89 f5 4c 89 e7 e8 16 a9 18 ff <66> 83 bb a4 00 00 00 02 76 24 48 c7 c6 20 37 75 85 48 c7 c7 40
[   21.016892] RIP: cfs_trace_lock_tcd+0x25/0xeb:
						cfs_trace_lock_tcd at drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c:149 RSP: ffff880014c87380
[   21.016892] CR2: 00000000000000a4
[   21.016892] ---[ end trace be7ae81fe247d9ae ]---
[   21.016892] Kernel panic - not syncing: Fatal exception

Attached the full dmesg, kconfig and reproduce scripts.

Thanks,
Fengguang

View attachment "dmesg-vm-lkp-hsw01-openwrt-ia32-7:20180417120909:x86_64-randconfig-ws0-03101549:4.17.0-rc1:1" of type "text/plain" (70714 bytes)

View attachment ".config" of type "text/plain" (122497 bytes)

View attachment "job-script" of type "text/plain" (4000 bytes)

View attachment "reproduce-vm-lkp-hsw01-openwrt-ia32-7:20180417120909:x86_64-randconfig-ws0-03101549:4.17.0-rc1:1" of type "text/plain" (1835 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ