======================================
|
| [ 134.663376][ C1] ------------[ cut here ]------------
| [ 134.663824][ C1] kernel BUG at net/core/skbuff.c:3605!
| [ 134.664051][ C1] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 134.664526][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 134.664909][ C1] RIP: 0010:skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.665135][ C1] Code: 89 c4 0f 84 70 fe ff ff 45 01 f7 48 01 dd 44 89 7c 24 0c e9 92 fa ff ff 90 0f 0b 90 e9 e2 fe ff ff 41 89 c4 e9 4f fe ff ff 90 <0f> 0b 48 c7 c7 c0 d2 e9 87 89 44 24 40 48 89 74 24 38 e8 68 60 8d
All code
========
0: 89 c4 mov %eax,%esp
2: 0f 84 70 fe ff ff je 0xfffffffffffffe78
8: 45 01 f7 add %r14d,%r15d
b: 48 01 dd add %rbx,%rbp
e: 44 89 7c 24 0c mov %r15d,0xc(%rsp)
13: e9 92 fa ff ff jmp 0xfffffffffffffaaa
18: 90 nop
19: 0f 0b ud2
1b: 90 nop
1c: e9 e2 fe ff ff jmp 0xffffffffffffff03
21: 41 89 c4 mov %eax,%r12d
24: e9 4f fe ff ff jmp 0xfffffffffffffe78
29: 90 nop
2a:* 0f 0b ud2 <-- trapping instruction
2c: 48 c7 c7 c0 d2 e9 87 mov $0xffffffff87e9d2c0,%rdi
33: 89 44 24 40 mov %eax,0x40(%rsp)
37: 48 89 74 24 38 mov %rsi,0x38(%rsp)
3c: e8 .byte 0xe8
3d: 68 .byte 0x68
3e: 60 (bad)
3f: 8d .byte 0x8d
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 48 c7 c7 c0 d2 e9 87 mov $0xffffffff87e9d2c0,%rdi
9: 89 44 24 40 mov %eax,0x40(%rsp)
d: 48 89 74 24 38 mov %rsi,0x38(%rsp)
12: e8 .byte 0xe8
13: 68 .byte 0x68
14: 60 (bad)
15: 8d .byte 0x8d
[ 134.665734][ C1] RSP: 0018:ffffc900001c83f8 EFLAGS: 00010206
[ 134.665948][ C1] RAX: 000000000000005a RBX: 0000000000000000 RCX: 1ffff11000c82ea9
[ 134.666207][ C1] RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffff888006417548
[ 134.666464][ C1] RBP: ffff888006416e08 R08: 000000000000001c R09: 0100007f1ece1140
[ 134.666715][ C1] R10: 0100007f0100007f R11: 75fe620035009dcb R12: 000000000000aaca
[ 134.666972][ C1] R13: 0000000000000008 R14: 000000000000001c R15: 0000000000000008
[ 134.667226][ C1] FS: 00007f6c7c2a9f00(0000) GS:ffff88802f680000(0000) knlGS:0000000000000000
[ 134.667526][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 134.667740][ C1] CR2: 00007f6c7c506d60 CR3: 0000000005c5c002 CR4: 0000000000770ef0
[ 134.667998][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 134.668251][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 134.668504][ C1] PKRU: 55555554
[ 134.668635][ C1] Call Trace:
[ 134.668766][ C1]
[ 134.668854][ C1] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 134.668987][ C1] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 134.669116][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.669286][ C1] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 134.669459][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.669627][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.669795][ C1] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 134.669962][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.670129][ C1] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 134.670301][ C1] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 134.670478][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 134.670648][ C1] ? skb_copy_and_csum_bits (net/core/skbuff.c:3540)
[ 134.670816][ C1] ? icmp_push_reply (net/ipv4/icmp.c:370)
[ 134.670990][ C1] ? __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118))
[ 134.671159][ C1] ? __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 134.671370][ C1] ? process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 134.671540][ C1] ? __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 134.671711][ C1] ? net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 134.671881][ C1] icmp_glue_bits (net/ipv4/icmp.c:357)
[ 134.672054][ C1] __ip_append_data (net/ipv4/ip_output.c:1166 (discriminator 1))
[ 134.672224][ C1] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349)
[ 134.672397][ C1] ? __create_object (mm/kmemleak.c:756)
[ 134.672570][ C1] ? __pfx___ip_append_data (net/ipv4/ip_output.c:960)
[ 134.672742][ C1] ? kasan_save_track (./arch/x86/include/asm/current.h:42 mm/kasan/common.c:60 mm/kasan/common.c:69)
[ 134.672917][ C1] ? __kasan_kmalloc (mm/kasan/common.c:391)
[ 134.673090][ C1] ? __pfx_icmp_glue_bits (net/ipv4/icmp.c:349)
[ 134.673260][ C1] ip_append_data (net/ipv4/ip_output.c:1368 net/ipv4/ip_output.c:1347)
[ 134.673430][ C1] icmp_push_reply (net/ipv4/icmp.c:370)
[ 134.673601][ C1] __icmp_send (./include/net/route.h:249 net/ipv4/icmp.c:772)
[ 134.673770][ C1] ? __pfx___icmp_send (net/ipv4/icmp.c:589)
[ 134.673941][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 134.674111][ C1] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228)
[ 134.674285][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 134.674462][ C1] ? __udp4_lib_lookup (net/ipv4/udp.c:513)
[ 134.674637][ C1] ? __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118))
[ 134.674811][ C1] __udp4_lib_rcv (net/ipv4/udp.c:2441 (discriminator 118))
[ 134.674978][ C1] ? __pfx___udp4_lib_rcv (net/ipv4/udp.c:2363)
[ 134.675144][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 134.675315][ C1] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 4))
[ 134.675483][ C1] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 134.675655][ C1] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254)
[ 134.675824][ C1] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243)
[ 134.675997][ C1] ? ip_rcv_finish_core.constprop.0 (./include/net/net_namespace.h:383 ./include/linux/netdevice.h:2654 net/ipv4/ip_input.c:372)
[ 134.676207][ C1] 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)
[ 134.676333][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 134.676502][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 134.676668][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 134.676936][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 134.677101][ C1] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 134.677313][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 134.677520][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 134.677877][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 134.678045][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 134.678212][ C1] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 134.678381][ C1] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 134.678661][ C1] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 134.678831][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 134.679005][ C1] __do_softirq (kernel/softirq.c:553)
[ 134.679174][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 134.679345][ C1] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 134.679475][ C1]
[ 134.679561][ C1]
[ 134.679646][ C1] __local_bh_enable_ip (kernel/softirq.c:381)
[ 134.679813][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 134.679980][ C1] __dev_queue_xmit (net/core/dev.c:4400)
[ 134.680150][ C1] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209)
[ 134.680317][ C1] ? eth_header (net/ethernet/eth.c:100)
[ 134.680485][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281)
[ 134.680650][ C1] ? neigh_resolve_output (./include/linux/netdevice.h:3226 net/core/neighbour.c:1558 net/core/neighbour.c:1543)
[ 134.680915][ C1] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235)
[ 134.681082][ C1] ? kfree (./include/trace/events/kmem.h:94 mm/slub.c:4396)
[ 134.681208][ C1] ? ip_select_ident_segs (./arch/x86/include/asm/atomic.h:85 ./include/linux/atomic/atomic-arch-fallback.h:564 ./include/linux/atomic/atomic-instrumented.h:124 ./include/net/ip.h:561)
[ 134.681374][ C1] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 134.681642][ C1] ? __ip_finish_output (./include/linux/skbuff.h:1624 ./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295)
[ 134.681809][ C1] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433)
[ 134.681935][ C1] ? __ip_local_out (net/ipv4/ip_output.c:96 net/ipv4/ip_output.c:107)
[ 134.682103][ C1] ? __pfx_ip_output (net/ipv4/ip_output.c:427)
[ 134.682270][ C1] ? ip_make_skb (net/ipv4/ip_output.c:1570)
[ 134.682532][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 134.682702][ C1] ? __pfx_ip_make_skb (net/ipv4/ip_output.c:1546)
[ 134.682870][ C1] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 134.683037][ C1] ip_send_skb (./include/net/dst.h:450 net/ipv4/ip_output.c:129 net/ipv4/ip_output.c:1496)
[ 134.683209][ C1] udp_send_skb (net/ipv4/udp.c:963)
[ 134.683378][ C1] udp_sendmsg (net/ipv4/udp.c:1250)
[ 134.683546][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 134.683715][ C1] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935)
[ 134.683885][ C1] ? __pfx_udp_sendmsg (net/ipv4/udp.c:1039)
[ 134.684055][ C1] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228)
[ 134.684225][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 134.684393][ C1] ? release_sock (net/core/sock.c:3549)
[ 134.684562][ C1] ? reacquire_held_locks (kernel/locking/lockdep.c:5279)
[ 134.684836][ C1] ? release_sock (net/core/sock.c:3549)
[ 134.685006][ C1] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 134.685178][ C1] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 134.685347][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191)
[ 134.685619][ C1] ? __pfx___sys_sendto (net/socket.c:2161)
[ 134.685788][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 134.685959][ C1] ? ip4_datagram_connect (net/ipv4/datagram.c:93)
[ 134.686127][ C1] ? __sys_connect (net/socket.c:2048 net/socket.c:2065)
[ 134.686297][ C1] ? __pfx___sys_connect (net/socket.c:2055)
[ 134.686465][ C1] ? __pfx___sys_setsockopt (net/socket.c:2324)
[ 134.686635][ C1] ? __x64_sys_poll (fs/select.c:1082 fs/select.c:1068 fs/select.c:1068)
[ 134.686801][ C1] ? __pfx___x64_sys_poll (fs/select.c:1068)
[ 134.687061][ C1] ? __pfx_task_work_run (kernel/task_work.c:148)
[ 134.687229][ C1] __x64_sys_sendto (net/socket.c:2199)
[ 134.687396][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 134.687601][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 134.687866][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 134.688075][ C1] RIP: 0033:0x7f6c7c4e2700
[ 134.688251][ C1] Code: ff ff 64 89 02 eb bd 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20
All code
========
0: ff (bad)
1: ff 64 89 02 jmp *0x2(%rcx,%rcx,4)
5: eb bd jmp 0xffffffffffffffc4
7: 0f 1f 00 nopl (%rax)
a: f3 0f 1e fa endbr64
e: 41 89 ca mov %ecx,%r10d
11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
18: 00
19: 85 c0 test %eax,%eax
1b: 75 1d jne 0x3a
1d: 45 31 c9 xor %r9d,%r9d
20: 45 31 c0 xor %r8d,%r8d
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 68 ja 0x9a
32: c3 ret
33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
3a: 41 54 push %r12
3c: 48 83 ec 20 sub $0x20,%rsp
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 68 ja 0x70
8: c3 ret
9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
10: 41 54 push %r12
12: 48 83 ec 20 sub $0x20,%rsp
[ 134.688945][ C1] RSP: 002b:00007ffdda6ae7a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[ 134.689202][ C1] RAX: ffffffffffffffda RBX: 000000000000005a RCX: 00007f6c7c4e2700
[ 134.689559][ C1] RDX: 000000000000005a RSI: 00007ffdda6aeb30 RDI: 0000000000000008
[ 134.689809][ C1] RBP: 0000000007c5cf37 R08: 0000000000000000 R09: 0000000000000000
[ 134.690060][ C1] R10: 0000000000004000 R11: 0000000000000246 R12: 00007ffdda6ae8a0
Finger prints:
skb_copy_and_csum_bits:icmp_glue_bits:__ip_append_data:ip_append_data