[ 38.739734][ T880] gre: GRE over IPv4 demultiplexer driver [ 38.804912][ T880] ip6_gre: GRE over IPv6 tunneling driver [ 38.972979][ T68] ip6_tunnel: g1 xmit: Local address not yet configured! [ 39.133557][ T885] ================================================================== [ 39.133960][ T885] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 39.134290][ T885] Write of size 8 at addr 0000000000000000 by task ip/885 [ 39.134560][ T885] [ 39.134672][ T885] CPU: 0 UID: 0 PID: 885 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 39.134678][ T885] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.134680][ T885] Call Trace: [ 39.134683][ T885] [ 39.134685][ T885] dump_stack_lvl+0x82/0xc0 [ 39.134693][ T885] ? try_to_grab_pending+0x81/0x6c0 [ 39.134696][ T885] kasan_report+0xca/0x100 [ 39.134703][ T885] ? try_to_grab_pending+0x81/0x6c0 [ 39.134708][ T885] kasan_check_range+0x39/0x1b0 [ 39.134712][ T885] try_to_grab_pending+0x81/0x6c0 [ 39.134718][ T885] __cancel_work+0x7c/0x260 [ 39.134721][ T885] ? enable_delayed_work+0x10/0x10 [ 39.134725][ T885] ? qdisc_destroy+0x50/0x50 [ 39.134732][ T885] __cancel_work_sync+0x18/0xc0 [ 39.134736][ T885] __dev_close_many+0x1ce/0x810 [ 39.134747][ T885] ? netdev_notify_peers+0x20/0x20 [ 39.134754][ T885] ? __local_bh_enable_ip+0xa9/0x120 [ 39.134762][ T885] __dev_change_flags+0x24b/0x6c0 [ 39.134769][ T885] ? netif_set_allmulti+0x360/0x360 [ 39.134775][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.134783][ T885] netif_change_flags+0x80/0x160 [ 39.134788][ T885] dev_change_flags+0xa8/0x150 [ 39.134793][ T885] cycle_netdev+0x90/0xe0 [vrf] [ 39.134800][ T885] vrf_add_slave+0xf2/0x210 [vrf] [ 39.134805][ T885] do_set_master+0x323/0x4f0 [ 39.134811][ T885] do_setlink.constprop.0+0x9ee/0x2460 [ 39.134816][ T885] ? rtnl_newlink_create+0x770/0x770 [ 39.134822][ T885] ? rcu_read_lock_any_held+0x3f/0xa0 [ 39.134829][ T885] ? validate_chain+0x15e/0x4d0 [ 39.134834][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.134839][ T885] ? __mutex_trylock_common+0xf9/0x260 [ 39.134843][ T885] ? __mutex_handoff+0x2b0/0x2b0 [ 39.134846][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.134851][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.134854][ T885] ? trace_contention_end+0xd8/0x140 [ 39.134858][ T885] ? __mutex_lock+0x19f/0x1190 [ 39.134863][ T885] ? __lock_release+0x5d/0x170 [ 39.134867][ T885] ? rtnl_newlink+0x64a/0xa60 [ 39.134870][ T885] ? ww_mutex_lock+0x160/0x160 [ 39.134874][ T885] ? trace_cap_capable+0x10b/0x180 [ 39.134879][ T885] ? __rtnl_newlink+0x40a/0xa30 [ 39.134885][ T885] rtnl_newlink+0x693/0xa60 [ 39.134890][ T885] ? __rtnl_newlink+0xa30/0xa30 [ 39.134893][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.134899][ T885] ? find_held_lock+0x2b/0x80 [ 39.134903][ T885] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 39.134905][ T885] ? __lock_release+0x5d/0x170 [ 39.134910][ T885] ? __rtnl_newlink+0xa30/0xa30 [ 39.134912][ T885] rtnetlink_rcv_msg+0x709/0xc00 [ 39.134916][ T885] ? rtnl_port_fill+0x850/0x850 [ 39.134921][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.134932][ T885] netlink_rcv_skb+0x121/0x340 [ 39.134938][ T885] ? rtnl_port_fill+0x850/0x850 [ 39.134941][ T885] ? netlink_ack+0xdd0/0xdd0 [ 39.134948][ T885] ? netlink_deliver_tap+0x13e/0x340 [ 39.134951][ T885] ? netlink_deliver_tap+0xc3/0x340 [ 39.134955][ T885] netlink_unicast+0x4aa/0x780 [ 39.134959][ T885] ? netlink_attachskb+0x810/0x810 [ 39.134963][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.134969][ T885] netlink_sendmsg+0x714/0xbd0 [ 39.134973][ T885] ? netlink_unicast+0x780/0x780 [ 39.134977][ T885] ? __import_iovec+0x230/0x3b0 [ 39.134984][ T885] ? netlink_unicast+0x780/0x780 [ 39.134988][ T885] ____sys_sendmsg+0x3dd/0x890 [ 39.134995][ T885] ? get_timestamp.constprop.0+0x380/0x380 [ 39.134998][ T885] ? __copy_msghdr+0x3c0/0x3c0 [ 39.135006][ T885] ___sys_sendmsg+0xed/0x170 [ 39.135010][ T885] ? kasan_record_aux_stack+0x8c/0xa0 [ 39.135013][ T885] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 39.135019][ T885] ? copy_msghdr_from_user+0x110/0x110 [ 39.135024][ T885] ? find_held_lock+0x2b/0x80 [ 39.135028][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.135034][ T885] ? find_held_lock+0x2b/0x80 [ 39.135038][ T885] ? __virt_addr_valid+0x22a/0x450 [ 39.135044][ T885] ? __lock_release+0x5d/0x170 [ 39.135050][ T885] __sys_sendmsg+0x10b/0x1a0 [ 39.135053][ T885] ? __call_rcu_common.constprop.0+0x318/0x630 [ 39.135057][ T885] ? __sys_sendmsg_sock+0x20/0x20 [ 39.135065][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.135069][ T885] do_syscall_64+0xc1/0xfd0 [ 39.135076][ T885] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.135080][ T885] RIP: 0033:0x7f4ea907a1d7 [ 39.135084][ T885] 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 [ 39.135088][ T885] RSP: 002b:00007ffda4285828 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 39.135092][ T885] RAX: ffffffffffffffda RBX: 00007ffda4285f50 RCX: 00007f4ea907a1d7 [ 39.135095][ T885] RDX: 0000000000000000 RSI: 00007ffda4285890 RDI: 0000000000000005 [ 39.135097][ T885] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 39.135098][ T885] R10: 0000000022792910 R11: 0000000000000246 R12: 0000000000000004 [ 39.135100][ T885] R13: 00000000691cce68 R14: 0000000000499600 R15: 0000000000000000 [ 39.135107][ T885] [ 39.135108][ T885] ================================================================== [ 39.157593][ T885] Disabling lock debugging due to kernel taint [ 39.157874][ T885] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 39.158343][ T885] #PF: supervisor write access in kernel mode [ 39.158615][ T885] #PF: error_code(0x0002) - not-present page [ 39.159003][ T885] PGD 9713067 P4D 9713067 PUD bd4f067 PMD 0 [ 39.159276][ T885] Oops: Oops: 0002 [#1] SMP KASAN [ 39.159498][ T885] CPU: 0 UID: 0 PID: 885 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 39.159918][ T885] Tainted: [B]=BAD_PAGE [ 39.160075][ T885] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.160344][ T885] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 39.160627][ T885] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 7f 7f 81 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 39.161371][ T885] RSP: 0018:ffffc900006e6e70 EFLAGS: 00010046 [ 39.161640][ T885] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb084090a [ 39.161943][ T885] RDX: fffffbfff694f2cd RSI: 0000000000000008 RDI: ffffffffb4a79660 [ 39.162392][ T885] RBP: ffffc900006e6ed8 R08: 0000000000000001 R09: fffffbfff694f2cc [ 39.162717][ T885] R10: ffffffffb4a79667 R11: ffffc900006e6940 R12: 0000000000000000 [ 39.163089][ T885] R13: 0000000000000282 R14: ffff88800d9a4000 R15: dffffc0000000000 [ 39.163397][ T885] FS: 00007f4ea8eac800(0000) GS:ffff8880817f2000(0000) knlGS:0000000000000000 [ 39.163810][ T885] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.164067][ T885] CR2: 0000000000000000 CR3: 000000000488e002 CR4: 0000000000772ef0 [ 39.164389][ T885] PKRU: 55555554 [ 39.164583][ T885] Call Trace: [ 39.164742][ T885] [ 39.164850][ T885] __cancel_work+0x7c/0x260 [ 39.165052][ T885] ? enable_delayed_work+0x10/0x10 [ 39.165253][ T885] ? qdisc_destroy+0x50/0x50 [ 39.165611][ T885] __cancel_work_sync+0x18/0xc0 [ 39.165851][ T885] __dev_close_many+0x1ce/0x810 [ 39.166049][ T885] ? netdev_notify_peers+0x20/0x20 [ 39.166241][ T885] ? __local_bh_enable_ip+0xa9/0x120 [ 39.166594][ T885] __dev_change_flags+0x24b/0x6c0 [ 39.166796][ T885] ? netif_set_allmulti+0x360/0x360 [ 39.166999][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.167194][ T885] netif_change_flags+0x80/0x160 [ 39.167528][ T885] dev_change_flags+0xa8/0x150 [ 39.167753][ T885] cycle_netdev+0x90/0xe0 [vrf] [ 39.167958][ T885] vrf_add_slave+0xf2/0x210 [vrf] [ 39.168155][ T885] do_set_master+0x323/0x4f0 [ 39.168485][ T885] do_setlink.constprop.0+0x9ee/0x2460 [ 39.168713][ T885] ? rtnl_newlink_create+0x770/0x770 [ 39.168913][ T885] ? rcu_read_lock_any_held+0x3f/0xa0 [ 39.169240][ T885] ? validate_chain+0x15e/0x4d0 [ 39.169468][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.169715][ T885] ? __mutex_trylock_common+0xf9/0x260 [ 39.169900][ T885] ? __mutex_handoff+0x2b0/0x2b0 [ 39.170218][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.170411][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.170643][ T885] ? trace_contention_end+0xd8/0x140 [ 39.170857][ T885] ? __mutex_lock+0x19f/0x1190 [ 39.171173][ T885] ? __lock_release+0x5d/0x170 [ 39.171373][ T885] ? rtnl_newlink+0x64a/0xa60 [ 39.171576][ T885] ? ww_mutex_lock+0x160/0x160 [ 39.171780][ T885] ? trace_cap_capable+0x10b/0x180 [ 39.172094][ T885] ? __rtnl_newlink+0x40a/0xa30 [ 39.172280][ T885] rtnl_newlink+0x693/0xa60 [ 39.172475][ T885] ? __rtnl_newlink+0xa30/0xa30 [ 39.172676][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.173008][ T885] ? find_held_lock+0x2b/0x80 [ 39.173204][ T885] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 39.173388][ T885] ? __lock_release+0x5d/0x170 [ 39.173585][ T885] ? __rtnl_newlink+0xa30/0xa30 [ 39.173911][ T885] rtnetlink_rcv_msg+0x709/0xc00 [ 39.174105][ T885] ? rtnl_port_fill+0x850/0x850 [ 39.174287][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.174475][ T885] netlink_rcv_skb+0x121/0x340 [ 39.174813][ T885] ? rtnl_port_fill+0x850/0x850 [ 39.175015][ T885] ? netlink_ack+0xdd0/0xdd0 [ 39.175201][ T885] ? netlink_deliver_tap+0x13e/0x340 [ 39.175394][ T885] ? netlink_deliver_tap+0xc3/0x340 [ 39.175712][ T885] netlink_unicast+0x4aa/0x780 [ 39.175911][ T885] ? netlink_attachskb+0x810/0x810 [ 39.176105][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.176289][ T885] netlink_sendmsg+0x714/0xbd0 [ 39.176606][ T885] ? netlink_unicast+0x780/0x780 [ 39.176835][ T885] ? __import_iovec+0x230/0x3b0 [ 39.177046][ T885] ? netlink_unicast+0x780/0x780 [ 39.177230][ T885] ____sys_sendmsg+0x3dd/0x890 [ 39.177536][ T885] ? get_timestamp.constprop.0+0x380/0x380 [ 39.177781][ T885] ? __copy_msghdr+0x3c0/0x3c0 [ 39.177991][ T885] ___sys_sendmsg+0xed/0x170 [ 39.178184][ T885] ? kasan_record_aux_stack+0x8c/0xa0 [ 39.178495][ T885] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 39.178758][ T885] ? copy_msghdr_from_user+0x110/0x110 [ 39.178966][ T885] ? find_held_lock+0x2b/0x80 [ 39.179273][ T885] ? __lock_acquire+0x449/0x7e0 [ 39.179470][ T885] ? find_held_lock+0x2b/0x80 [ 39.179656][ T885] ? __virt_addr_valid+0x22a/0x450 [ 39.179861][ T885] ? __lock_release+0x5d/0x170 [ 39.180195][ T885] __sys_sendmsg+0x10b/0x1a0 [ 39.180384][ T885] ? __call_rcu_common.constprop.0+0x318/0x630 [ 39.180616][ T885] ? __sys_sendmsg_sock+0x20/0x20 [ 39.180815][ T885] ? rcu_is_watching+0x12/0xb0 [ 39.181134][ T885] do_syscall_64+0xc1/0xfd0 [ 39.181335][ T885] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.181563][ T885] RIP: 0033:0x7f4ea907a1d7 [ 39.181900][ T885] 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 [ 39.182707][ T885] RSP: 002b:00007ffda4285828 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 39.183184][ T885] RAX: ffffffffffffffda RBX: 00007ffda4285f50 RCX: 00007f4ea907a1d7 [ 39.183472][ T885] RDX: 0000000000000000 RSI: 00007ffda4285890 RDI: 0000000000000005 [ 39.183763][ T885] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 39.184197][ T885] R10: 0000000022792910 R11: 0000000000000246 R12: 0000000000000004 [ 39.184492][ T885] R13: 00000000691cce68 R14: 0000000000499600 R15: 0000000000000000 [ 39.184936][ T885] [ 39.185102][ T885] Modules linked in: ip6_gre ip6_tunnel tunnel6 gre vrf veth [ 39.185399][ T885] CR2: 0000000000000000 [ 39.185547][ T885] ---[ end trace 0000000000000000 ]--- [ 39.185863][ T885] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 39.186130][ T885] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 7f 7f 81 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 39.186793][ T885] RSP: 0018:ffffc900006e6e70 EFLAGS: 00010046 [ 39.187053][ T885] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb084090a [ 39.187353][ T885] RDX: fffffbfff694f2cd RSI: 0000000000000008 RDI: ffffffffb4a79660 [ 39.187764][ T885] RBP: ffffc900006e6ed8 R08: 0000000000000001 R09: fffffbfff694f2cc [ 39.188065][ T885] R10: ffffffffb4a79667 R11: ffffc900006e6940 R12: 0000000000000000 [ 39.188469][ T885] R13: 0000000000000282 R14: ffff88800d9a4000 R15: dffffc0000000000 [ 39.188776][ T885] FS: 00007f4ea8eac800(0000) GS:ffff8880817f2000(0000) knlGS:0000000000000000 [ 39.189130][ T885] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.189513][ T885] CR2: 0000000000000000 CR3: 000000000488e002 CR4: 0000000000772ef0 [ 39.189803][ T885] PKRU: 55555554 [ 39.189943][ T885] Kernel panic - not syncing: Fatal exception [ 39.190411][ T885] Kernel Offset: 0x2f200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 39.190853][ T885] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr