====================================== | [ 32.945817][ T50] br1: port 3(veth2) entered forwarding state | [ 35.235202][ C3] ------------[ cut here ]------------ | [ 35.235518][ C3] kernel BUG at net/core/skbuff.c:3505! | [ 35.235727][ C3] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 35.236183][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.236553][ C3] RIP: 0010:__skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.236724][ C3] Code: 44 89 14 24 ff d0 0f 1f 00 4c 8b 44 24 08 44 8b 14 24 41 89 c1 eb a5 89 e8 e9 2d fe ff ff 41 ff d5 0f 1f 00 e9 1f fa ff ff 90 <0f> 0b 48 8b 7c 24 10 89 54 24 48 48 89 44 24 40 e8 17 a6 91 fe 8b All code ======== 0: 44 89 14 24 mov %r10d,(%rsp) 4: ff d0 call *%rax 6: 0f 1f 00 nopl (%rax) 9: 4c 8b 44 24 08 mov 0x8(%rsp),%r8 e: 44 8b 14 24 mov (%rsp),%r10d 12: 41 89 c1 mov %eax,%r9d 15: eb a5 jmp 0xffffffffffffffbc 17: 89 e8 mov %ebp,%eax 19: e9 2d fe ff ff jmp 0xfffffffffffffe4b 1e: 41 ff d5 call *%r13 21: 0f 1f 00 nopl (%rax) 24: e9 1f fa ff ff jmp 0xfffffffffffffa48 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 31: 89 54 24 48 mov %edx,0x48(%rsp) 35: 48 89 44 24 40 mov %rax,0x40(%rsp) 3a: e8 17 a6 91 fe call 0xfffffffffe91a656 3f: 8b .byte 0x8b Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 7: 89 54 24 48 mov %edx,0x48(%rsp) b: 48 89 44 24 40 mov %rax,0x40(%rsp) 10: e8 17 a6 91 fe call 0xfffffffffe91a62c 15: 8b .byte 0x8b [ 35.237288][ C3] RSP: 0018:ffffc90000278910 EFLAGS: 00010202 [ 35.237494][ C3] RAX: 000000000000f270 RBX: 0000000000000008 RCX: 1ffff11005e8ba99 [ 35.237743][ C3] RDX: 000000000000007a RSI: dffffc0000000000 RDI: ffff88802f45d4c8 [ 35.237990][ C3] RBP: 000000000000f270 R08: 0000000000000008 R09: fffffbfff425c5ea [ 35.238236][ C3] R10: ffffffffa12e2f57 R11: dffffc0000000000 R12: 0000000000000008 [ 35.238476][ C3] R13: 0000000000000000 R14: ffffc900002789d0 R15: ffff888009cb9b08 [ 35.238721][ C3] FS: 0000000000000000(0000) GS:ffff888036180000(0000) knlGS:0000000000000000 [ 35.239001][ C3] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.239204][ C3] CR2: 00007fcae9589270 CR3: 0000000006534001 CR4: 0000000000770ef0 [ 35.239447][ C3] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 35.239697][ C3] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 35.239937][ C3] PKRU: 55555554 [ 35.240059][ C3] Call Trace: [ 35.240182][ C3] [ 35.240262][ C3] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 35.240388][ C3] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 35.240512][ C3] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.240677][ C3] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 35.240842][ C3] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.241002][ C3] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.241168][ C3] ? handle_invalid_op (arch/x86/kernel/traps.c:213) [ 35.241331][ C3] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.241488][ C3] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 35.241651][ C3] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 35.241817][ C3] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 35.241981][ C3] __skb_checksum_complete (net/core/skbuff.c:3643) [ 35.242144][ C3] ? __pfx___skb_checksum_complete (net/core/skbuff.c:3637) [ 35.242355][ C3] ? __pfx_csum_partial_ext (./include/net/checksum.h:120) [ 35.242514][ C3] ? __pfx_csum_block_add_ext (./include/net/checksum.h:103) [ 35.242680][ C3] icmp_rcv (./include/linux/skbuff.h:4567 net/ipv4/icmp.c:1213) [ 35.242808][ C3] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 5)) [ 35.242967][ C3] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234) [ 35.243125][ C3] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254) [ 35.243282][ C3] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243) [ 35.243444][ C3] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1136 ./include/linux/skbuff.h:1188 net/ipv4/ip_input.c:390) [ 35.243642][ C3] ip_rcv (./include/net/dst.h:460 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 35.243764][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 35.243923][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 35.244082][ C3] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 35.244242][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 35.244401][ C3] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 35.244599][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603) [ 35.244798][ C3] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 35.244955][ C3] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 35.245125][ C3] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053) [ 35.245288][ C3] __napi_poll.constprop.0 (net/core/dev.c:6703) [ 35.245447][ C3] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886) [ 35.245606][ C3] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 35.245726][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 35.245883][ C3] ? hlock_class (kernel/locking/lockdep.c:223) [ 35.246044][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 35.246205][ C3] __do_softirq (kernel/softirq.c:553) [ 35.246367][ C3] irq_exit_rcu (kernel/softirq.c:427 kernel/softirq.c:632 kernel/softirq.c:644) [ 35.246487][ C3] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1076 (discriminator 14)) [ 35.246646][ C3] [ 35.246727][ C3] [ 35.246808][ C3] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:649) [ 35.247008][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 35.247212][ C3] Code: 10 e8 f1 92 a3 fd 48 89 ef e8 19 ff a3 fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d 15 25 99 60 <74> 0e 5b 5d c3 cc cc cc cc e8 3f bb c5 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: f1 int1 3: 92 xchg %eax,%edx 4: a3 fd 48 89 ef e8 19 movabs %eax,0xa3ff19e8ef8948fd b: ff a3 d: fd std e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d 15 25 99 60 decl %gs:0x60992515(%rip) # 0x6099253f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 3f bb c5 fd call 0xfffffffffdc5bb77 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 3f bb c5 fd call 0xfffffffffdc5bb4d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 35.247776][ C3] RSP: 0018:ffffc900006ffc98 EFLAGS: 00000286 [ 35.247977][ C3] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff4516bfe [ 35.248213][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9f6a8dc1 [ 35.248451][ C3] RBP: ffff888001041080 R08: 0000000000000001 R09: fffffbfff4514a71 [ 35.248688][ C3] R10: ffffffffa28a538f R11: 0000000000001000 R12: ffff8880063e9000 [ 35.248932][ C3] R13: 0000000000000000 R14: ffffc900006ffce8 R15: ffff888007a14000 [ 35.249187][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 35.249388][ C3] qlist_free_all (mm/kasan/quarantine.c:174) [ 35.249559][ C3] kasan_quarantine_reduce (./include/linux/srcu.h:285 mm/kasan/quarantine.c:287) [ 35.249725][ C3] __kasan_slab_alloc (mm/kasan/common.c:322) [ 35.249886][ C3] kmem_cache_alloc (./include/linux/kasan.h:201 mm/slub.c:3813 mm/slub.c:3860 mm/slub.c:3867) [ 35.250047][ C3] getname_flags (fs/namei.c:140) [ 35.250212][ C3] vfs_fstatat (fs/stat.c:304) [ 35.250334][ C3] __do_sys_newfstatat (fs/stat.c:469) [ 35.250493][ C3] ? __pfx___do_sys_newfstatat (fs/stat.c:464) [ 35.250651][ C3] ? __x64_sys_openat (fs/open.c:1430) [ 35.250813][ C3] ? __pfx___x64_sys_openat (fs/open.c:1430) [ 35.250973][ C3] ? __pfx_do_faccessat (fs/open.c:463) [ 35.251146][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 35.251347][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 35.251510][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 35.251711][ C3] RIP: 0033:0x7fcae95b6eae [ 35.251880][ C3] Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 07 00 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 0b 31 c0 c3 0f 1f 84 00 00 00 00 00 f7 d8 89 05 All code ======== 0: 48 89 f2 mov %rsi,%rdx 3: b9 00 01 00 00 mov $0x100,%ecx 8: 48 89 fe mov %rdi,%rsi b: bf 9c ff ff ff mov $0xffffff9c,%edi 10: e9 07 00 00 00 jmp 0x1c 15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1c: f3 0f 1e fa endbr64 20: 41 89 ca mov %ecx,%r10d 23: b8 06 01 00 00 mov $0x106,%eax 28: 0f 05 syscall 2a:* 3d 00 f0 ff ff cmp $0xfffff000,%eax <-- trapping instruction 2f: 77 0b ja 0x3c 31: 31 c0 xor %eax,%eax 33: c3 ret 34: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 3b: 00 3c: f7 d8 neg %eax 3e: 89 .byte 0x89 3f: 05 .byte 0x5 Code starting with the faulting instruction =========================================== 0: 3d 00 f0 ff ff cmp $0xfffff000,%eax 5: 77 0b ja 0x12 7: 31 c0 xor %eax,%eax 9: c3 ret a: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 11: 00 12: f7 d8 neg %eax 14: 89 .byte 0x89 15: 05 .byte 0x5 [ 35.252442][ C3] RSP: 002b:00007fff8a005568 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 [ 35.252681][ C3] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fcae95b6eae [ 35.252924][ C3] RDX: 00007fff8a005640 RSI: 00007fff8a005570 RDI: 00000000ffffff9c [ 35.253173][ C3] RBP: 00007fff8a005700 R08: 00000000ffffffff R09: 00007fff8a005570 [ 35.253412][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff8a005577 Finger prints: __skb_checksum:__skb_checksum_complete:icmp_rcv:ip_protocol_deliver_rcu