[ 18.277527][ T296] Mirror/redirect action on [ 22.368148][ T305] ================================================================== [ 22.368632][ T305] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 22.369104][ T305] Write of size 8 at addr 0000000000000000 by task ip/305 [ 22.369482][ T305] [ 22.369641][ T305] CPU: 0 UID: 0 PID: 305 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 22.369649][ T305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.369653][ T305] Call Trace: [ 22.369656][ T305] [ 22.369660][ T305] dump_stack_lvl+0x82/0xc0 [ 22.369672][ T305] ? try_to_grab_pending+0x81/0x6c0 [ 22.369678][ T305] kasan_report+0xca/0x100 [ 22.369689][ T305] ? try_to_grab_pending+0x81/0x6c0 [ 22.369698][ T305] kasan_check_range+0x39/0x1b0 [ 22.369705][ T305] try_to_grab_pending+0x81/0x6c0 [ 22.369714][ T305] __cancel_work+0x7c/0x260 [ 22.369719][ T305] ? enable_delayed_work+0x10/0x10 [ 22.369729][ T305] ? queue_delayed_work_on+0x6a/0xa0 [ 22.369738][ T305] __cancel_work_sync+0x18/0xc0 [ 22.369745][ T305] __dev_close_many+0x1cf/0x980 [ 22.369754][ T305] ? netdev_notify_peers+0x20/0x20 [ 22.369761][ T305] ? netif_close_many+0x201/0x650 [ 22.369769][ T305] netif_close_many+0x201/0x650 [ 22.369776][ T305] ? __mutex_handoff+0x2b0/0x2b0 [ 22.369784][ T305] ? __dev_close_many+0x980/0x980 [ 22.369791][ T305] ? netif_close_many_and_unlock+0x21/0x2a0 [ 22.369799][ T305] unregister_netdevice_many_notify+0x30a/0x1c90 [ 22.369807][ T305] ? rtnl_dellink+0x227/0xa30 [ 22.369816][ T305] ? mutex_is_locked+0x1c/0x50 [ 22.369822][ T305] ? dev_ingress_queue_create+0x190/0x190 [ 22.369828][ T305] ? rtnl_is_locked+0x15/0x20 [ 22.369833][ T305] ? unregister_netdevice_queue+0x6f/0x410 [ 22.369838][ T305] ? unregister_netdevice_many+0x20/0x20 [ 22.369844][ T305] ? unregister_netdevice_many+0x20/0x20 [ 22.369856][ T305] rtnl_dellink+0x344/0xa30 [ 22.369864][ T305] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 22.369905][ T305] ? find_held_lock+0x2b/0x80 [ 22.369914][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.369925][ T305] ? find_held_lock+0x2b/0x80 [ 22.369932][ T305] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 22.369937][ T305] ? __lock_release+0x5d/0x170 [ 22.369944][ T305] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 22.369950][ T305] rtnetlink_rcv_msg+0x709/0xc00 [ 22.369958][ T305] ? rtnl_port_fill+0x890/0x890 [ 22.369964][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.369977][ T305] netlink_rcv_skb+0x121/0x340 [ 22.369984][ T305] ? rtnl_port_fill+0x890/0x890 [ 22.369992][ T305] ? netlink_ack+0xdf0/0xdf0 [ 22.370005][ T305] ? netlink_deliver_tap+0x13e/0x340 [ 22.370010][ T305] ? netlink_deliver_tap+0xc3/0x340 [ 22.370017][ T305] netlink_unicast+0x4aa/0x780 [ 22.370025][ T305] ? netlink_attachskb+0x810/0x810 [ 22.370032][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.370042][ T305] netlink_sendmsg+0x714/0xbd0 [ 22.370050][ T305] ? netlink_unicast+0x780/0x780 [ 22.370056][ T305] ? __import_iovec+0x230/0x3b0 [ 22.370067][ T305] ? netlink_unicast+0x780/0x780 [ 22.370073][ T305] ____sys_sendmsg+0x3dd/0x890 [ 22.370080][ T305] ? get_timestamp.constprop.0+0x370/0x370 [ 22.370085][ T305] ? __copy_msghdr+0x3c0/0x3c0 [ 22.370100][ T305] ___sys_sendmsg+0xed/0x170 [ 22.370105][ T305] ? kasan_record_aux_stack+0x8c/0xa0 [ 22.370111][ T305] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 22.370119][ T305] ? copy_msghdr_from_user+0x110/0x110 [ 22.370127][ T305] ? find_held_lock+0x2b/0x80 [ 22.370136][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.370146][ T305] ? find_held_lock+0x2b/0x80 [ 22.370152][ T305] ? __virt_addr_valid+0x22a/0x450 [ 22.370160][ T305] ? __lock_release+0x5d/0x170 [ 22.370172][ T305] __sys_sendmsg+0x10b/0x1a0 [ 22.370177][ T305] ? __call_rcu_common.constprop.0+0x318/0x630 [ 22.370182][ T305] ? __sys_sendmsg_sock+0x20/0x20 [ 22.370197][ T305] ? rcu_is_watching+0x12/0xb0 [ 22.370207][ T305] do_syscall_64+0xc1/0xfd0 [ 22.370218][ T305] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.370225][ T305] RIP: 0033:0x7f69782da1d7 [ 22.370231][ T305] 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 [ 22.370236][ T305] RSP: 002b:00007ffdaa300b58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 22.370243][ T305] RAX: ffffffffffffffda RBX: 00007ffdaa301280 RCX: 00007f69782da1d7 [ 22.370247][ T305] RDX: 0000000000000000 RSI: 00007ffdaa300bc0 RDI: 0000000000000005 [ 22.370250][ T305] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078 [ 22.370253][ T305] R10: 00007f69781d6f60 R11: 0000000000000246 R12: 0000000000000001 [ 22.370256][ T305] R13: 00000000691cda53 R14: 0000000000499600 R15: 0000000000000000 [ 22.370268][ T305] [ 22.370271][ T305] ================================================================== [ 22.396331][ T305] Disabling lock debugging due to kernel taint [ 22.396707][ T305] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 22.397154][ T305] #PF: supervisor write access in kernel mode [ 22.397516][ T305] #PF: error_code(0x0002) - not-present page [ 22.397879][ T305] PGD e8fe067 P4D e8fe067 PUD e8fd067 PMD 0 [ 22.398263][ T305] Oops: Oops: 0002 [#1] SMP KASAN [ 22.398560][ T305] CPU: 0 UID: 0 PID: 305 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 22.399164][ T305] Tainted: [B]=BAD_PAGE [ 22.399393][ T305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.399769][ T305] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 22.400152][ T305] 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 [ 22.401193][ T305] RSP: 0018:ffffc9000061ef08 EFLAGS: 00010046 [ 22.401568][ T305] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff95a49b8a [ 22.402011][ T305] RDX: fffffbfff34ecacd RSI: 0000000000000008 RDI: ffffffff9a765660 [ 22.402453][ T305] RBP: ffffc9000061ef70 R08: 0000000000000001 R09: fffffbfff34ecacc [ 22.402893][ T305] R10: ffffffff9a765667 R11: ffffc9000061e9c0 R12: 0000000000000000 [ 22.403342][ T305] R13: 0000000000000282 R14: ffff888007734000 R15: dffffc0000000000 [ 22.403782][ T305] FS: 00007f697810c800(0000) GS:ffff8880cc507000(0000) knlGS:0000000000000000 [ 22.404287][ T305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.404656][ T305] CR2: 0000000000000000 CR3: 000000000a1d8005 CR4: 0000000000772ef0 [ 22.405097][ T305] PKRU: 55555554 [ 22.405324][ T305] Call Trace: [ 22.405542][ T305] [ 22.405694][ T305] __cancel_work+0x7c/0x260 [ 22.405985][ T305] ? enable_delayed_work+0x10/0x10 [ 22.406269][ T305] ? queue_delayed_work_on+0x6a/0xa0 [ 22.406559][ T305] __cancel_work_sync+0x18/0xc0 [ 22.406850][ T305] __dev_close_many+0x1cf/0x980 [ 22.407140][ T305] ? netdev_notify_peers+0x20/0x20 [ 22.407419][ T305] ? netif_close_many+0x201/0x650 [ 22.407710][ T305] netif_close_many+0x201/0x650 [ 22.407999][ T305] ? __mutex_handoff+0x2b0/0x2b0 [ 22.408289][ T305] ? __dev_close_many+0x980/0x980 [ 22.408581][ T305] ? netif_close_many_and_unlock+0x21/0x2a0 [ 22.408939][ T305] unregister_netdevice_many_notify+0x30a/0x1c90 [ 22.409302][ T305] ? rtnl_dellink+0x227/0xa30 [ 22.409589][ T305] ? mutex_is_locked+0x1c/0x50 [ 22.409879][ T305] ? dev_ingress_queue_create+0x190/0x190 [ 22.410152][ T305] ? rtnl_is_locked+0x15/0x20 [ 22.410454][ T305] ? unregister_netdevice_queue+0x6f/0x410 [ 22.410819][ T305] ? unregister_netdevice_many+0x20/0x20 [ 22.411114][ T305] ? unregister_netdevice_many+0x20/0x20 [ 22.411413][ T305] rtnl_dellink+0x344/0xa30 [ 22.411711][ T305] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 22.412114][ T305] ? find_held_lock+0x2b/0x80 [ 22.412414][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.412713][ T305] ? find_held_lock+0x2b/0x80 [ 22.413007][ T305] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 22.413297][ T305] ? __lock_release+0x5d/0x170 [ 22.413588][ T305] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 22.413950][ T305] rtnetlink_rcv_msg+0x709/0xc00 [ 22.414250][ T305] ? rtnl_port_fill+0x890/0x890 [ 22.414542][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.414842][ T305] netlink_rcv_skb+0x121/0x340 [ 22.415136][ T305] ? rtnl_port_fill+0x890/0x890 [ 22.415430][ T305] ? netlink_ack+0xdf0/0xdf0 [ 22.415732][ T305] ? netlink_deliver_tap+0x13e/0x340 [ 22.416023][ T305] ? netlink_deliver_tap+0xc3/0x340 [ 22.416321][ T305] netlink_unicast+0x4aa/0x780 [ 22.416614][ T305] ? netlink_attachskb+0x810/0x810 [ 22.416904][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.417200][ T305] netlink_sendmsg+0x714/0xbd0 [ 22.417491][ T305] ? netlink_unicast+0x780/0x780 [ 22.417787][ T305] ? __import_iovec+0x230/0x3b0 [ 22.418086][ T305] ? netlink_unicast+0x780/0x780 [ 22.418382][ T305] ____sys_sendmsg+0x3dd/0x890 [ 22.418682][ T305] ? get_timestamp.constprop.0+0x370/0x370 [ 22.419047][ T305] ? __copy_msghdr+0x3c0/0x3c0 [ 22.419350][ T305] ___sys_sendmsg+0xed/0x170 [ 22.419638][ T305] ? kasan_record_aux_stack+0x8c/0xa0 [ 22.419930][ T305] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 22.420296][ T305] ? copy_msghdr_from_user+0x110/0x110 [ 22.420513][ T305] ? find_held_lock+0x2b/0x80 [ 22.420702][ T305] ? __lock_acquire+0x449/0x7e0 [ 22.420883][ T305] ? find_held_lock+0x2b/0x80 [ 22.421062][ T305] ? __virt_addr_valid+0x22a/0x450 [ 22.421243][ T305] ? __lock_release+0x5d/0x170 [ 22.421423][ T305] __sys_sendmsg+0x10b/0x1a0 [ 22.421602][ T305] ? __call_rcu_common.constprop.0+0x318/0x630 [ 22.421823][ T305] ? __sys_sendmsg_sock+0x20/0x20 [ 22.422004][ T305] ? rcu_is_watching+0x12/0xb0 [ 22.422190][ T305] do_syscall_64+0xc1/0xfd0 [ 22.422374][ T305] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.422596][ T305] RIP: 0033:0x7f69782da1d7 [ 22.422784][ T305] 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 [ 22.423429][ T305] RSP: 002b:00007ffdaa300b58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 22.423700][ T305] RAX: ffffffffffffffda RBX: 00007ffdaa301280 RCX: 00007f69782da1d7 [ 22.423969][ T305] RDX: 0000000000000000 RSI: 00007ffdaa300bc0 RDI: 0000000000000005 [ 22.424237][ T305] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078 [ 22.424508][ T305] R10: 00007f69781d6f60 R11: 0000000000000246 R12: 0000000000000001 [ 22.424782][ T305] R13: 00000000691cda53 R14: 0000000000499600 R15: 0000000000000000 [ 22.425059][ T305] [ 22.425193][ T305] Modules linked in: act_mirred cls_flower sch_ingress [ 22.425426][ T305] CR2: 0000000000000000 [ 22.425562][ T305] ---[ end trace 0000000000000000 ]--- [ 22.425749][ T305] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 22.425981][ T305] 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 [ 22.426606][ T305] RSP: 0018:ffffc9000061ef08 EFLAGS: 00010046 [ 22.426830][ T305] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff95a49b8a [ 22.427100][ T305] RDX: fffffbfff34ecacd RSI: 0000000000000008 RDI: ffffffff9a765660 [ 22.427365][ T305] RBP: ffffc9000061ef70 R08: 0000000000000001 R09: fffffbfff34ecacc [ 22.427634][ T305] R10: ffffffff9a765667 R11: ffffc9000061e9c0 R12: 0000000000000000 [ 22.427899][ T305] R13: 0000000000000282 R14: ffff888007734000 R15: dffffc0000000000 [ 22.428169][ T305] FS: 00007f697810c800(0000) GS:ffff8880cc507000(0000) knlGS:0000000000000000 [ 22.428581][ T305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.428804][ T305] CR2: 0000000000000000 CR3: 000000000a1d8005 CR4: 0000000000772ef0 [ 22.429069][ T305] PKRU: 55555554 [ 22.429304][ T305] Kernel panic - not syncing: Fatal exception [ 22.429604][ T305] Kernel Offset: 0x14400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 22.430015][ T305] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr