====================================== | [ 24.138035][ T329] ip_gre: GRE over IPv4 tunneling driver | [ 24.203380][ T328] ------------[ cut here ]------------ | [ 24.203861][ T328] WARNING: CPU: 3 PID: 328 at ./include/net/netdev_lock.h:17 netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) | [ 24.204477][ T328] Modules linked in: ip_gre gre vrf veth [ 24.205549][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.205960][ T328] RIP: 0010:netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) [ 24.206312][ T328] Code: 00 00 8b 05 d7 bc 3a 02 85 c0 0f 84 52 fe ff ff 48 8d bb a0 0c 00 00 be ff ff ff ff e8 1a 63 7b 00 85 c0 0f 85 39 fe ff ff 90 <0f> 0b 90 e9 30 fe ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 All code ======== 0: 00 00 add %al,(%rax) 2: 8b 05 d7 bc 3a 02 mov 0x23abcd7(%rip),%eax # 0x23abcdf 8: 85 c0 test %eax,%eax a: 0f 84 52 fe ff ff je 0xfffffffffffffe62 10: 48 8d bb a0 0c 00 00 lea 0xca0(%rbx),%rdi 17: be ff ff ff ff mov $0xffffffff,%esi 1c: e8 1a 63 7b 00 call 0x7b633b 21: 85 c0 test %eax,%eax 23: 0f 85 39 fe ff ff jne 0xfffffffffffffe62 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: e9 30 fe ff ff jmp 0xfffffffffffffe62 32: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 39: fc ff df 3c: 4c 89 fa mov %r15,%rdx 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: e9 30 fe ff ff jmp 0xfffffffffffffe38 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 4c 89 fa mov %r15,%rdx 15: 48 rex.W [ 24.208302][ T328] RSP: 0018:ffffc900006d7000 EFLAGS: 00010246 [ 24.209063][ T328] RAX: 0000000000000000 RBX: ffff88800b621000 RCX: 0000000000000001 [ 24.216693][ T328] RDX: 0000000000000000 RSI: ffffffff8f09b941 RDI: ffffffff8e8555e0 [ 24.217566][ T328] RBP: ffffc900006d70e8 R08: ffff88800b621218 R09: 0000000000000000 [ 24.218446][ T328] R10: ffffc900006d7118 R11: ffffffff8f579160 R12: 1ffff920000dae04 [ 24.219301][ T328] R13: 000000000000ffe7 R14: ffffc900006d7118 R15: ffff88800b621218 [ 24.220156][ T328] FS: 00007f09cf412800(0000) GS:ffff8880a5237000(0000) knlGS:0000000000000000 [ 24.221149][ T328] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.221895][ T328] CR2: 00007f3531b4b000 CR3: 000000000e852001 CR4: 0000000000772ef0 [ 24.222746][ T328] PKRU: 55555554 [ 24.223188][ T328] Call Trace: [ 24.224111][ T328] [ 24.224407][ T328] ? __pfx_ip_route_output_key_hash (net/ipv4/route.c:2684) [ 24.225609][ T328] ? __pfx_netif_set_mtu_ext (net/core/dev.c:9607) [ 24.226446][ T328] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 24.227075][ T328] netif_set_mtu (net/core/dev.c:9652) [ 24.227631][ T328] ? __pfx_netif_set_mtu (net/core/dev.c:9647) [ 24.228239][ T328] dev_set_mtu (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:47 net/core/dev_api.c:249) [ 24.228488][ T328] ip_tunnel_newlink (net/ipv4/ip_tunnel.c:1246) [ 24.228824][ T328] ? __pfx_ip_tunnel_newlink (net/ipv4/ip_tunnel.c:1209) [ 24.229172][ T328] ipgre_newlink (net/ipv4/ip_gre.c:1415 (discriminator 4)) ip_gre [ 24.229504][ T328] ? __pfx_ipgre_newlink (net/ipv4/ip_gre.c:1401) ip_gre [ 24.229944][ T328] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2660) [ 24.230300][ T328] ? rtnl_create_link (net/core/rtnetlink.c:3642) [ 24.230626][ T328] rtnl_newlink_create (net/core/rtnetlink.c:3825) [ 24.230969][ T328] ? __pfx_rtnl_newlink_create (net/core/rtnetlink.c:3791) [ 24.231291][ T328] ? __dev_get_by_name (net/core/dev.c:865) [ 24.231619][ T328] ? rtnl_dev_get (net/core/rtnetlink.c:3404) [ 24.232181][ T328] ? __pfx_rtnl_dev_get (net/core/rtnetlink.c:3404) [ 24.232516][ T328] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4056) [ 24.232850][ T328] ? reacquire_held_locks (kernel/locking/lockdep.c:5388) [ 24.233211][ T328] __rtnl_newlink (net/core/rtnetlink.c:3942) [ 24.233549][ T328] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4058) [ 24.233891][ T328] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 24.234253][ T328] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6944) [ 24.234563][ T328] ? __lock_release (kernel/locking/lockdep.c:5539) [ 24.234889][ T328] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 24.235444][ T328] rtnetlink_rcv_msg (net/core/rtnetlink.c:6946) [ 24.235768][ T328] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 24.236109][ T328] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 24.236680][ T328] netlink_rcv_skb (net/netlink/af_netlink.c:2551) [ 24.237031][ T328] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 24.237344][ T328] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2528) [ 24.237670][ T328] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 24.238000][ T328] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 24.238343][ T328] netlink_unicast (net/netlink/af_netlink.c:1320 net/netlink/af_netlink.c:1346) [ 24.238649][ T328] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1331) [ 24.238987][ T328] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 24.239553][ T328] netlink_sendmsg (net/netlink/af_netlink.c:1896) [ 24.239886][ T328] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1815) [ 24.240212][ T328] ? __import_iovec (lib/iov_iter.c:1441 lib/iov_iter.c:1456) [ 24.240539][ T328] ____sys_sendmsg (net/socket.c:714 net/socket.c:729 net/socket.c:2614) [ 24.241105][ T328] ? __pfx_____sys_sendmsg (net/socket.c:2560) [ 24.241442][ T328] ? __pfx_copy_msghdr_from_user (net/socket.c:2540) [ 24.241844][ T328] ___sys_sendmsg (net/socket.c:2670) [ 24.242154][ T328] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 24.242470][ T328] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3096) [ 24.243093][ T328] ? __pfx____sys_sendmsg (net/socket.c:2657) [ 24.243417][ T328] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 24.243773][ T328] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 24.244111][ T328] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 24.244447][ T328] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2168 arch/x86/mm/physaddr.c:65) [ 24.244771][ T328] ? __lock_release (kernel/locking/lockdep.c:5539) [ 24.245102][ T328] __sys_sendmsg (net/socket.c:2700) [ 24.245422][ T328] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3119) [ 24.245821][ T328] ? __pfx___sys_sendmsg (net/socket.c:2685) [ 24.246166][ T328] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 24.246716][ T328] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 24.247042][ T328] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 24.247442][ T328] RIP: 0033:0x7f09cf5df1e7 [ 24.247785][ T328] Code: Unable to access opcode bytes at 0x7f09cf5df1bd. Code starting with the faulting instruction =========================================== [ 24.248214][ T328] RSP: 002b:00007fffa7cd3e68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 24.248731][ T328] RAX: ffffffffffffffda RBX: 00007fffa7cd4590 RCX: 00007f09cf5df1e7 [ 24.249437][ T328] RDX: 0000000000000000 RSI: 00007fffa7cd3ed0 RDI: 0000000000000005 [ 24.249936][ T328] RBP: 0000000000000008 R08: 00000000000000b0 R09: 0000000000000078 [ 24.250436][ T328] R10: 00007f09cf4dcee8 R11: 0000000000000246 R12: 00007fffa7cd45b0 [ 24.250939][ T328] R13: 00000000686e35ca R14: 0000000000499600 R15: 00007fffa7cd3fb4 | [ 33.072560][ T405] ------------[ cut here ]------------ | [ 33.072912][ T405] WARNING: CPU: 3 PID: 405 at ./include/net/netdev_lock.h:17 netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) | [ 33.073527][ T405] Modules linked in: act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth | [ 33.074714][ T405] Tainted: [W]=WARN [ 33.074960][ T405] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.075345][ T405] RIP: 0010:netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) [ 33.075659][ T405] Code: 00 00 8b 05 d7 bc 3a 02 85 c0 0f 84 52 fe ff ff 48 8d bb a0 0c 00 00 be ff ff ff ff e8 1a 63 7b 00 85 c0 0f 85 39 fe ff ff 90 <0f> 0b 90 e9 30 fe ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 All code ======== 0: 00 00 add %al,(%rax) 2: 8b 05 d7 bc 3a 02 mov 0x23abcd7(%rip),%eax # 0x23abcdf 8: 85 c0 test %eax,%eax a: 0f 84 52 fe ff ff je 0xfffffffffffffe62 10: 48 8d bb a0 0c 00 00 lea 0xca0(%rbx),%rdi 17: be ff ff ff ff mov $0xffffffff,%esi 1c: e8 1a 63 7b 00 call 0x7b633b 21: 85 c0 test %eax,%eax 23: 0f 85 39 fe ff ff jne 0xfffffffffffffe62 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: e9 30 fe ff ff jmp 0xfffffffffffffe62 32: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 39: fc ff df 3c: 4c 89 fa mov %r15,%rdx 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: e9 30 fe ff ff jmp 0xfffffffffffffe38 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 4c 89 fa mov %r15,%rdx 15: 48 rex.W [ 33.076745][ T405] RSP: 0018:ffffc900005a7000 EFLAGS: 00010246 [ 33.077141][ T405] RAX: 0000000000000000 RBX: ffff888004ed1000 RCX: 0000000000000001 [ 33.077607][ T405] RDX: 0000000000000000 RSI: ffffffff8f09b941 RDI: ffffffff8e8555e0 [ 33.078070][ T405] RBP: ffffc900005a70e8 R08: ffff888004ed1218 R09: 0000000000000000 [ 33.078542][ T405] R10: ffffc900005a7118 R11: ffffffff8f579160 R12: 1ffff920000b4e04 [ 33.079011][ T405] R13: 000000000000ffe7 R14: ffffc900005a7118 R15: ffff888004ed1218 [ 33.079470][ T405] FS: 00007f8fd27c2800(0000) GS:ffff8880a5237000(0000) knlGS:0000000000000000 [ 33.080012][ T405] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.080395][ T405] CR2: 00007f67546edf90 CR3: 000000000ca39004 CR4: 0000000000772ef0 [ 33.080874][ T405] PKRU: 55555554 [ 33.081104][ T405] Call Trace: [ 33.081334][ T405] [ 33.081488][ T405] ? __pfx_ip_route_output_key_hash (net/ipv4/route.c:2684) [ 33.081880][ T405] ? __pfx_netif_set_mtu_ext (net/core/dev.c:9607) [ 33.082193][ T405] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 33.082508][ T405] netif_set_mtu (net/core/dev.c:9652) [ 33.082813][ T405] ? __pfx_netif_set_mtu (net/core/dev.c:9647) [ 33.083146][ T405] dev_set_mtu (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:47 net/core/dev_api.c:249) [ 33.083378][ T405] ip_tunnel_newlink (net/ipv4/ip_tunnel.c:1246) [ 33.083681][ T405] ? __pfx_ip_tunnel_newlink (net/ipv4/ip_tunnel.c:1209) [ 33.084000][ T405] ipgre_newlink (net/ipv4/ip_gre.c:1415 (discriminator 4)) ip_gre [ 33.084345][ T405] ? __pfx_ipgre_newlink (net/ipv4/ip_gre.c:1401) ip_gre [ 33.084731][ T405] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2660) [ 33.085058][ T405] ? rtnl_create_link (net/core/rtnetlink.c:3642) [ 33.085370][ T405] rtnl_newlink_create (net/core/rtnetlink.c:3825) [ 33.085675][ T405] ? __pfx_rtnl_newlink_create (net/core/rtnetlink.c:3791) [ 33.085987][ T405] ? __dev_get_by_name (net/core/dev.c:865) [ 33.086290][ T405] ? rtnl_dev_get (net/core/rtnetlink.c:3404) [ 33.086597][ T405] ? __pfx_rtnl_dev_get (net/core/rtnetlink.c:3404) [ 33.086917][ T405] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4056) [ 33.087239][ T405] ? reacquire_held_locks (kernel/locking/lockdep.c:5388) [ 33.087564][ T405] __rtnl_newlink (net/core/rtnetlink.c:3942) [ 33.087889][ T405] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4058) [ 33.088207][ T405] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 33.088524][ T405] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6944) [ 33.088826][ T405] ? __lock_release (kernel/locking/lockdep.c:5539) [ 33.089145][ T405] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 33.089448][ T405] rtnetlink_rcv_msg (net/core/rtnetlink.c:6946) [ 33.089754][ T405] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 33.090076][ T405] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 33.090389][ T405] netlink_rcv_skb (net/netlink/af_netlink.c:2551) [ 33.090693][ T405] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 33.091007][ T405] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2528) [ 33.091324][ T405] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 33.091625][ T405] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 33.091940][ T405] netlink_unicast (net/netlink/af_netlink.c:1320 net/netlink/af_netlink.c:1346) [ 33.092253][ T405] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1331) [ 33.092556][ T405] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 33.092877][ T405] netlink_sendmsg (net/netlink/af_netlink.c:1896) [ 33.093186][ T405] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1815) [ 33.093496][ T405] ? __import_iovec (lib/iov_iter.c:1441 lib/iov_iter.c:1456) [ 33.093809][ T405] ____sys_sendmsg (net/socket.c:714 net/socket.c:729 net/socket.c:2614) [ 33.094124][ T405] ? __pfx_____sys_sendmsg (net/socket.c:2560) [ 33.094432][ T405] ? __pfx_copy_msghdr_from_user (net/socket.c:2540) [ 33.094822][ T405] ___sys_sendmsg (net/socket.c:2670) [ 33.095134][ T405] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 33.095437][ T405] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3096) [ 33.095816][ T405] ? __pfx____sys_sendmsg (net/socket.c:2657) [ 33.096130][ T405] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 33.096439][ T405] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 33.096758][ T405] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 33.097073][ T405] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2168 arch/x86/mm/physaddr.c:65) [ 33.097379][ T405] ? __lock_release (kernel/locking/lockdep.c:5539) [ 33.097693][ T405] __sys_sendmsg (net/socket.c:2700) [ 33.098008][ T405] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3119) [ 33.098402][ T405] ? __pfx___sys_sendmsg (net/socket.c:2685) [ 33.098723][ T405] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 33.099038][ T405] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 33.099354][ T405] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 33.099727][ T405] RIP: 0033:0x7f8fd298f1e7 [ 33.100050][ T405] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0e (bad) 1: 00 f7 add %dh,%bh 3: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 33.101152][ T405] RSP: 002b:00007ffde88e7d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 33.101623][ T405] RAX: ffffffffffffffda RBX: 00007ffde88e84c0 RCX: 00007f8fd298f1e7 [ 33.102090][ T405] RDX: 0000000000000000 RSI: 00007ffde88e7e00 RDI: 0000000000000005 [ 33.102546][ T405] RBP: 0000000000000008 R08: 00000000000000b0 R09: 0000000000000078 [ 33.103008][ T405] R10: 00007f8fd288cee8 R11: 0000000000000246 R12: 00007ffde88e84e0 Finger prints: netif_set_mtu_ext:netif_set_mtu:dev_set_mtu:ip_tunnel_newlink:ipgre_newlink