[ 16.220376][ T274] ip (274) used greatest stack depth: 24600 bytes left [ 20.299879][ T311] 8021q: 802.1Q VLAN Support v1.8 [ 20.803083][ T316] gre: GRE over IPv4 demultiplexer driver [ 20.829394][ T316] ip_gre: GRE over IPv4 tunneling driver [ 23.562841][ T345] ================================================================== [ 23.563187][ T345] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 23.563497][ T345] Write of size 8 at addr 0000000000000000 by task ip/345 [ 23.563747][ T345] [ 23.563856][ T345] CPU: 3 UID: 0 PID: 345 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 23.563862][ T345] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.563865][ T345] Call Trace: [ 23.563868][ T345] [ 23.563870][ T345] dump_stack_lvl+0x82/0xc0 [ 23.563878][ T345] ? try_to_grab_pending+0x81/0x6c0 [ 23.563882][ T345] kasan_report+0xca/0x100 [ 23.563888][ T345] ? try_to_grab_pending+0x81/0x6c0 [ 23.563895][ T345] kasan_check_range+0x39/0x1b0 [ 23.563899][ T345] try_to_grab_pending+0x81/0x6c0 [ 23.563906][ T345] __cancel_work+0x7c/0x260 [ 23.563910][ T345] ? enable_delayed_work+0x10/0x10 [ 23.563917][ T345] ? qdisc_destroy+0x50/0x50 [ 23.563926][ T345] __cancel_work_sync+0x18/0xc0 [ 23.563932][ T345] __dev_close_many+0x1ce/0x810 [ 23.563939][ T345] ? netdev_notify_peers+0x20/0x20 [ 23.563944][ T345] ? __local_bh_enable_ip+0xa9/0x120 [ 23.563948][ T345] __dev_change_flags+0x24b/0x6c0 [ 23.563953][ T345] ? netif_set_allmulti+0x360/0x360 [ 23.563956][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.563963][ T345] netif_change_flags+0x80/0x160 [ 23.563967][ T345] dev_change_flags+0xa8/0x150 [ 23.563971][ T345] cycle_netdev+0x90/0xe0 [vrf] [ 23.563978][ T345] vrf_add_slave+0xf2/0x210 [vrf] [ 23.563983][ T345] do_set_master+0x323/0x4f0 [ 23.563988][ T345] do_setlink.constprop.0+0x9ee/0x2460 [ 23.563993][ T345] ? rtnl_newlink_create+0x770/0x770 [ 23.563998][ T345] ? rcu_read_lock_any_held+0x3f/0xa0 [ 23.564004][ T345] ? validate_chain+0x15e/0x4d0 [ 23.564009][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.564014][ T345] ? __mutex_trylock_common+0xf9/0x260 [ 23.564018][ T345] ? __mutex_handoff+0x2b0/0x2b0 [ 23.564021][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.564025][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.564028][ T345] ? trace_contention_end+0xd8/0x140 [ 23.564031][ T345] ? __mutex_lock+0x19f/0x1190 [ 23.564036][ T345] ? __lock_release+0x5d/0x170 [ 23.564039][ T345] ? rtnl_newlink+0x64a/0xa60 [ 23.564043][ T345] ? ww_mutex_lock+0x160/0x160 [ 23.564046][ T345] ? trace_cap_capable+0x10b/0x180 [ 23.564050][ T345] ? __rtnl_newlink+0x40a/0xa30 [ 23.564055][ T345] rtnl_newlink+0x693/0xa60 [ 23.564060][ T345] ? __rtnl_newlink+0xa30/0xa30 [ 23.564063][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.564069][ T345] ? find_held_lock+0x2b/0x80 [ 23.564072][ T345] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 23.564075][ T345] ? __lock_release+0x5d/0x170 [ 23.564079][ T345] ? __rtnl_newlink+0xa30/0xa30 [ 23.564082][ T345] rtnetlink_rcv_msg+0x709/0xc00 [ 23.564086][ T345] ? rtnl_port_fill+0x850/0x850 [ 23.564088][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.564095][ T345] netlink_rcv_skb+0x121/0x340 [ 23.564099][ T345] ? rtnl_port_fill+0x850/0x850 [ 23.564103][ T345] ? netlink_ack+0xdd0/0xdd0 [ 23.564109][ T345] ? netlink_deliver_tap+0x13e/0x340 [ 23.564112][ T345] ? netlink_deliver_tap+0xc3/0x340 [ 23.564116][ T345] netlink_unicast+0x4aa/0x780 [ 23.564120][ T345] ? netlink_attachskb+0x810/0x810 [ 23.564124][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.564130][ T345] netlink_sendmsg+0x714/0xbd0 [ 23.564134][ T345] ? netlink_unicast+0x780/0x780 [ 23.564138][ T345] ? __import_iovec+0x230/0x3b0 [ 23.564144][ T345] ? netlink_unicast+0x780/0x780 [ 23.564147][ T345] ____sys_sendmsg+0x3dd/0x890 [ 23.564152][ T345] ? get_timestamp.constprop.0+0x380/0x380 [ 23.564155][ T345] ? __copy_msghdr+0x3c0/0x3c0 [ 23.564163][ T345] ___sys_sendmsg+0xed/0x170 [ 23.564166][ T345] ? kasan_record_aux_stack+0x8c/0xa0 [ 23.564169][ T345] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 23.564174][ T345] ? copy_msghdr_from_user+0x110/0x110 [ 23.564179][ T345] ? find_held_lock+0x2b/0x80 [ 23.564183][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.564189][ T345] ? find_held_lock+0x2b/0x80 [ 23.564193][ T345] ? __virt_addr_valid+0x22a/0x450 [ 23.564197][ T345] ? __lock_release+0x5d/0x170 [ 23.564203][ T345] __sys_sendmsg+0x10b/0x1a0 [ 23.564206][ T345] ? __call_rcu_common.constprop.0+0x318/0x630 [ 23.564210][ T345] ? __sys_sendmsg_sock+0x20/0x20 [ 23.564217][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.564221][ T345] do_syscall_64+0xc1/0xfd0 [ 23.564226][ T345] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.564230][ T345] RIP: 0033:0x7fb441d951d7 [ 23.564234][ T345] 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 [ 23.564237][ T345] RSP: 002b:00007ffca3065718 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.564241][ T345] RAX: ffffffffffffffda RBX: 00007ffca3065e40 RCX: 00007fb441d951d7 [ 23.564243][ T345] RDX: 0000000000000000 RSI: 00007ffca3065780 RDI: 0000000000000005 [ 23.564245][ T345] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 23.564246][ T345] R10: 000000001b903910 R11: 0000000000000246 R12: 0000000000000004 [ 23.564248][ T345] R13: 00000000691ccc52 R14: 0000000000499600 R15: 0000000000000000 [ 23.564254][ T345] [ 23.564256][ T345] ================================================================== [ 23.583375][ T345] Disabling lock debugging due to kernel taint [ 23.583631][ T345] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 23.583916][ T345] #PF: supervisor write access in kernel mode [ 23.584159][ T345] #PF: error_code(0x0002) - not-present page [ 23.584398][ T345] PGD c507067 P4D c507067 PUD c506067 PMD 0 [ 23.584647][ T345] Oops: Oops: 0002 [#1] SMP KASAN [ 23.584850][ T345] CPU: 3 UID: 0 PID: 345 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 23.585240][ T345] Tainted: [B]=BAD_PAGE [ 23.585392][ T345] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.585640][ T345] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 23.585891][ T345] 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 [ 23.586576][ T345] RSP: 0018:ffffc90000bf6e70 EFLAGS: 00010046 [ 23.586824][ T345] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9fa4090a [ 23.587117][ T345] RDX: fffffbfff478f2cd RSI: 0000000000000008 RDI: ffffffffa3c79660 [ 23.587409][ T345] RBP: ffffc90000bf6ed8 R08: 0000000000000001 R09: fffffbfff478f2cc [ 23.587706][ T345] R10: ffffffffa3c79667 R11: ffffc90000bf6940 R12: 0000000000000000 [ 23.587999][ T345] R13: 0000000000000282 R14: ffff88800e791000 R15: dffffc0000000000 [ 23.588294][ T345] FS: 00007fb441bc7800(0000) GS:ffff888092772000(0000) knlGS:0000000000000000 [ 23.588633][ T345] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.588889][ T345] CR2: 0000000000000000 CR3: 00000000058c5003 CR4: 0000000000772ef0 [ 23.589181][ T345] PKRU: 55555554 [ 23.589331][ T345] Call Trace: [ 23.589478][ T345] [ 23.589580][ T345] __cancel_work+0x7c/0x260 [ 23.589776][ T345] ? enable_delayed_work+0x10/0x10 [ 23.589971][ T345] ? qdisc_destroy+0x50/0x50 [ 23.590166][ T345] __cancel_work_sync+0x18/0xc0 [ 23.590361][ T345] __dev_close_many+0x1ce/0x810 [ 23.590554][ T345] ? netdev_notify_peers+0x20/0x20 [ 23.590752][ T345] ? __local_bh_enable_ip+0xa9/0x120 [ 23.590945][ T345] __dev_change_flags+0x24b/0x6c0 [ 23.591137][ T345] ? netif_set_allmulti+0x360/0x360 [ 23.591340][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.591551][ T345] netif_change_flags+0x80/0x160 [ 23.591744][ T345] dev_change_flags+0xa8/0x150 [ 23.591941][ T345] cycle_netdev+0x90/0xe0 [vrf] [ 23.592140][ T345] vrf_add_slave+0xf2/0x210 [vrf] [ 23.592336][ T345] do_set_master+0x323/0x4f0 [ 23.592528][ T345] do_setlink.constprop.0+0x9ee/0x2460 [ 23.592723][ T345] ? rtnl_newlink_create+0x770/0x770 [ 23.592917][ T345] ? rcu_read_lock_any_held+0x3f/0xa0 [ 23.593115][ T345] ? validate_chain+0x15e/0x4d0 [ 23.593427][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.593628][ T345] ? __mutex_trylock_common+0xf9/0x260 [ 23.593818][ T345] ? __mutex_handoff+0x2b0/0x2b0 [ 23.594008][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.594319][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.594509][ T345] ? trace_contention_end+0xd8/0x140 [ 23.594701][ T345] ? __mutex_lock+0x19f/0x1190 [ 23.594898][ T345] ? __lock_release+0x5d/0x170 [ 23.595324][ T345] ? rtnl_newlink+0x64a/0xa60 [ 23.595517][ T345] ? ww_mutex_lock+0x160/0x160 [ 23.595715][ T345] ? trace_cap_capable+0x10b/0x180 [ 23.596029][ T345] ? __rtnl_newlink+0x40a/0xa30 [ 23.596225][ T345] rtnl_newlink+0x693/0xa60 [ 23.596422][ T345] ? __rtnl_newlink+0xa30/0xa30 [ 23.596733][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.596928][ T345] ? find_held_lock+0x2b/0x80 [ 23.597120][ T345] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 23.597313][ T345] ? __lock_release+0x5d/0x170 [ 23.597505][ T345] ? __rtnl_newlink+0xa30/0xa30 [ 23.597699][ T345] rtnetlink_rcv_msg+0x709/0xc00 [ 23.597890][ T345] ? rtnl_port_fill+0x850/0x850 [ 23.598091][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.598288][ T345] netlink_rcv_skb+0x121/0x340 [ 23.598480][ T345] ? rtnl_port_fill+0x850/0x850 [ 23.598674][ T345] ? netlink_ack+0xdd0/0xdd0 [ 23.598883][ T345] ? netlink_deliver_tap+0x13e/0x340 [ 23.599072][ T345] ? netlink_deliver_tap+0xc3/0x340 [ 23.599266][ T345] netlink_unicast+0x4aa/0x780 [ 23.599459][ T345] ? netlink_attachskb+0x810/0x810 [ 23.599656][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.599853][ T345] netlink_sendmsg+0x714/0xbd0 [ 23.600064][ T345] ? netlink_unicast+0x780/0x780 [ 23.600256][ T345] ? __import_iovec+0x230/0x3b0 [ 23.600454][ T345] ? netlink_unicast+0x780/0x780 [ 23.600764][ T345] ____sys_sendmsg+0x3dd/0x890 [ 23.600960][ T345] ? get_timestamp.constprop.0+0x380/0x380 [ 23.601320][ T345] ? __copy_msghdr+0x3c0/0x3c0 [ 23.601515][ T345] ___sys_sendmsg+0xed/0x170 [ 23.601704][ T345] ? kasan_record_aux_stack+0x8c/0xa0 [ 23.601896][ T345] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 23.602252][ T345] ? copy_msghdr_from_user+0x110/0x110 [ 23.602445][ T345] ? find_held_lock+0x2b/0x80 [ 23.602641][ T345] ? __lock_acquire+0x449/0x7e0 [ 23.602838][ T345] ? find_held_lock+0x2b/0x80 [ 23.603033][ T345] ? __virt_addr_valid+0x22a/0x450 [ 23.603228][ T345] ? __lock_release+0x5d/0x170 [ 23.603424][ T345] __sys_sendmsg+0x10b/0x1a0 [ 23.603736][ T345] ? __call_rcu_common.constprop.0+0x318/0x630 [ 23.603976][ T345] ? __sys_sendmsg_sock+0x20/0x20 [ 23.604172][ T345] ? rcu_is_watching+0x12/0xb0 [ 23.604367][ T345] do_syscall_64+0xc1/0xfd0 [ 23.604567][ T345] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.604805][ T345] RIP: 0033:0x7fb441d951d7 [ 23.605005][ T345] 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 [ 23.605690][ T345] RSP: 002b:00007ffca3065718 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.605986][ T345] RAX: ffffffffffffffda RBX: 00007ffca3065e40 RCX: 00007fb441d951d7 [ 23.606277][ T345] RDX: 0000000000000000 RSI: 00007ffca3065780 RDI: 0000000000000005 [ 23.606705][ T345] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 23.607116][ T345] R10: 000000001b903910 R11: 0000000000000246 R12: 0000000000000004 [ 23.607531][ T345] R13: 00000000691ccc52 R14: 0000000000499600 R15: 0000000000000000 [ 23.607826][ T345] [ 23.607972][ T345] Modules linked in: ip_gre gre 8021q vrf veth [ 23.608225][ T345] CR2: 0000000000000000 [ 23.608370][ T345] ---[ end trace 0000000000000000 ]--- [ 23.608565][ T345] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 23.608829][ T345] 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 [ 23.609514][ T345] RSP: 0018:ffffc90000bf6e70 EFLAGS: 00010046 [ 23.609757][ T345] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9fa4090a [ 23.610173][ T345] RDX: fffffbfff478f2cd RSI: 0000000000000008 RDI: ffffffffa3c79660 [ 23.610461][ T345] RBP: ffffc90000bf6ed8 R08: 0000000000000001 R09: fffffbfff478f2cc [ 23.610748][ T345] R10: ffffffffa3c79667 R11: ffffc90000bf6940 R12: 0000000000000000 [ 23.611170][ T345] R13: 0000000000000282 R14: ffff88800e791000 R15: dffffc0000000000 [ 23.611574][ T345] FS: 00007fb441bc7800(0000) GS:ffff888092772000(0000) knlGS:0000000000000000 [ 23.612030][ T345] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.612273][ T345] CR2: 0000000000000000 CR3: 00000000058c5003 CR4: 0000000000772ef0 [ 23.612567][ T345] PKRU: 55555554 [ 23.612715][ T345] Kernel panic - not syncing: Fatal exception [ 23.613032][ T345] Kernel Offset: 0x1e400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 23.613615][ T345] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr