[ 59.552364][ T493] ================================================================== [ 59.552738][ T493] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 59.553044][ T493] Write of size 8 at addr 0000000000000000 by task ip/493 [ 59.553259][ T493] [ 59.553357][ T493] CPU: 0 UID: 0 PID: 493 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 59.553364][ T493] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.553370][ T493] Call Trace: [ 59.553374][ T493] [ 59.553376][ T493] dump_stack_lvl+0x82/0xc0 [ 59.553395][ T493] ? try_to_grab_pending+0x81/0x6c0 [ 59.553398][ T493] kasan_report+0xca/0x100 [ 59.553411][ T493] ? try_to_grab_pending+0x81/0x6c0 [ 59.553418][ T493] kasan_check_range+0x39/0x1b0 [ 59.553422][ T493] try_to_grab_pending+0x81/0x6c0 [ 59.553425][ T493] ? page_pool_release+0x13c/0x170 [ 59.553438][ T493] __cancel_work+0x7c/0x260 [ 59.553442][ T493] ? enable_delayed_work+0x10/0x10 [ 59.553449][ T493] __cancel_work_sync+0x18/0xc0 [ 59.553453][ T493] __dev_close_many+0x1cf/0x980 [ 59.553461][ T493] ? netdev_notify_peers+0x20/0x20 [ 59.553464][ T493] ? netif_close_many+0x201/0x650 [ 59.553468][ T493] netif_close_many+0x201/0x650 [ 59.553472][ T493] ? __mutex_handoff+0x2b0/0x2b0 [ 59.553481][ T493] ? __dev_close_many+0x980/0x980 [ 59.553484][ T493] ? netif_close_many_and_unlock+0x21/0x2a0 [ 59.553489][ T493] unregister_netdevice_many_notify+0x30a/0x1c90 [ 59.553494][ T493] ? rtnl_dellink+0x227/0xa30 [ 59.553501][ T493] ? mutex_is_locked+0x1c/0x50 [ 59.553506][ T493] ? dev_ingress_queue_create+0x190/0x190 [ 59.553511][ T493] ? rtnl_is_locked+0x15/0x20 [ 59.553515][ T493] ? unregister_netdevice_queue+0x6f/0x410 [ 59.553519][ T493] ? unregister_netdevice_many+0x20/0x20 [ 59.553523][ T493] ? unregister_netdevice_many+0x20/0x20 [ 59.553529][ T493] rtnl_dellink+0x344/0xa30 [ 59.553533][ T493] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 59.553553][ T493] ? find_held_lock+0x2b/0x80 [ 59.553559][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.553566][ T493] ? find_held_lock+0x2b/0x80 [ 59.553570][ T493] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 59.553573][ T493] ? __lock_release+0x5d/0x170 [ 59.553577][ T493] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 59.553581][ T493] rtnetlink_rcv_msg+0x709/0xc00 [ 59.553585][ T493] ? rtnl_port_fill+0x890/0x890 [ 59.553588][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.553595][ T493] netlink_rcv_skb+0x121/0x340 [ 59.553603][ T493] ? rtnl_port_fill+0x890/0x890 [ 59.553607][ T493] ? netlink_ack+0xdf0/0xdf0 [ 59.553613][ T493] ? netlink_deliver_tap+0x13e/0x340 [ 59.553616][ T493] ? netlink_deliver_tap+0xc3/0x340 [ 59.553620][ T493] netlink_unicast+0x4aa/0x780 [ 59.553624][ T493] ? netlink_attachskb+0x810/0x810 [ 59.553627][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.553632][ T493] netlink_sendmsg+0x714/0xbd0 [ 59.553636][ T493] ? netlink_unicast+0x780/0x780 [ 59.553640][ T493] ? __import_iovec+0x230/0x3b0 [ 59.553652][ T493] ? netlink_unicast+0x780/0x780 [ 59.553655][ T493] ____sys_sendmsg+0x3dd/0x890 [ 59.553662][ T493] ? get_timestamp.constprop.0+0x370/0x370 [ 59.553665][ T493] ? __copy_msghdr+0x3c0/0x3c0 [ 59.553674][ T493] ___sys_sendmsg+0xed/0x170 [ 59.553677][ T493] ? kasan_record_aux_stack+0x8c/0xa0 [ 59.553680][ T493] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 59.553686][ T493] ? copy_msghdr_from_user+0x110/0x110 [ 59.553691][ T493] ? find_held_lock+0x2b/0x80 [ 59.553696][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.553701][ T493] ? find_held_lock+0x2b/0x80 [ 59.553704][ T493] ? __virt_addr_valid+0x22a/0x450 [ 59.553718][ T493] ? __lock_release+0x5d/0x170 [ 59.553723][ T493] __sys_sendmsg+0x10b/0x1a0 [ 59.553726][ T493] ? __call_rcu_common.constprop.0+0x318/0x630 [ 59.553729][ T493] ? __sys_sendmsg_sock+0x20/0x20 [ 59.553736][ T493] ? rcu_is_watching+0x12/0xb0 [ 59.553743][ T493] do_syscall_64+0xc1/0xfd0 [ 59.553751][ T493] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.553760][ T493] RIP: 0033:0x7f7028b0c1d7 [ 59.553768][ T493] 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 [ 59.553771][ T493] RSP: 002b:00007ffe9e7bddd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 59.553778][ T493] RAX: ffffffffffffffda RBX: 00007ffe9e7be510 RCX: 00007f7028b0c1d7 [ 59.553780][ T493] RDX: 0000000000000000 RSI: 00007ffe9e7bde40 RDI: 0000000000000005 [ 59.553782][ T493] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078 [ 59.553784][ T493] R10: 00007f7028a08510 R11: 0000000000000246 R12: 0000000000000001 [ 59.553785][ T493] R13: 00000000691ccd34 R14: 0000000000499600 R15: 0000000000000000 [ 59.553792][ T493] [ 59.553793][ T493] ================================================================== [ 59.569444][ T493] Disabling lock debugging due to kernel taint [ 59.569692][ T493] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 59.570046][ T493] #PF: supervisor write access in kernel mode [ 59.570249][ T493] #PF: error_code(0x0002) - not-present page [ 59.570454][ T493] PGD 7585067 P4D 7585067 PUD 9cf5067 PMD 0 [ 59.570783][ T493] Oops: Oops: 0002 [#1] SMP KASAN [ 59.570958][ T493] CPU: 0 UID: 0 PID: 493 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 59.571298][ T493] Tainted: [B]=BAD_PAGE [ 59.571542][ T493] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 59.571757][ T493] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 59.571984][ T493] 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 1f 93 82 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 59.572697][ T493] RSP: 0018:ffffc90000e66f08 EFLAGS: 00010046 [ 59.572914][ T493] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff86c49b8a [ 59.573167][ T493] RDX: fffffbfff172cacd RSI: 0000000000000008 RDI: ffffffff8b965660 [ 59.573419][ T493] RBP: ffffc90000e66f70 R08: 0000000000000001 R09: fffffbfff172cacc [ 59.573789][ T493] R10: ffffffff8b965667 R11: ffffc90000e669c0 R12: 0000000000000000 [ 59.574042][ T493] R13: 0000000000000282 R14: ffff88800d989000 R15: dffffc0000000000 [ 59.574292][ T493] FS: 00007f702893e800(0000) GS:ffff8880e1707000(0000) knlGS:0000000000000000 [ 59.574694][ T493] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.574905][ T493] CR2: 0000000000000000 CR3: 000000000eefa004 CR4: 0000000000772ef0 [ 59.575159][ T493] PKRU: 55555554 [ 59.575392][ T493] Call Trace: [ 59.575522][ T493] [ 59.575609][ T493] ? page_pool_release+0x13c/0x170 [ 59.575784][ T493] __cancel_work+0x7c/0x260 [ 59.575967][ T493] ? enable_delayed_work+0x10/0x10 [ 59.576240][ T493] __cancel_work_sync+0x18/0xc0 [ 59.576412][ T493] __dev_close_many+0x1cf/0x980 [ 59.576591][ T493] ? netdev_notify_peers+0x20/0x20 [ 59.576759][ T493] ? netif_close_many+0x201/0x650 [ 59.577031][ T493] netif_close_many+0x201/0x650 [ 59.577197][ T493] ? __mutex_handoff+0x2b0/0x2b0 [ 59.577368][ T493] ? __dev_close_many+0x980/0x980 [ 59.577542][ T493] ? netif_close_many_and_unlock+0x21/0x2a0 [ 59.577859][ T493] unregister_netdevice_many_notify+0x30a/0x1c90 [ 59.578071][ T493] ? rtnl_dellink+0x227/0xa30 [ 59.578241][ T493] ? mutex_is_locked+0x1c/0x50 [ 59.578508][ T493] ? dev_ingress_queue_create+0x190/0x190 [ 59.578679][ T493] ? rtnl_is_locked+0x15/0x20 [ 59.578845][ T493] ? unregister_netdevice_queue+0x6f/0x410 [ 59.579052][ T493] ? unregister_netdevice_many+0x20/0x20 [ 59.579319][ T493] ? unregister_netdevice_many+0x20/0x20 [ 59.579494][ T493] rtnl_dellink+0x344/0xa30 [ 59.579671][ T493] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 59.579898][ T493] ? find_held_lock+0x2b/0x80 [ 59.580072][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.580240][ T493] ? find_held_lock+0x2b/0x80 [ 59.580411][ T493] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 59.580584][ T493] ? __lock_release+0x5d/0x170 [ 59.580862][ T493] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 59.581071][ T493] rtnetlink_rcv_msg+0x709/0xc00 [ 59.581239][ T493] ? rtnl_port_fill+0x890/0x890 [ 59.581408][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.581686][ T493] netlink_rcv_skb+0x121/0x340 [ 59.581851][ T493] ? rtnl_port_fill+0x890/0x890 [ 59.582020][ T493] ? netlink_ack+0xdf0/0xdf0 [ 59.582187][ T493] ? netlink_deliver_tap+0x13e/0x340 [ 59.582494][ T493] ? netlink_deliver_tap+0xc3/0x340 [ 59.582666][ T493] netlink_unicast+0x4aa/0x780 [ 59.582849][ T493] ? netlink_attachskb+0x810/0x810 [ 59.583016][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.583288][ T493] netlink_sendmsg+0x714/0xbd0 [ 59.583452][ T493] ? netlink_unicast+0x780/0x780 [ 59.583627][ T493] ? __import_iovec+0x230/0x3b0 [ 59.583801][ T493] ? netlink_unicast+0x780/0x780 [ 59.584071][ T493] ____sys_sendmsg+0x3dd/0x890 [ 59.584239][ T493] ? get_timestamp.constprop.0+0x370/0x370 [ 59.584447][ T493] ? __copy_msghdr+0x3c0/0x3c0 [ 59.584726][ T493] ___sys_sendmsg+0xed/0x170 [ 59.584888][ T493] ? kasan_record_aux_stack+0x8c/0xa0 [ 59.585057][ T493] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 59.585272][ T493] ? copy_msghdr_from_user+0x110/0x110 [ 59.585550][ T493] ? find_held_lock+0x2b/0x80 [ 59.585719][ T493] ? __lock_acquire+0x449/0x7e0 [ 59.585887][ T493] ? find_held_lock+0x2b/0x80 [ 59.586065][ T493] ? __virt_addr_valid+0x22a/0x450 [ 59.586337][ T493] ? __lock_release+0x5d/0x170 [ 59.586511][ T493] __sys_sendmsg+0x10b/0x1a0 [ 59.586685][ T493] ? __call_rcu_common.constprop.0+0x318/0x630 [ 59.586919][ T493] ? __sys_sendmsg_sock+0x20/0x20 [ 59.587091][ T493] ? rcu_is_watching+0x12/0xb0 [ 59.587259][ T493] do_syscall_64+0xc1/0xfd0 [ 59.587431][ T493] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 59.587644][ T493] RIP: 0033:0x7f7028b0c1d7 [ 59.587933][ T493] 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 [ 59.588652][ T493] RSP: 002b:00007ffe9e7bddd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 59.588909][ T493] RAX: ffffffffffffffda RBX: 00007ffe9e7be510 RCX: 00007f7028b0c1d7 [ 59.589161][ T493] RDX: 0000000000000000 RSI: 00007ffe9e7bde40 RDI: 0000000000000005 [ 59.589542][ T493] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078 [ 59.589793][ T493] R10: 00007f7028a08510 R11: 0000000000000246 R12: 0000000000000001 [ 59.590045][ T493] R13: 00000000691ccd34 R14: 0000000000499600 R15: 0000000000000000 [ 59.590408][ T493] [ 59.590545][ T493] Modules linked in: xt_length nft_compat nf_tables act_ct nf_flow_table nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cls_flower sch_ingress [ 59.591139][ T493] CR2: 0000000000000000 [ 59.591271][ T493] ---[ end trace 0000000000000000 ]--- [ 59.591457][ T493] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 59.591682][ T493] 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 1f 93 82 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e [ 59.592384][ T493] RSP: 0018:ffffc90000e66f08 EFLAGS: 00010046 [ 59.592706][ T493] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff86c49b8a [ 59.592955][ T493] RDX: fffffbfff172cacd RSI: 0000000000000008 RDI: ffffffff8b965660 [ 59.593207][ T493] RBP: ffffc90000e66f70 R08: 0000000000000001 R09: fffffbfff172cacc [ 59.593572][ T493] R10: ffffffff8b965667 R11: ffffc90000e669c0 R12: 0000000000000000 [ 59.593823][ T493] R13: 0000000000000282 R14: ffff88800d989000 R15: dffffc0000000000 [ 59.594174][ T493] FS: 00007f702893e800(0000) GS:ffff8880e1707000(0000) knlGS:0000000000000000 [ 59.594464][ T493] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.594686][ T493] CR2: 0000000000000000 CR3: 000000000eefa004 CR4: 0000000000772ef0 [ 59.595050][ T493] PKRU: 55555554 [ 59.595177][ T493] Kernel panic - not syncing: Fatal exception [ 59.595486][ T493] Kernel Offset: 0x5600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 59.596007][ T493] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr