FYI, we noticed the following commit: commit: 46738b1317e169b281ad74690276916e24d1be6d ("ipv6: sr: add option to control lwtunnel support") https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G caused below changes: +--------------------------------------------+------------+------------+ | | 21b23daeba | 46738b1317 | +--------------------------------------------+------------+------------+ | boot_successes | 18 | 15 | | boot_failures | 20 | 23 | | BUG:unable_to_handle_kernel | 20 | | | Oops | 20 | | | RIP:seg6_hmac_init | 20 | | | calltrace:inet6_init | 20 | 23 | | calltrace:SyS_finit_module | 4 | 4 | | Kernel_panic-not_syncing:Fatal_exception | 20 | | | calltrace:SyS_init_module | 16 | 19 | | BUG:using_smp_processor_id()in_preemptible | 0 | 23 | +--------------------------------------------+------------+------------+ [ 20.408428] Freeing unused kernel memory: 856K (ffff880001b2a000 - ffff880001c00000) [ 20.428980] systemd[1]: RTC configured in localtime, applying delta of 480 minutes to system time. [ 20.437853] NET: Registered protocol family 10 [ 20.451460] BUG: using smp_processor_id() in preemptible [00000000] code: systemd/1 [ 20.452556] caller is debug_smp_processor_id+0x17/0x19 [ 20.453304] CPU: 0 PID: 1 Comm: systemd Not tainted 4.9.0-rc5-00973-g46738b1 #1 [ 20.454406] ffffc9000062fc18 ffffffff813607b2 0000000000000000 ffffffff81a7f782 [ 20.455528] ffffc9000062fc48 ffffffff813778dc 0000000000000000 00000000001dcf98 [ 20.456539] ffffffffa003bd08 ffffffff81af93e0 ffffc9000062fc58 ffffffff81377905 [ 20.456539] Call Trace: [ 20.456539] [] dump_stack+0x63/0x7f [ 20.456539] [] check_preemption_disabled+0xd1/0xe3 [ 20.456539] [] debug_smp_processor_id+0x17/0x19 [ 20.460260] [] seg6_hmac_init+0xfa/0x192 [ipv6] [ 20.460260] [] seg6_init+0x39/0x6f [ipv6] [ 20.460260] [] inet6_init+0x21a/0x321 [ipv6] [ 20.460260] [] ? 0xffffffffa0061000 [ 20.460260] [] do_one_initcall+0x8b/0x115 [ 20.460260] [] do_init_module+0x53/0x1c4 [ 20.460260] [] load_module+0x1153/0x14ec [ 20.460260] [] SYSC_finit_module+0x8c/0xb9 [ 20.460260] [] ? SYSC_finit_module+0x8c/0xb9 [ 20.460260] [] SyS_finit_module+0x9/0xb [ 20.460260] [] do_syscall_64+0x62/0x75 [ 20.460260] [] entry_SYSCALL64_slow_path+0x25/0x25 [ 20.478528] BUG: using smp_processor_id() in preemptible [00000000] code: systemd/1 [ 20.480146] caller is debug_smp_processor_id+0x17/0x19 [ 20.481247] CPU: 0 PID: 1 Comm: systemd Not tainted 4.9.0-rc5-00973-g46738b1 #1 [ 20.482755] ffffc9000062fc18 ffffffff813607b2 0000000000000000 ffffffff81a7f782 [ 20.484131] ffffc9000062fc48 ffffffff813778dc 0000000000000058 00000000001dcfa0 [ 20.484131] ffffffffa003bd08 ffffffff81af93e0 ffffc9000062fc58 ffffffff81377905 [ 20.484131] Call Trace: [ 20.484131] [] dump_stack+0x63/0x7f [ 20.484131] [] check_preemption_disabled+0xd1/0xe3 [ 20.484131] [] debug_smp_processor_id+0x17/0x19 [ 20.484131] [] seg6_hmac_init+0xfa/0x192 [ipv6] [ 20.484131] [] seg6_init+0x39/0x6f [ipv6] [ 20.484131] [] inet6_init+0x21a/0x321 [ipv6] [ 20.484131] [] ? 0xffffffffa0061000 [ 20.484131] [] do_one_initcall+0x8b/0x115 [ 20.484131] [] do_init_module+0x53/0x1c4 [ 20.484131] [] load_module+0x1153/0x14ec [ 20.484131] [] SYSC_finit_module+0x8c/0xb9 [ 20.484131] [] ? SYSC_finit_module+0x8c/0xb9 [ 20.484131] [] SyS_finit_module+0x9/0xb [ 20.484131] [] do_syscall_64+0x62/0x75 [ 20.484131] [] entry_SYSCALL64_slow_path+0x25/0x25 [ 20.506669] Segment Routing with IPv6 [ 20.521279] random: systemd: uninitialized urandom read (16 bytes read) To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong