[ 15.990060][ T249] ip (249) used greatest stack depth: 24048 bytes left [ 1609.403383][T17212] ================================================================== [ 1609.403744][T17212] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 1609.404035][T17212] Write of size 8 at addr 0000000000000000 by task ip/17212 [ 1609.404306][T17212] [ 1609.404405][T17212] CPU: 0 UID: 0 PID: 17212 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 1609.404410][T17212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1609.404413][T17212] Call Trace: [ 1609.404420][T17212] [ 1609.404424][T17212] dump_stack_lvl+0x82/0xc0 [ 1609.404437][T17212] ? try_to_grab_pending+0x81/0x6c0 [ 1609.404440][T17212] kasan_report+0xca/0x100 [ 1609.404453][T17212] ? try_to_grab_pending+0x81/0x6c0 [ 1609.404458][T17212] kasan_check_range+0x39/0x1b0 [ 1609.404462][T17212] try_to_grab_pending+0x81/0x6c0 [ 1609.404471][T17212] __cancel_work+0x7c/0x260 [ 1609.404476][T17212] ? enable_delayed_work+0x10/0x10 [ 1609.404481][T17212] ? queue_delayed_work_on+0xa0/0xa0 [ 1609.404487][T17212] __cancel_work_sync+0x18/0xc0 [ 1609.404491][T17212] __dev_close_many+0x1ce/0x810 [ 1609.404504][T17212] ? netdev_notify_peers+0x20/0x20 [ 1609.404509][T17212] ? __local_bh_enable_ip+0xa9/0x120 [ 1609.404514][T17212] __dev_change_flags+0x24b/0x6c0 [ 1609.404517][T17212] ? __free_zapped_classes+0x90/0x90 [ 1609.404526][T17212] ? netif_set_allmulti+0x360/0x360 [ 1609.404531][T17212] ? __lock_release+0x5d/0x170 [ 1609.404537][T17212] netif_change_flags+0x80/0x160 [ 1609.404541][T17212] do_setlink.constprop.0+0x97c/0x2460 [ 1609.404548][T17212] ? rtnl_newlink_create+0x770/0x770 [ 1609.404554][T17212] ? rcu_read_lock_any_held+0x3f/0xa0 [ 1609.404561][T17212] ? validate_chain+0x15e/0x4d0 [ 1609.404566][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.404571][T17212] ? __mutex_trylock_common+0xf9/0x260 [ 1609.404576][T17212] ? __mutex_handoff+0x2b0/0x2b0 [ 1609.404579][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.404585][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.404588][T17212] ? trace_contention_end+0xd8/0x140 [ 1609.404592][T17212] ? __mutex_lock+0x19f/0x1190 [ 1609.404601][T17212] ? __create_object+0x5e/0xb0 [ 1609.404606][T17212] ? __lock_release+0x5d/0x170 [ 1609.404610][T17212] ? rtnl_newlink+0x64a/0xa60 [ 1609.404613][T17212] ? ww_mutex_lock+0x160/0x160 [ 1609.404616][T17212] ? trace_cap_capable+0x10b/0x180 [ 1609.404625][T17212] ? __rtnl_newlink+0x40a/0xa30 [ 1609.404630][T17212] rtnl_newlink+0x693/0xa60 [ 1609.404635][T17212] ? __rtnl_newlink+0xa30/0xa30 [ 1609.404638][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.404644][T17212] ? find_held_lock+0x2b/0x80 [ 1609.404648][T17212] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 1609.404650][T17212] ? __lock_release+0x5d/0x170 [ 1609.404655][T17212] ? __rtnl_newlink+0xa30/0xa30 [ 1609.404658][T17212] rtnetlink_rcv_msg+0x709/0xc00 [ 1609.404662][T17212] ? rtnl_port_fill+0x850/0x850 [ 1609.404665][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.404672][T17212] netlink_rcv_skb+0x121/0x340 [ 1609.404678][T17212] ? rtnl_port_fill+0x850/0x850 [ 1609.404681][T17212] ? netlink_ack+0xdd0/0xdd0 [ 1609.404688][T17212] ? netlink_deliver_tap+0x13e/0x340 [ 1609.404691][T17212] ? netlink_deliver_tap+0xc3/0x340 [ 1609.404695][T17212] netlink_unicast+0x4aa/0x780 [ 1609.404699][T17212] ? netlink_attachskb+0x810/0x810 [ 1609.404703][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.404709][T17212] netlink_sendmsg+0x714/0xbd0 [ 1609.404713][T17212] ? netlink_unicast+0x780/0x780 [ 1609.404717][T17212] ? __import_iovec+0x230/0x3b0 [ 1609.404726][T17212] ? netlink_unicast+0x780/0x780 [ 1609.404729][T17212] ____sys_sendmsg+0x3dd/0x890 [ 1609.404738][T17212] ? get_timestamp.constprop.0+0x380/0x380 [ 1609.404741][T17212] ? __copy_msghdr+0x3c0/0x3c0 [ 1609.404749][T17212] ___sys_sendmsg+0xed/0x170 [ 1609.404752][T17212] ? kasan_record_aux_stack+0x8c/0xa0 [ 1609.404755][T17212] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 1609.404761][T17212] ? copy_msghdr_from_user+0x110/0x110 [ 1609.404766][T17212] ? find_held_lock+0x2b/0x80 [ 1609.404771][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.404777][T17212] ? find_held_lock+0x2b/0x80 [ 1609.404780][T17212] ? __virt_addr_valid+0x22a/0x450 [ 1609.404786][T17212] ? __lock_release+0x5d/0x170 [ 1609.404792][T17212] __sys_sendmsg+0x10b/0x1a0 [ 1609.404795][T17212] ? __call_rcu_common.constprop.0+0x318/0x630 [ 1609.404799][T17212] ? __sys_sendmsg_sock+0x20/0x20 [ 1609.404807][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.404811][T17212] do_syscall_64+0xc1/0xfd0 [ 1609.404818][T17212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1609.404822][T17212] RIP: 0033:0x7f30f69481d7 [ 1609.404827][T17212] 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 [ 1609.404830][T17212] RSP: 002b:00007ffd7c08bd48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1609.404839][T17212] RAX: ffffffffffffffda RBX: 00007ffd7c08c470 RCX: 00007f30f69481d7 [ 1609.404841][T17212] RDX: 0000000000000000 RSI: 00007ffd7c08bdb0 RDI: 0000000000000005 [ 1609.404843][T17212] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 1609.404845][T17212] R10: 00007f30f6844f60 R11: 0000000000000246 R12: 0000000000000003 [ 1609.404846][T17212] R13: 00000000691cd994 R14: 0000000000499600 R15: 0000000000000000 [ 1609.404853][T17212] [ 1609.404854][T17212] ================================================================== [ 1609.422928][T17212] Disabling lock debugging due to kernel taint [ 1609.423155][T17212] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 1609.423422][T17212] #PF: supervisor write access in kernel mode [ 1609.423766][T17212] #PF: error_code(0x0002) - not-present page [ 1609.423979][T17212] PGD 17655067 P4D 17655067 PUD 8dde067 PMD 0 [ 1609.424199][T17212] Oops: Oops: 0002 [#1] SMP KASAN [ 1609.424380][T17212] CPU: 0 UID: 0 PID: 17212 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 1609.424857][T17212] Tainted: [B]=BAD_PAGE [ 1609.424989][T17212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1609.425211][T17212] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 1609.425569][T17212] 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 [ 1609.426302][T17212] RSP: 0018:ffffc9000cae6f40 EFLAGS: 00010046 [ 1609.426535][T17212] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8b84090a [ 1609.426802][T17212] RDX: fffffbfff1f4f2cd RSI: 0000000000000008 RDI: ffffffff8fa79660 [ 1609.427169][T17212] RBP: ffffc9000cae6fa8 R08: 0000000000000001 R09: fffffbfff1f4f2cc [ 1609.427440][T17212] R10: ffffffff8fa79667 R11: ffffc9000cae6a00 R12: 0000000000000000 [ 1609.427705][T17212] R13: 0000000000000282 R14: ffff888011541000 R15: dffffc0000000000 [ 1609.428073][T17212] FS: 00007f30f677a800(0000) GS:ffff8880a67f2000(0000) knlGS:0000000000000000 [ 1609.428376][T17212] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1609.428719][T17212] CR2: 0000000000000000 CR3: 0000000016e84002 CR4: 0000000000772ef0 [ 1609.428986][T17212] PKRU: 55555554 [ 1609.429116][T17212] Call Trace: [ 1609.429247][T17212] [ 1609.429347][T17212] __cancel_work+0x7c/0x260 [ 1609.429532][T17212] ? enable_delayed_work+0x10/0x10 [ 1609.429711][T17212] ? queue_delayed_work_on+0xa0/0xa0 [ 1609.429886][T17212] __cancel_work_sync+0x18/0xc0 [ 1609.430059][T17212] __dev_close_many+0x1ce/0x810 [ 1609.430346][T17212] ? netdev_notify_peers+0x20/0x20 [ 1609.430528][T17212] ? __local_bh_enable_ip+0xa9/0x120 [ 1609.430700][T17212] __dev_change_flags+0x24b/0x6c0 [ 1609.430879][T17212] ? __free_zapped_classes+0x90/0x90 [ 1609.431162][T17212] ? netif_set_allmulti+0x360/0x360 [ 1609.431333][T17212] ? __lock_release+0x5d/0x170 [ 1609.431526][T17212] netif_change_flags+0x80/0x160 [ 1609.431702][T17212] do_setlink.constprop.0+0x97c/0x2460 [ 1609.431982][T17212] ? rtnl_newlink_create+0x770/0x770 [ 1609.432156][T17212] ? rcu_read_lock_any_held+0x3f/0xa0 [ 1609.432333][T17212] ? validate_chain+0x15e/0x4d0 [ 1609.432523][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.432807][T17212] ? __mutex_trylock_common+0xf9/0x260 [ 1609.432977][T17212] ? __mutex_handoff+0x2b0/0x2b0 [ 1609.433154][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.433331][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.433520][T17212] ? trace_contention_end+0xd8/0x140 [ 1609.433704][T17212] ? __mutex_lock+0x19f/0x1190 [ 1609.433881][T17212] ? __create_object+0x5e/0xb0 [ 1609.434059][T17212] ? __lock_release+0x5d/0x170 [ 1609.434335][T17212] ? rtnl_newlink+0x64a/0xa60 [ 1609.434524][T17212] ? ww_mutex_lock+0x160/0x160 [ 1609.434701][T17212] ? trace_cap_capable+0x10b/0x180 [ 1609.434877][T17212] ? __rtnl_newlink+0x40a/0xa30 [ 1609.435155][T17212] rtnl_newlink+0x693/0xa60 [ 1609.435331][T17212] ? __rtnl_newlink+0xa30/0xa30 [ 1609.435520][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.435697][T17212] ? find_held_lock+0x2b/0x80 [ 1609.435973][T17212] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 1609.436150][T17212] ? __lock_release+0x5d/0x170 [ 1609.436327][T17212] ? __rtnl_newlink+0xa30/0xa30 [ 1609.436516][T17212] rtnetlink_rcv_msg+0x709/0xc00 [ 1609.436795][T17212] ? rtnl_port_fill+0x850/0x850 [ 1609.436965][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.437142][T17212] netlink_rcv_skb+0x121/0x340 [ 1609.437314][T17212] ? rtnl_port_fill+0x850/0x850 [ 1609.437501][T17212] ? netlink_ack+0xdd0/0xdd0 [ 1609.437675][T17212] ? netlink_deliver_tap+0x13e/0x340 [ 1609.437854][T17212] ? netlink_deliver_tap+0xc3/0x340 [ 1609.438027][T17212] netlink_unicast+0x4aa/0x780 [ 1609.438308][T17212] ? netlink_attachskb+0x810/0x810 [ 1609.438493][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.438668][T17212] netlink_sendmsg+0x714/0xbd0 [ 1609.438841][T17212] ? netlink_unicast+0x780/0x780 [ 1609.439116][T17212] ? __import_iovec+0x230/0x3b0 [ 1609.439296][T17212] ? netlink_unicast+0x780/0x780 [ 1609.439483][T17212] ____sys_sendmsg+0x3dd/0x890 [ 1609.439660][T17212] ? get_timestamp.constprop.0+0x380/0x380 [ 1609.439978][T17212] ? __copy_msghdr+0x3c0/0x3c0 [ 1609.440154][T17212] ___sys_sendmsg+0xed/0x170 [ 1609.440328][T17212] ? kasan_record_aux_stack+0x8c/0xa0 [ 1609.440623][T17212] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 1609.440846][T17212] ? copy_msghdr_from_user+0x110/0x110 [ 1609.441022][T17212] ? find_held_lock+0x2b/0x80 [ 1609.441193][T17212] ? __lock_acquire+0x449/0x7e0 [ 1609.441489][T17212] ? find_held_lock+0x2b/0x80 [ 1609.441659][T17212] ? __virt_addr_valid+0x22a/0x450 [ 1609.441837][T17212] ? __lock_release+0x5d/0x170 [ 1609.442009][T17212] __sys_sendmsg+0x10b/0x1a0 [ 1609.442285][T17212] ? __call_rcu_common.constprop.0+0x318/0x630 [ 1609.442522][T17212] ? __sys_sendmsg_sock+0x20/0x20 [ 1609.442700][T17212] ? rcu_is_watching+0x12/0xb0 [ 1609.442878][T17212] do_syscall_64+0xc1/0xfd0 [ 1609.443163][T17212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1609.443382][T17212] RIP: 0033:0x7f30f69481d7 [ 1609.443576][T17212] 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 [ 1609.444333][T17212] RSP: 002b:00007ffd7c08bd48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1609.444614][T17212] RAX: ffffffffffffffda RBX: 00007ffd7c08c470 RCX: 00007f30f69481d7 [ 1609.444983][T17212] RDX: 0000000000000000 RSI: 00007ffd7c08bdb0 RDI: 0000000000000005 [ 1609.445253][T17212] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 1609.445635][T17212] R10: 00007f30f6844f60 R11: 0000000000000246 R12: 0000000000000003 [ 1609.445893][T17212] R13: 00000000691cd994 R14: 0000000000499600 R15: 0000000000000000 [ 1609.446157][T17212] [ 1609.446390][T17212] Modules linked in: vrf veth [ 1609.446603][T17212] CR2: 0000000000000000 [ 1609.446743][T17212] ---[ end trace 0000000000000000 ]--- [ 1609.446920][T17212] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 1609.447259][T17212] 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 [ 1609.447876][T17212] RSP: 0018:ffffc9000cae6f40 EFLAGS: 00010046 [ 1609.448204][T17212] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8b84090a [ 1609.448484][T17212] RDX: fffffbfff1f4f2cd RSI: 0000000000000008 RDI: ffffffff8fa79660 [ 1609.448744][T17212] RBP: ffffc9000cae6fa8 R08: 0000000000000001 R09: fffffbfff1f4f2cc [ 1609.449105][T17212] R10: ffffffff8fa79667 R11: ffffc9000cae6a00 R12: 0000000000000000 [ 1609.449373][T17212] R13: 0000000000000282 R14: ffff888011541000 R15: dffffc0000000000 [ 1609.449753][T17212] FS: 00007f30f677a800(0000) GS:ffff8880a67f2000(0000) knlGS:0000000000000000 [ 1609.450050][T17212] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1609.450265][T17212] CR2: 0000000000000000 CR3: 0000000016e84002 CR4: 0000000000772ef0 [ 1609.450642][T17212] PKRU: 55555554 [ 1609.450789][T17212] Kernel panic - not syncing: Fatal exception [ 1609.451084][T17212] Kernel Offset: 0xa200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 1609.451612][T17212] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr