====================================== | [ 843.360572][T12610] ping (12610) used greatest stack depth: 23216 bytes left | [ 853.277266][T12929] ip6_gre: GRE over IPv6 tunneling driver | [ 857.648411][ T63] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN | [ 857.648639][ T63] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [ 857.648903][ T63] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 857.649006][ T63] Workqueue: mld mld_ifc_work [ 857.649090][ T63] RIP: 0010:mroute6_is_socket (net/ipv6/ip6mr.c:1686 (discriminator 4)) [ 857.649172][ T63] 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 [ 857.649439][ T63] RSP: 0018:ffa00000004478b0 EFLAGS: 00010216 [ 857.649533][ T63] RAX: 0000000000000000 RBX: ff1100000e2ae200 RCX: 0000000000000006 [ 857.649645][ T63] RDX: dffffc0000000000 RSI: ff1100000e2ae200 RDI: 0000000000000030 [ 857.649755][ T63] RBP: ff110000077d0900 R08: ffffffffa63b8550 R09: 1fe2200002937e85 [ 857.649863][ T63] R10: ff11000010736898 R11: ff11000008ab40b0 R12: 1ff4000000088f20 [ 857.649974][ T63] R13: ff11000008ab4000 R14: ff11000008c78800 R15: ff11000010736880 [ 857.650083][ T63] FS: 0000000000000000(0000) GS:ff110000c2de4000(0000) knlGS:0000000000000000 [ 857.650213][ T63] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 857.650307][ T63] CR2: 00007f1dc25d2574 CR3: 000000001c74f002 CR4: 0000000000771ef0 [ 857.650421][ T63] PKRU: 55555554 [ 857.650480][ T63] Call Trace: [ 857.650536][ T63] [ 857.650575][ T63] ip6_finish_output2 (net/ipv6/ip6_output.c:84 (discriminator 3)) [ 857.650653][ T63] ? ip6_xmit (net/ipv6/ip6_output.c:61) [ 857.650724][ T63] ? find_held_lock (kernel/locking/lockdep.c:5350 (discriminator 1)) [ 857.650800][ T63] ? __lock_release.isra.0 (kernel/locking/lockdep.c:5536) [ 857.650873][ T63] ? 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)) [ 857.650929][ T63] ip6_finish_output (net/ipv6/ip6_output.c:208 net/ipv6/ip6_output.c:219) [ 857.651002][ T63] ip6_output (./include/linux/netfilter.h:307 net/ipv6/ip6_output.c:246) [ 857.651056][ T63] ? ip6_finish_output (net/ipv6/ip6_output.c:227) [ 857.651128][ T63] ? __lock_release.isra.0 (kernel/locking/lockdep.c:5536) [ 857.651201][ T63] ? xfrm_bundle_lookup.constprop.0 (net/xfrm/xfrm_policy.c:3177) [ 857.651296][ T63] ? mark_held_locks (kernel/locking/lockdep.c:4325 (discriminator 1)) [ 857.651369][ T63] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 857.651443][ T63] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 857.651516][ T63] ? icmp6_dst_alloc (net/ipv6/route.c:3357 (discriminator 1)) [ 857.651589][ T63] mld_sendpack (./include/linux/netfilter.h:319 ./include/linux/netfilter.h:312 net/ipv6/mcast.c:1855) [ 857.651661][ T63] ? nf_hook.constprop.0 (net/ipv4/ip_forward.c:66) [ 857.651734][ T63] ? mld_send_cr (net/ipv6/mcast.c:2131 (discriminator 14)) [ 857.651808][ T63] mld_ifc_work (net/ipv6/mcast.c:2695) [ 857.651880][ T63] ? process_one_work (kernel/workqueue.c:3252 (discriminator 2)) [ 857.651954][ T63] process_one_work (kernel/workqueue.c:3281) [ 857.652028][ T63] ? pwq_dec_nr_in_flight (kernel/workqueue.c:3177) [ 857.652100][ T63] ? lock_acquire.part.0 (kernel/locking/lockdep.c:470 (discriminator 2) kernel/locking/lockdep.c:5870 (discriminator 2)) [ 857.652172][ T63] worker_thread (kernel/workqueue.c:3353 (discriminator 5) kernel/workqueue.c:3440 (discriminator 5)) [ 857.652244][ T63] ? rescuer_thread (kernel/workqueue.c:3386) [ 857.652318][ T63] ? __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)) [ 857.652391][ T63] ? rescuer_thread (kernel/workqueue.c:3386) [ 857.652495][ T63] kthread (kernel/kthread.c:436) [ 857.652550][ T63] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40 (discriminator 24)) [ 857.652641][ T63] ? kthread_affine_node (kernel/kthread.c:381) [ 857.652714][ T63] ret_from_fork (arch/x86/kernel/process.c:164) [ 857.652787][ T63] ? arch_exit_to_user_mode_prepare.isra.0 (arch/x86/entry/syscall_64.c:37) [ 857.652877][ T63] ? __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)) [ 857.652952][ T63] ? kthread_affine_node (kernel/kthread.c:381) Finger prints: mroute6_is_socket:ip6_finish_output2:ip6_finish_output:ip6_output:mld_sendpack