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]
Date:   Wed, 18 Apr 2018 22:15:50 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     James Simmons <jsimmons@...radead.org>
Cc:     Oleg Drokin <oleg.drokin@...el.com>,
        Andreas Dilger <andreas.dilger@...el.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        lustre-devel@...ts.lustre.org, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, lkp@...org,
        Denis Petrovic <denis.petrovic@....ece.fr>
Subject: [lnet_res_container_setup] BUG: unable to handle kernel paging
 request at 08000664

Hi James,

Here the .config has SMP set.

FYI this happens in mainline kernel 4.17.0-rc1.
It looks like a new regression.

It occurs in 4 out of 5 boots.

[    6.872036] usbhid: USB HID core driver
[    6.872383] NET: Registered protocol family 4
[    6.872889] no options.
[    6.874165] LNet: HW nodes: 1, HW CPU cores: 1, npartitions: 1
[    6.874688] LNetError: 1:0:(module.c:546:libcfs_init()) misc_register: error -16
[    7.893425] BUG: unable to handle kernel paging request at 08000664
[    7.893989] *pde = 00000000
[    7.894251] Oops: 0000 [#1] SMP
[    7.894528] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G S                4.17.0-rc1 #198
[    7.895196] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    7.895924] EIP: cfs_cpt_spread_node+0x5c/0x115:
						bitmap_weight at include/linux/bitmap.h:360
						 (inlined by) __nodes_weight at include/linux/nodemask.h:240
						 (inlined by) cfs_cpt_spread_node at drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c:498
[    7.896320] EFLAGS: 00210202 CPU: 0
[    7.896625] EAX: d6c31320 EBX: 00000001 ECX: 00000001 EDX: 00000000
[    7.896678] ESI: 08000664 EDI: 00000000 EBP: c7ea3e88 ESP: c7ea3e78
[    7.896678]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    7.896678] CR0: 80050033 CR2: 08000664 CR3: 05380000 CR4: 00000690
[    7.896678] Call Trace:
[    7.896678]  lnet_res_container_setup+0x9a/0x210:
						lnet_res_container_setup at drivers/staging/lustre/lnet/lnet/api-ni.c:426
[    7.896678]  LNetNIInit+0x701/0xdef:
						lnet_prepare at drivers/staging/lustre/lnet/lnet/api-ni.c:577
						 (inlined by) LNetNIInit at drivers/staging/lustre/lnet/lnet/api-ni.c:1517
[    7.896678]  ? ktime_get_real_seconds+0xe3/0xf9:
						ktime_get_real_seconds at kernel/time/timekeeping.c:938
[    7.896678]  srpc_startup+0x8b/0x413:
						srpc_startup at drivers/staging/lustre/lnet/selftest/rpc.c:1613
[    7.896678]  lnet_selftest_init+0x3de/0x78c:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:134
[    7.896678]  do_one_initcall+0x1a2/0x410:
						do_one_initcall at init/main.c:883
[    7.896678]  ? lnet_selftest_exit+0xa8/0xa8:
						lnet_selftest_init at drivers/staging/lustre/lnet/selftest/module.c:90
[    7.896678]  ? parse_args+0x94/0x3b6:
						parse_args at kernel/params.c:180 (discriminator 8)
[    7.896678]  kernel_init_freeable+0x3b3/0x488:
						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
[    7.896678]  ? rest_init+0x11b/0x11b:
						kernel_init at init/main.c:1050
[    7.896678]  kernel_init+0xd/0x15f:
						kernel_init at init/main.c:1055
[    7.896678]  ret_from_fork+0x2e/0x40:
						ret_from_fork at arch/x86/entry/entry_32.S:311
[    7.896678] Code: c4 74 11 8b 50 04 8b 70 18 89 55 f0 8d 4a 01 89 48 04 eb 17 6b d2 0c 03 50 0c 89 d1 8b 42 08 8b 72 04 89 45 f0 8d 50 01 89 51 08 <8b> 06 6a 00 83 e0 01 e8 5c 82 d7 fe 89 c3 31 c0 85 db 0f 9e c0
[    7.896678] EIP: cfs_cpt_spread_node+0x5c/0x115:
						bitmap_weight at include/linux/bitmap.h:360
						 (inlined by) __nodes_weight at include/linux/nodemask.h:240
						 (inlined by) cfs_cpt_spread_node at drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c:498 SS:ESP: 0068:c7ea3e78
[    7.896678] CR2: 0000000008000664
[    7.896678] ---[ end trace 5246465f75f74727 ]---
[    7.896678] Kernel panic - not syncing: Fatal exception

Attached the full dmesg, kconfig and reproduce scripts.

Thanks,
Fengguang

View attachment "dmesg-vm-lkp-nhm-dp2-yocto-ia32-6:20180418050635:i386-randconfig-c0-04180358:4.17.0-rc1:198" of type "text/plain" (58372 bytes)

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

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

View attachment "reproduce-vm-lkp-nhm-dp2-yocto-ia32-6:20180418050635:i386-randconfig-c0-04180358:4.17.0-rc1:198" of type "text/plain" (1905 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ