====================================== | [ 226.319024][ T71] vx0: left promiscuous mode | [ 226.319353][ T71] br0: port 1(vx0) entered disabled state | [ 226.343050][ T52] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN | [ 226.343252][ T52] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [ 226.343514][ T52] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 226.343625][ T52] Workqueue: mld mld_ifc_work [ 226.343712][ T52] RIP: 0010:mroute6_is_socket (net/ipv6/ip6mr.c:1686 (discriminator 4)) [ 226.343794][ T52] Code: df 48 89 f9 48 c1 e9 03 80 3c 11 00 75 2f 48 8b 80 e8 10 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 78 30 48 89 f9 48 c1 e9 03 <80> 3c 11 00 75 1c 48 83 78 30 00 0f 95 c0 48 83 c4 08 c3 48 89 04 All code ======== 0: df 48 89 fisttps -0x77(%rax) 3: f9 stc 4: 48 c1 e9 03 shr $0x3,%rcx 8: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) c: 75 2f jne 0x3d e: 48 8b 80 e8 10 00 00 mov 0x10e8(%rax),%rax 15: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1c: fc ff df 1f: 48 8d 78 30 lea 0x30(%rax),%rdi 23: 48 89 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx 2a:* 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) <-- trapping instruction 2e: 75 1c jne 0x4c 30: 48 83 78 30 00 cmpq $0x0,0x30(%rax) 35: 0f 95 c0 setne %al 38: 48 83 c4 08 add $0x8,%rsp 3c: c3 ret 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 04 .byte 0x4 Code starting with the faulting instruction =========================================== 0: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) 4: 75 1c jne 0x22 6: 48 83 78 30 00 cmpq $0x0,0x30(%rax) b: 0f 95 c0 setne %al e: 48 83 c4 08 add $0x8,%rsp 12: c3 ret 13: 48 rex.W 14: 89 .byte 0x89 15: 04 .byte 0x4 [ 226.344067][ T52] RSP: 0018:ffa000000038f8b0 EFLAGS: 00010216 [ 226.344163][ T52] RAX: 0000000000000000 RBX: ff110000051531c0 RCX: 0000000000000006 [ 226.344276][ T52] RDX: dffffc0000000000 RSI: ff110000051531c0 RDI: 0000000000000030 [ 226.344392][ T52] RBP: ff11000012b15540 R08: ffffffff9abb8550 R09: 1fe2200001c94935 [ 226.344507][ T52] R10: ff1100000e78a028 R11: ff110000152d20b0 R12: 1ff4000000071f20 [ 226.344629][ T52] R13: ff110000152d2000 R14: ff11000014bf5000 R15: ff1100000e78a010 [ 226.344753][ T52] FS: 0000000000000000(0000) GS:ff110000ce564000(0000) knlGS:0000000000000000 [ 226.344890][ T52] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 226.344989][ T52] CR2: 00007f22a318f8f4 CR3: 000000004a94f001 CR4: 0000000000771ef0 [ 226.345104][ T52] PKRU: 55555554 [ 226.345162][ T52] Call Trace: [ 226.345223][ T52] [ 226.345265][ T52] ip6_finish_output2 (net/ipv6/ip6_output.c:84 (discriminator 3)) [ 226.345344][ T52] ? ip6_xmit (net/ipv6/ip6_output.c:61) [ 226.345420][ T52] ? find_held_lock (kernel/locking/lockdep.c:5350 (discriminator 1)) [ 226.345498][ T52] ? __lock_release.isra.0 (kernel/locking/lockdep.c:5536) [ 226.345581][ T52] ? ip6_mtu (./include/linux/rcupdate.h:322 (discriminator 2) ./include/linux/rcupdate.h:881 (discriminator 2) ./include/net/ip6_route.h:382 (discriminator 2) net/ipv6/route.c:3281 (discriminator 2)) [ 226.345651][ T52] ip6_finish_output (net/ipv6/ip6_output.c:208 net/ipv6/ip6_output.c:219) [ 226.345729][ T52] ip6_output (./include/linux/netfilter.h:307 net/ipv6/ip6_output.c:246) [ 226.345787][ T52] ? ip6_finish_output (net/ipv6/ip6_output.c:227) [ 226.345869][ T52] ? __lock_release.isra.0 (kernel/locking/lockdep.c:5536) [ 226.345946][ T52] ? xfrm_bundle_lookup.constprop.0 (net/xfrm/xfrm_policy.c:3177) [ 226.346042][ T52] ? mark_held_locks (kernel/locking/lockdep.c:4325 (discriminator 1)) [ 226.346120][ T52] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 226.346199][ T52] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 226.346275][ T52] ? icmp6_dst_alloc (net/ipv6/route.c:3357 (discriminator 1)) [ 226.346351][ T52] mld_sendpack (./include/linux/netfilter.h:319 ./include/linux/netfilter.h:312 net/ipv6/mcast.c:1855) [ 226.346426][ T52] ? nf_hook.constprop.0 (net/ipv4/ip_forward.c:66) [ 226.346503][ T52] ? mld_send_cr (net/ipv6/mcast.c:2131 (discriminator 14)) [ 226.346585][ T52] mld_ifc_work (net/ipv6/mcast.c:2695) [ 226.346669][ T52] ? process_one_work (kernel/workqueue.c:3252 (discriminator 2)) [ 226.346748][ T52] process_one_work (kernel/workqueue.c:3281) [ 226.346827][ T52] ? pwq_dec_nr_in_flight (kernel/workqueue.c:3177) [ 226.346904][ T52] ? lock_acquire.part.0 (kernel/locking/lockdep.c:470 (discriminator 2) kernel/locking/lockdep.c:5870 (discriminator 2)) [ 226.346981][ T52] worker_thread (kernel/workqueue.c:3353 (discriminator 5) kernel/workqueue.c:3440 (discriminator 5)) [ 226.347057][ T52] ? rescuer_thread (kernel/workqueue.c:3386) [ 226.347135][ T52] ? __kthread_parkme (./arch/x86/include/asm/bitops.h:202 (discriminator 1) ./arch/x86/include/asm/bitops.h:232 (discriminator 1) ./include/asm-generic/bitops/instrumented-non-atomic.h:142 (discriminator 1) kernel/kthread.c:272 (discriminator 1)) [ 226.347210][ T52] ? rescuer_thread (kernel/workqueue.c:3386) [ 226.347283][ T52] kthread (kernel/kthread.c:436) [ 226.347342][ T52] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40 (discriminator 24)) [ 226.347437][ T52] ? kthread_affine_node (kernel/kthread.c:381) [ 226.347517][ T52] ret_from_fork (arch/x86/kernel/process.c:164) [ 226.347599][ T52] ? arch_exit_to_user_mode_prepare.isra.0 (arch/x86/entry/syscall_64.c:37) [ 226.347699][ T52] ? __switch_to (./arch/x86/include/asm/cpufeature.h:101 (discriminator 1) arch/x86/kernel/process_64.c:377 (discriminator 1) arch/x86/kernel/process_64.c:665 (discriminator 1)) [ 226.347774][ T52] ? kthread_affine_node (kernel/kthread.c:381) Finger prints: mroute6_is_socket:ip6_finish_output2:ip6_finish_output:ip6_output:mld_sendpack