[ 16.415744][ T278] ip (278) used greatest stack depth: 23952 bytes left [ 21.458422][ T327] gre: GRE over IPv4 demultiplexer driver [ 21.477713][ T327] ip_gre: GRE over IPv4 tunneling driver [ 21.943729][ T333] ================================================================== [ 21.944099][ T333] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 21.944446][ T333] Write of size 8 at addr 0000000000000000 by task ip/333 [ 21.944728][ T333] [ 21.944839][ T333] CPU: 0 UID: 0 PID: 333 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 21.944843][ T333] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.944846][ T333] Call Trace: [ 21.944848][ T333] [ 21.944850][ T333] dump_stack_lvl+0x82/0xc0 [ 21.944860][ T333] ? try_to_grab_pending+0x81/0x6c0 [ 21.944863][ T333] kasan_report+0xca/0x100 [ 21.944870][ T333] ? try_to_grab_pending+0x81/0x6c0 [ 21.944876][ T333] kasan_check_range+0x39/0x1b0 [ 21.944879][ T333] try_to_grab_pending+0x81/0x6c0 [ 21.944884][ T333] __cancel_work+0x7c/0x260 [ 21.944887][ T333] ? enable_delayed_work+0x10/0x10 [ 21.944892][ T333] ? qdisc_destroy+0x50/0x50 [ 21.944898][ T333] __cancel_work_sync+0x18/0xc0 [ 21.944903][ T333] __dev_close_many+0x1ce/0x810 [ 21.944914][ T333] ? netdev_notify_peers+0x20/0x20 [ 21.944921][ T333] ? __local_bh_enable_ip+0xa9/0x120 [ 21.944927][ T333] __dev_change_flags+0x24b/0x6c0 [ 21.944932][ T333] ? netif_set_allmulti+0x360/0x360 [ 21.944936][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.944944][ T333] netif_change_flags+0x80/0x160 [ 21.944948][ T333] dev_change_flags+0xa8/0x150 [ 21.944953][ T333] cycle_netdev+0x90/0xe0 [vrf] [ 21.944960][ T333] vrf_add_slave+0xf2/0x210 [vrf] [ 21.944966][ T333] do_set_master+0x323/0x4f0 [ 21.944972][ T333] do_setlink.constprop.0+0x9ee/0x2460 [ 21.944976][ T333] ? rtnl_newlink_create+0x770/0x770 [ 21.944982][ T333] ? rcu_read_lock_any_held+0x3f/0xa0 [ 21.944989][ T333] ? validate_chain+0x15e/0x4d0 [ 21.944995][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.945000][ T333] ? __mutex_trylock_common+0xf9/0x260 [ 21.945004][ T333] ? __mutex_handoff+0x2b0/0x2b0 [ 21.945007][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.945012][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.945015][ T333] ? trace_contention_end+0xd8/0x140 [ 21.945018][ T333] ? __mutex_lock+0x19f/0x1190 [ 21.945024][ T333] ? __lock_release+0x5d/0x170 [ 21.945028][ T333] ? rtnl_newlink+0x64a/0xa60 [ 21.945031][ T333] ? ww_mutex_lock+0x160/0x160 [ 21.945034][ T333] ? trace_cap_capable+0x10b/0x180 [ 21.945040][ T333] ? __rtnl_newlink+0x40a/0xa30 [ 21.945045][ T333] rtnl_newlink+0x693/0xa60 [ 21.945050][ T333] ? __rtnl_newlink+0xa30/0xa30 [ 21.945053][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.945059][ T333] ? find_held_lock+0x2b/0x80 [ 21.945063][ T333] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 21.945065][ T333] ? __lock_release+0x5d/0x170 [ 21.945070][ T333] ? __rtnl_newlink+0xa30/0xa30 [ 21.945072][ T333] rtnetlink_rcv_msg+0x709/0xc00 [ 21.945076][ T333] ? rtnl_port_fill+0x850/0x850 [ 21.945079][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.945086][ T333] netlink_rcv_skb+0x121/0x340 [ 21.945091][ T333] ? rtnl_port_fill+0x850/0x850 [ 21.945094][ T333] ? netlink_ack+0xdd0/0xdd0 [ 21.945101][ T333] ? netlink_deliver_tap+0x13e/0x340 [ 21.945104][ T333] ? netlink_deliver_tap+0xc3/0x340 [ 21.945108][ T333] netlink_unicast+0x4aa/0x780 [ 21.945112][ T333] ? netlink_attachskb+0x810/0x810 [ 21.945116][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.945122][ T333] netlink_sendmsg+0x714/0xbd0 [ 21.945126][ T333] ? netlink_unicast+0x780/0x780 [ 21.945130][ T333] ? __import_iovec+0x230/0x3b0 [ 21.945138][ T333] ? netlink_unicast+0x780/0x780 [ 21.945141][ T333] ____sys_sendmsg+0x3dd/0x890 [ 21.945148][ T333] ? get_timestamp.constprop.0+0x380/0x380 [ 21.945151][ T333] ? __copy_msghdr+0x3c0/0x3c0 [ 21.945159][ T333] ___sys_sendmsg+0xed/0x170 [ 21.945162][ T333] ? kasan_record_aux_stack+0x8c/0xa0 [ 21.945165][ T333] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 21.945172][ T333] ? copy_msghdr_from_user+0x110/0x110 [ 21.945177][ T333] ? find_held_lock+0x2b/0x80 [ 21.945181][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.945190][ T333] ? find_held_lock+0x2b/0x80 [ 21.945195][ T333] ? __virt_addr_valid+0x22a/0x450 [ 21.945202][ T333] ? __lock_release+0x5d/0x170 [ 21.945209][ T333] __sys_sendmsg+0x10b/0x1a0 [ 21.945212][ T333] ? __call_rcu_common.constprop.0+0x318/0x630 [ 21.945216][ T333] ? __sys_sendmsg_sock+0x20/0x20 [ 21.945223][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.945227][ T333] do_syscall_64+0xc1/0xfd0 [ 21.945233][ T333] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.945237][ T333] RIP: 0033:0x7fccd48b01d7 [ 21.945241][ T333] 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 [ 21.945244][ T333] RSP: 002b:00007ffc6887fa08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 21.945248][ T333] RAX: ffffffffffffffda RBX: 00007ffc68880130 RCX: 00007fccd48b01d7 [ 21.945250][ T333] RDX: 0000000000000000 RSI: 00007ffc6887fa70 RDI: 0000000000000005 [ 21.945252][ T333] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 21.945253][ T333] R10: 0000000033335910 R11: 0000000000000246 R12: 0000000000000004 [ 21.945255][ T333] R13: 00000000691cce85 R14: 0000000000499600 R15: 0000000000000000 [ 21.945262][ T333] [ 21.945263][ T333] ================================================================== [ 21.966366][ T333] Disabling lock debugging due to kernel taint [ 21.966669][ T333] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 21.966993][ T333] #PF: supervisor write access in kernel mode [ 21.967258][ T333] #PF: error_code(0x0002) - not-present page [ 21.967531][ T333] PGD b517067 P4D b517067 PUD b510067 PMD 0 [ 21.967804][ T333] Oops: Oops: 0002 [#1] SMP KASAN [ 21.968035][ T333] CPU: 0 UID: 0 PID: 333 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 21.968468][ T333] Tainted: [B]=BAD_PAGE [ 21.968633][ T333] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.968922][ T333] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 21.969206][ T333] 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 [ 21.969986][ T333] RSP: 0018:ffffc900006a6e70 EFLAGS: 00010046 [ 21.970260][ T333] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9264090a [ 21.970575][ T333] RDX: fffffbfff2d0f2cd RSI: 0000000000000008 RDI: ffffffff96879660 [ 21.970920][ T333] RBP: ffffc900006a6ed8 R08: 0000000000000001 R09: fffffbfff2d0f2cc [ 21.971251][ T333] R10: ffffffff96879667 R11: ffffc900006a6940 R12: 0000000000000000 [ 21.971565][ T333] R13: 0000000000000282 R14: ffff88800d1a9000 R15: dffffc0000000000 [ 21.971886][ T333] FS: 00007fccd46e2800(0000) GS:ffff888099df2000(0000) knlGS:0000000000000000 [ 21.972265][ T333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.972524][ T333] CR2: 0000000000000000 CR3: 000000000bb0b004 CR4: 0000000000772ef0 [ 21.972846][ T333] PKRU: 55555554 [ 21.973007][ T333] Call Trace: [ 21.973170][ T333] [ 21.973288][ T333] __cancel_work+0x7c/0x260 [ 21.973507][ T333] ? enable_delayed_work+0x10/0x10 [ 21.973727][ T333] ? qdisc_destroy+0x50/0x50 [ 21.973942][ T333] __cancel_work_sync+0x18/0xc0 [ 21.974150][ T333] __dev_close_many+0x1ce/0x810 [ 21.974372][ T333] ? netdev_notify_peers+0x20/0x20 [ 21.974585][ T333] ? __local_bh_enable_ip+0xa9/0x120 [ 21.974808][ T333] __dev_change_flags+0x24b/0x6c0 [ 21.975016][ T333] ? netif_set_allmulti+0x360/0x360 [ 21.975224][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.975435][ T333] netif_change_flags+0x80/0x160 [ 21.975646][ T333] dev_change_flags+0xa8/0x150 [ 21.975850][ T333] cycle_netdev+0x90/0xe0 [vrf] [ 21.976072][ T333] vrf_add_slave+0xf2/0x210 [vrf] [ 21.976294][ T333] do_set_master+0x323/0x4f0 [ 21.976508][ T333] do_setlink.constprop.0+0x9ee/0x2460 [ 21.976729][ T333] ? rtnl_newlink_create+0x770/0x770 [ 21.976937][ T333] ? rcu_read_lock_any_held+0x3f/0xa0 [ 21.977137][ T333] ? validate_chain+0x15e/0x4d0 [ 21.977360][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.977585][ T333] ? __mutex_trylock_common+0xf9/0x260 [ 21.977807][ T333] ? __mutex_handoff+0x2b0/0x2b0 [ 21.978024][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.978237][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.978450][ T333] ? trace_contention_end+0xd8/0x140 [ 21.978784][ T333] ? __mutex_lock+0x19f/0x1190 [ 21.979107][ T333] ? __lock_release+0x5d/0x170 [ 21.979319][ T333] ? rtnl_newlink+0x64a/0xa60 [ 21.979642][ T333] ? ww_mutex_lock+0x160/0x160 [ 21.979851][ T333] ? trace_cap_capable+0x10b/0x180 [ 21.980062][ T333] ? __rtnl_newlink+0x40a/0xa30 [ 21.980390][ T333] rtnl_newlink+0x693/0xa60 [ 21.980606][ T333] ? __rtnl_newlink+0xa30/0xa30 [ 21.980946][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.981274][ T333] ? find_held_lock+0x2b/0x80 [ 21.981491][ T333] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 21.981706][ T333] ? __lock_release+0x5d/0x170 [ 21.981917][ T333] ? __rtnl_newlink+0xa30/0xa30 [ 21.982131][ T333] rtnetlink_rcv_msg+0x709/0xc00 [ 21.982353][ T333] ? rtnl_port_fill+0x850/0x850 [ 21.982688][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.982895][ T333] netlink_rcv_skb+0x121/0x340 [ 21.983104][ T333] ? rtnl_port_fill+0x850/0x850 [ 21.983317][ T333] ? netlink_ack+0xdd0/0xdd0 [ 21.983647][ T333] ? netlink_deliver_tap+0x13e/0x340 [ 21.983851][ T333] ? netlink_deliver_tap+0xc3/0x340 [ 21.984062][ T333] netlink_unicast+0x4aa/0x780 [ 21.984268][ T333] ? netlink_attachskb+0x810/0x810 [ 21.984587][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.984804][ T333] netlink_sendmsg+0x714/0xbd0 [ 21.985012][ T333] ? netlink_unicast+0x780/0x780 [ 21.985214][ T333] ? __import_iovec+0x230/0x3b0 [ 21.985544][ T333] ? netlink_unicast+0x780/0x780 [ 21.985763][ T333] ____sys_sendmsg+0x3dd/0x890 [ 21.985972][ T333] ? get_timestamp.constprop.0+0x380/0x380 [ 21.986232][ T333] ? __copy_msghdr+0x3c0/0x3c0 [ 21.986563][ T333] ___sys_sendmsg+0xed/0x170 [ 21.986779][ T333] ? kasan_record_aux_stack+0x8c/0xa0 [ 21.986985][ T333] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 21.987254][ T333] ? copy_msghdr_from_user+0x110/0x110 [ 21.987598][ T333] ? find_held_lock+0x2b/0x80 [ 21.987815][ T333] ? __lock_acquire+0x449/0x7e0 [ 21.988028][ T333] ? find_held_lock+0x2b/0x80 [ 21.988239][ T333] ? __virt_addr_valid+0x22a/0x450 [ 21.988571][ T333] ? __lock_release+0x5d/0x170 [ 21.988783][ T333] __sys_sendmsg+0x10b/0x1a0 [ 21.988988][ T333] ? __call_rcu_common.constprop.0+0x318/0x630 [ 21.989261][ T333] ? __sys_sendmsg_sock+0x20/0x20 [ 21.989595][ T333] ? rcu_is_watching+0x12/0xb0 [ 21.989810][ T333] do_syscall_64+0xc1/0xfd0 [ 21.990023][ T333] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.990413][ T333] RIP: 0033:0x7fccd48b01d7 [ 21.990634][ T333] 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 [ 21.991505][ T333] RSP: 002b:00007ffc6887fa08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 21.991832][ T333] RAX: ffffffffffffffda RBX: 00007ffc68880130 RCX: 00007fccd48b01d7 [ 21.992137][ T333] RDX: 0000000000000000 RSI: 00007ffc6887fa70 RDI: 0000000000000005 [ 21.992641][ T333] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 21.992972][ T333] R10: 0000000033335910 R11: 0000000000000246 R12: 0000000000000004 [ 21.993402][ T333] R13: 00000000691cce85 R14: 0000000000499600 R15: 0000000000000000 [ 21.993711][ T333] [ 21.993861][ T333] Modules linked in: ip_gre gre vrf veth [ 21.994090][ T333] CR2: 0000000000000000 [ 21.994368][ T333] ---[ end trace 0000000000000000 ]--- [ 21.994568][ T333] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 21.994826][ T333] 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 [ 21.995664][ T333] RSP: 0018:ffffc900006a6e70 EFLAGS: 00010046 [ 21.995932][ T333] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9264090a [ 21.996389][ T333] RDX: fffffbfff2d0f2cd RSI: 0000000000000008 RDI: ffffffff96879660 [ 21.996705][ T333] RBP: ffffc900006a6ed8 R08: 0000000000000001 R09: fffffbfff2d0f2cc [ 21.997008][ T333] R10: ffffffff96879667 R11: ffffc900006a6940 R12: 0000000000000000 [ 21.997414][ T333] R13: 0000000000000282 R14: ffff88800d1a9000 R15: dffffc0000000000 [ 21.997713][ T333] FS: 00007fccd46e2800(0000) GS:ffff888099df2000(0000) knlGS:0000000000000000 [ 21.998187][ T333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.998438][ T333] CR2: 0000000000000000 CR3: 000000000bb0b004 CR4: 0000000000772ef0 [ 21.998734][ T333] PKRU: 55555554 [ 21.998876][ T333] Kernel panic - not syncing: Fatal exception [ 21.999329][ T333] Kernel Offset: 0x11000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 21.999782][ T333] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr