[ 15.920137][ T250] ip (250) used greatest stack depth: 23296 bytes left [ 53.346741][ T477] ================================================================== [ 53.347110][ T477] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 53.347409][ T477] Write of size 8 at addr 0000000000000000 by task ip/477 [ 53.347671][ T477] [ 53.347787][ T477] CPU: 2 UID: 0 PID: 477 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 53.347794][ T477] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.347797][ T477] Call Trace: [ 53.347803][ T477] [ 53.347805][ T477] dump_stack_lvl+0x82/0xc0 [ 53.347817][ T477] ? try_to_grab_pending+0x81/0x6c0 [ 53.347820][ T477] kasan_report+0xca/0x100 [ 53.347828][ T477] ? try_to_grab_pending+0x81/0x6c0 [ 53.347834][ T477] kasan_check_range+0x39/0x1b0 [ 53.347837][ T477] try_to_grab_pending+0x81/0x6c0 [ 53.347843][ T477] __cancel_work+0x7c/0x260 [ 53.347847][ T477] ? enable_delayed_work+0x10/0x10 [ 53.347851][ T477] ? queue_delayed_work_on+0xa0/0xa0 [ 53.347854][ T477] ? lockdep_hardirqs_on+0x7c/0x110 [ 53.347861][ T477] __cancel_work_sync+0x18/0xc0 [ 53.347865][ T477] __dev_close_many+0x1ce/0x810 [ 53.347876][ T477] ? netdev_notify_peers+0x20/0x20 [ 53.347881][ T477] ? __local_bh_enable_ip+0xa9/0x120 [ 53.347888][ T477] __dev_change_flags+0x24b/0x6c0 [ 53.347894][ T477] ? __free_zapped_classes+0x90/0x90 [ 53.347900][ T477] ? netif_set_allmulti+0x360/0x360 [ 53.347902][ T477] ? __lock_release+0x5d/0x170 [ 53.347908][ T477] netif_change_flags+0x80/0x160 [ 53.347913][ T477] do_setlink.constprop.0+0x97c/0x2460 [ 53.347919][ T477] ? rtnl_newlink_create+0x770/0x770 [ 53.347925][ T477] ? rcu_read_lock_any_held+0x3f/0xa0 [ 53.347934][ T477] ? validate_chain+0x15e/0x4d0 [ 53.347939][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.347945][ T477] ? __mutex_trylock_common+0xf9/0x260 [ 53.347949][ T477] ? __mutex_handoff+0x2b0/0x2b0 [ 53.347952][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.347957][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.347960][ T477] ? trace_contention_end+0xd8/0x140 [ 53.347963][ T477] ? __mutex_lock+0x19f/0x1190 [ 53.347984][ T477] ? __create_object+0x5e/0xb0 [ 53.347995][ T477] ? __lock_release+0x5d/0x170 [ 53.347999][ T477] ? rtnl_newlink+0x64a/0xa60 [ 53.348002][ T477] ? ww_mutex_lock+0x160/0x160 [ 53.348006][ T477] ? trace_cap_capable+0x10b/0x180 [ 53.348014][ T477] ? __rtnl_newlink+0x40a/0xa30 [ 53.348020][ T477] rtnl_newlink+0x693/0xa60 [ 53.348025][ T477] ? __rtnl_newlink+0xa30/0xa30 [ 53.348028][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.348034][ T477] ? find_held_lock+0x2b/0x80 [ 53.348038][ T477] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 53.348041][ T477] ? __lock_release+0x5d/0x170 [ 53.348045][ T477] ? __rtnl_newlink+0xa30/0xa30 [ 53.348048][ T477] rtnetlink_rcv_msg+0x709/0xc00 [ 53.348052][ T477] ? rtnl_port_fill+0x850/0x850 [ 53.348055][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.348062][ T477] netlink_rcv_skb+0x121/0x340 [ 53.348069][ T477] ? rtnl_port_fill+0x850/0x850 [ 53.348072][ T477] ? netlink_ack+0xdd0/0xdd0 [ 53.348079][ T477] ? netlink_deliver_tap+0x13e/0x340 [ 53.348082][ T477] ? netlink_deliver_tap+0xc3/0x340 [ 53.348086][ T477] netlink_unicast+0x4aa/0x780 [ 53.348090][ T477] ? netlink_attachskb+0x810/0x810 [ 53.348094][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.348105][ T477] netlink_sendmsg+0x714/0xbd0 [ 53.348115][ T477] ? netlink_unicast+0x780/0x780 [ 53.348118][ T477] ? __import_iovec+0x230/0x3b0 [ 53.348128][ T477] ? netlink_unicast+0x780/0x780 [ 53.348132][ T477] ____sys_sendmsg+0x3dd/0x890 [ 53.348138][ T477] ? get_timestamp.constprop.0+0x380/0x380 [ 53.348141][ T477] ? __copy_msghdr+0x3c0/0x3c0 [ 53.348158][ T477] ___sys_sendmsg+0xed/0x170 [ 53.348164][ T477] ? kasan_record_aux_stack+0x8c/0xa0 [ 53.348169][ T477] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 53.348178][ T477] ? copy_msghdr_from_user+0x110/0x110 [ 53.348188][ T477] ? find_held_lock+0x2b/0x80 [ 53.348192][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.348198][ T477] ? find_held_lock+0x2b/0x80 [ 53.348204][ T477] ? __virt_addr_valid+0x22a/0x450 [ 53.348217][ T477] ? __lock_release+0x5d/0x170 [ 53.348229][ T477] __sys_sendmsg+0x10b/0x1a0 [ 53.348234][ T477] ? __call_rcu_common.constprop.0+0x318/0x630 [ 53.348238][ T477] ? __sys_sendmsg_sock+0x20/0x20 [ 53.348246][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.348250][ T477] do_syscall_64+0xc1/0xfd0 [ 53.348257][ T477] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 53.348261][ T477] RIP: 0033:0x7f110e6381d7 [ 53.348266][ T477] 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 [ 53.348269][ T477] RSP: 002b:00007ffe181aa648 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 53.348277][ T477] RAX: ffffffffffffffda RBX: 00007ffe181aad70 RCX: 00007f110e6381d7 [ 53.348284][ T477] RDX: 0000000000000000 RSI: 00007ffe181aa6b0 RDI: 0000000000000005 [ 53.348291][ T477] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 53.348292][ T477] R10: 00007f110e534f60 R11: 0000000000000246 R12: 0000000000000003 [ 53.348294][ T477] R13: 00000000691cc8f6 R14: 0000000000499600 R15: 0000000000000000 [ 53.348301][ T477] [ 53.348303][ T477] ================================================================== [ 53.367424][ T477] Disabling lock debugging due to kernel taint [ 53.367809][ T477] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 53.368102][ T477] #PF: supervisor write access in kernel mode [ 53.368346][ T477] #PF: error_code(0x0002) - not-present page [ 53.368687][ T477] PGD 58a1067 P4D 58a1067 PUD 57f1067 PMD 0 [ 53.368975][ T477] Oops: Oops: 0002 [#1] SMP KASAN [ 53.369177][ T477] CPU: 2 UID: 0 PID: 477 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 53.369563][ T477] Tainted: [B]=BAD_PAGE [ 53.369722][ T477] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.370002][ T477] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 53.370285][ T477] 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 [ 53.371085][ T477] RSP: 0018:ffffc90000cf6f40 EFLAGS: 00010046 [ 53.371455][ T477] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffa484090a [ 53.371818][ T477] RDX: fffffbfff514f2cd RSI: 0000000000000008 RDI: ffffffffa8a79660 [ 53.372145][ T477] RBP: ffffc90000cf6fa8 R08: 0000000000000001 R09: fffffbfff514f2cc [ 53.372550][ T477] R10: ffffffffa8a79667 R11: ffffc90000cf6a00 R12: 0000000000000000 [ 53.372854][ T477] R13: 0000000000000282 R14: ffff88800b824000 R15: dffffc0000000000 [ 53.373163][ T477] FS: 00007f110e46a800(0000) GS:ffff88808d8f2000(0000) knlGS:0000000000000000 [ 53.373726][ T477] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.373948][ T477] CR2: 0000000000000000 CR3: 000000000a493005 CR4: 0000000000772ef0 [ 53.374366][ T477] PKRU: 55555554 [ 53.374518][ T477] Call Trace: [ 53.374656][ T477] [ 53.374751][ T477] __cancel_work+0x7c/0x260 [ 53.374942][ T477] ? enable_delayed_work+0x10/0x10 [ 53.375313][ T477] ? queue_delayed_work_on+0xa0/0xa0 [ 53.375544][ T477] ? lockdep_hardirqs_on+0x7c/0x110 [ 53.375792][ T477] __cancel_work_sync+0x18/0xc0 [ 53.376001][ T477] __dev_close_many+0x1ce/0x810 [ 53.376293][ T477] ? netdev_notify_peers+0x20/0x20 [ 53.376494][ T477] ? __local_bh_enable_ip+0xa9/0x120 [ 53.376689][ T477] __dev_change_flags+0x24b/0x6c0 [ 53.376918][ T477] ? __free_zapped_classes+0x90/0x90 [ 53.377230][ T477] ? netif_set_allmulti+0x360/0x360 [ 53.377407][ T477] ? __lock_release+0x5d/0x170 [ 53.377609][ T477] netif_change_flags+0x80/0x160 [ 53.377779][ T477] do_setlink.constprop.0+0x97c/0x2460 [ 53.378108][ T477] ? rtnl_newlink_create+0x770/0x770 [ 53.378287][ T477] ? rcu_read_lock_any_held+0x3f/0xa0 [ 53.378478][ T477] ? validate_chain+0x15e/0x4d0 [ 53.378671][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.379026][ T477] ? __mutex_trylock_common+0xf9/0x260 [ 53.379198][ T477] ? __mutex_handoff+0x2b0/0x2b0 [ 53.379376][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.379566][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.379852][ T477] ? trace_contention_end+0xd8/0x140 [ 53.380056][ T477] ? __mutex_lock+0x19f/0x1190 [ 53.380237][ T477] ? __create_object+0x5e/0xb0 [ 53.380447][ T477] ? __lock_release+0x5d/0x170 [ 53.380734][ T477] ? rtnl_newlink+0x64a/0xa60 [ 53.380917][ T477] ? ww_mutex_lock+0x160/0x160 [ 53.381090][ T477] ? trace_cap_capable+0x10b/0x180 [ 53.381281][ T477] ? __rtnl_newlink+0x40a/0xa30 [ 53.381612][ T477] rtnl_newlink+0x693/0xa60 [ 53.381792][ T477] ? __rtnl_newlink+0xa30/0xa30 [ 53.381987][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.382159][ T477] ? find_held_lock+0x2b/0x80 [ 53.382440][ T477] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 53.382612][ T477] ? __lock_release+0x5d/0x170 [ 53.382803][ T477] ? __rtnl_newlink+0xa30/0xa30 [ 53.382969][ T477] rtnetlink_rcv_msg+0x709/0xc00 [ 53.383243][ T477] ? rtnl_port_fill+0x850/0x850 [ 53.383455][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.383647][ T477] netlink_rcv_skb+0x121/0x340 [ 53.383832][ T477] ? rtnl_port_fill+0x850/0x850 [ 53.384102][ T477] ? netlink_ack+0xdd0/0xdd0 [ 53.384285][ T477] ? netlink_deliver_tap+0x13e/0x340 [ 53.384467][ T477] ? netlink_deliver_tap+0xc3/0x340 [ 53.384650][ T477] netlink_unicast+0x4aa/0x780 [ 53.384951][ T477] ? netlink_attachskb+0x810/0x810 [ 53.385132][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.385309][ T477] netlink_sendmsg+0x714/0xbd0 [ 53.385494][ T477] ? netlink_unicast+0x780/0x780 [ 53.385794][ T477] ? __import_iovec+0x230/0x3b0 [ 53.385967][ T477] ? netlink_unicast+0x780/0x780 [ 53.386139][ T477] ____sys_sendmsg+0x3dd/0x890 [ 53.386319][ T477] ? get_timestamp.constprop.0+0x380/0x380 [ 53.386670][ T477] ? __copy_msghdr+0x3c0/0x3c0 [ 53.386872][ T477] ___sys_sendmsg+0xed/0x170 [ 53.387042][ T477] ? kasan_record_aux_stack+0x8c/0xa0 [ 53.387239][ T477] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 53.387603][ T477] ? copy_msghdr_from_user+0x110/0x110 [ 53.387845][ T477] ? find_held_lock+0x2b/0x80 [ 53.388116][ T477] ? __lock_acquire+0x449/0x7e0 [ 53.388311][ T477] ? find_held_lock+0x2b/0x80 [ 53.388623][ T477] ? __virt_addr_valid+0x22a/0x450 [ 53.388892][ T477] ? __lock_release+0x5d/0x170 [ 53.389091][ T477] __sys_sendmsg+0x10b/0x1a0 [ 53.389284][ T477] ? __call_rcu_common.constprop.0+0x318/0x630 [ 53.389627][ T477] ? __sys_sendmsg_sock+0x20/0x20 [ 53.389815][ T477] ? rcu_is_watching+0x12/0xb0 [ 53.389984][ T477] do_syscall_64+0xc1/0xfd0 [ 53.390260][ T477] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 53.390475][ T477] RIP: 0033:0x7f110e6381d7 [ 53.390708][ T477] 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 [ 53.391468][ T477] RSP: 002b:00007ffe181aa648 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 53.391779][ T477] RAX: ffffffffffffffda RBX: 00007ffe181aad70 RCX: 00007f110e6381d7 [ 53.392174][ T477] RDX: 0000000000000000 RSI: 00007ffe181aa6b0 RDI: 0000000000000005 [ 53.392445][ T477] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 53.392726][ T477] R10: 00007f110e534f60 R11: 0000000000000246 R12: 0000000000000003 [ 53.393128][ T477] R13: 00000000691cc8f6 R14: 0000000000499600 R15: 0000000000000000 [ 53.393405][ T477] [ 53.393557][ T477] Modules linked in: vrf veth [ 53.393874][ T477] CR2: 0000000000000000 [ 53.394010][ T477] ---[ end trace 0000000000000000 ]--- [ 53.394199][ T477] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 53.394434][ T477] 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 [ 53.395087][ T477] RSP: 0018:ffffc90000cf6f40 EFLAGS: 00010046 [ 53.395418][ T477] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffa484090a [ 53.395695][ T477] RDX: fffffbfff514f2cd RSI: 0000000000000008 RDI: ffffffffa8a79660 [ 53.395977][ T477] RBP: ffffc90000cf6fa8 R08: 0000000000000001 R09: fffffbfff514f2cc [ 53.396349][ T477] R10: ffffffffa8a79667 R11: ffffc90000cf6a00 R12: 0000000000000000 [ 53.396640][ T477] R13: 0000000000000282 R14: ffff88800b824000 R15: dffffc0000000000 [ 53.396899][ T477] FS: 00007f110e46a800(0000) GS:ffff88808d8f2000(0000) knlGS:0000000000000000 [ 53.397305][ T477] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.397531][ T477] CR2: 0000000000000000 CR3: 000000000a493005 CR4: 0000000000772ef0 [ 53.397907][ T477] PKRU: 55555554 [ 53.398042][ T477] Kernel panic - not syncing: Fatal exception [ 53.398345][ T477] Kernel Offset: 0x23200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 53.398890][ T477] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr