====================================== | [ 7.246265] veth2: entered promiscuous mode | [ 13.487084] ------------[ cut here ]------------ | [ 13.487130] kernel BUG at net/core/skbuff.c:2813! | [ 13.487166] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI [ 13.487236] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 13.487297] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 13.487332] Code: 44 24 10 e8 3d 0f 83 ff 49 8b be c0 00 00 00 44 8b 44 24 10 41 8b 8e bc 00 00 00 e9 f4 fc ff ff 4c 8d 48 ff e9 41 fd ff ff 90 <0f> 0b 48 c7 44 24 10 00 00 00 00 e9 99 fe ff ff 41 f6 44 24 7e 20 All code ======== 0: 44 24 10 rex.R and $0x10,%al 3: e8 3d 0f 83 ff call 0xffffffffff830f45 8: 49 8b be c0 00 00 00 mov 0xc0(%r14),%rdi f: 44 8b 44 24 10 mov 0x10(%rsp),%r8d 14: 41 8b 8e bc 00 00 00 mov 0xbc(%r14),%ecx 1b: e9 f4 fc ff ff jmp 0xfffffffffffffd14 20: 4c 8d 48 ff lea -0x1(%rax),%r9 24: e9 41 fd ff ff jmp 0xfffffffffffffd6a 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 c7 44 24 10 00 00 movq $0x0,0x10(%rsp) 33: 00 00 35: e9 99 fe ff ff jmp 0xfffffffffffffed3 3a: 41 f6 44 24 7e 20 testb $0x20,0x7e(%r12) Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 c7 44 24 10 00 00 movq $0x0,0x10(%rsp) 9: 00 00 b: e9 99 fe ff ff jmp 0xfffffffffffffea9 10: 41 f6 44 24 7e 20 testb $0x20,0x7e(%r12) [ 13.487423] RSP: 0018:ffffa549c0114de8 EFLAGS: 00010282 [ 13.487461] RAX: 00000000fffffff2 RBX: 0000000000000008 RCX: 0000000000000008 [ 13.487503] RDX: ffff996a02575b64 RSI: 0000000000000100 RDI: 0000000000000000 [ 13.487545] RBP: ffffa549c0114e28 R08: 0000000037363534 R09: 232221201f1e1d1c [ 13.487588] R10: 2b2a292827262524 R11: 333231302f2e2d2c R12: ffffffffa6ebba80 [ 13.487630] R13: 0000000000000008 R14: ffff996a023b7900 R15: 0000000000000001 [ 13.487668] FS: 00007fc9b0486300(0000) GS:ffff996a3ed00000(0000) knlGS:0000000000000000 [ 13.487710] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 13.487745] CR2: 000000000041aad0 CR3: 000000000129c002 CR4: 0000000000770ef0 [ 13.487788] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 13.487830] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 13.487872] PKRU: 55555554 [ 13.487884] Call Trace: [ 13.487900] [ 13.487918] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 13.487945] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 13.487969] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 13.487993] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 13.488016] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 13.488040] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 13.488064] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 13.488088] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 13.488116] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 13.488139] ? __pskb_pull_tail (net/core/skbuff.c:2813) [ 13.488163] icmp_rcv (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 ./include/linux/skbuff.h:2744 net/ipv4/icmp.c:1216) [ 13.488192] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 5)) [ 13.488228] ip_local_deliver_finish (./include/linux/rcupdate.h:782 net/ipv4/ip_input.c:234) [ 13.488259] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 13.488290] process_backlog (./include/linux/rcupdate.h:782 net/core/dev.c:6053) [ 13.488313] __napi_poll (net/core/dev.c:6703) [ 13.488338] net_rx_action (net/core/dev.c:6774 net/core/dev.c:6886) [ 13.488364] __do_softirq (kernel/softirq.c:553) [ 13.488389] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 13.488416] [ 13.488433] [ 13.488446] __local_bh_enable_ip (kernel/softirq.c:381) [ 13.488470] netif_rx (net/core/dev.c:5197) [ 13.488494] dev_loopback_xmit (net/core/dev.c:3910) [ 13.488518] ip_mc_finish_output (net/ipv4/ip_output.c:363) [ 13.488542] ip_mc_output (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_output.c:406) [ 13.488567] ? __ip_local_out (./include/net/l3mdev.h:203 ./include/net/l3mdev.h:213 net/ipv4/ip_output.c:112) [ 13.488589] ? __ip_make_skb (net/ipv4/ip_output.c:1379 net/ipv4/ip_output.c:1487) [ 13.488613] ip_push_pending_frames (./include/net/dst.h:450 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1496 net/ipv4/ip_output.c:1516) [ 13.488644] raw_sendmsg (net/ipv4/raw.c:648) [ 13.488671] ? __pte_offset_map (./include/linux/pgtable.h:298 ./include/linux/pgtable.h:518 mm/pgtable-generic.c:287) [ 13.488698] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 13.488722] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 13.488748] ? handle_mm_fault (mm/memory.c:5330 mm/memory.c:5486) [ 13.488774] ? do_user_addr_fault (./include/linux/mmap_lock.h:174 arch/x86/mm/fault.c:1434) [ 13.488804] __x64_sys_sendto (net/socket.c:2203 net/socket.c:2199 net/socket.c:2199) [ 13.488828] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 13.488856] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 13.488888] RIP: 0033:0x7fc9b075c85a [ 13.488910] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 23: b8 2c 00 00 00 mov $0x2c,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 13.489002] RSP: 002b:00007ffeba526078 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 13.489044] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007fc9b075c85a [ 13.489086] RDX: 0000000000000040 RSI: 0000000000df5340 RDI: 0000000000000005 [ 13.489128] RBP: 00007ffeba5260d0 R08: 00000000004185e0 R09: 0000000000000010 [ 13.489170] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000054 Finger prints: __pskb_pull_tail:icmp_rcv:ip_protocol_deliver_rcu:ip_local_deliver_finish