[ 15.640601][ T259] ip (259) used greatest stack depth: 24512 bytes left [ 16.756861][ T275] br0: port 1(veth1) entered blocking state [ 16.757897][ T275] br0: port 1(veth1) entered disabled state [ 16.758482][ T275] veth1: entered allmulticast mode [ 16.763692][ T275] veth1: entered promiscuous mode [ 16.873142][ T277] br0: port 2(veth3) entered blocking state [ 16.873794][ T277] br0: port 2(veth3) entered disabled state [ 16.874232][ T277] veth3: entered allmulticast mode [ 16.877708][ T277] veth3: entered promiscuous mode [ 17.223593][ T96] br0: port 1(veth1) entered blocking state [ 17.224177][ T96] br0: port 1(veth1) entered forwarding state [ 17.430694][ T35] br0: port 2(veth3) entered blocking state [ 17.431149][ T35] br0: port 2(veth3) entered forwarding state [ 24.055454][ T312] ================================================================== [ 24.055819][ T312] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0 [ 24.056135][ T312] Write of size 8 at addr 0000000000000000 by task ip/312 [ 24.056391][ T312] [ 24.056497][ T312] CPU: 2 UID: 0 PID: 312 Comm: ip Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full) [ 24.056502][ T312] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.056504][ T312] Call Trace: [ 24.056506][ T312] [ 24.056508][ T312] dump_stack_lvl+0x82/0xc0 [ 24.056517][ T312] ? try_to_grab_pending+0x81/0x6c0 [ 24.056520][ T312] kasan_report+0xca/0x100 [ 24.056527][ T312] ? try_to_grab_pending+0x81/0x6c0 [ 24.056532][ T312] kasan_check_range+0x39/0x1b0 [ 24.056536][ T312] try_to_grab_pending+0x81/0x6c0 [ 24.056541][ T312] __cancel_work+0x7c/0x260 [ 24.056544][ T312] ? enable_delayed_work+0x10/0x10 [ 24.056548][ T312] ? queue_delayed_work_on+0xa0/0xa0 [ 24.056552][ T312] ? lockdep_hardirqs_on+0x7c/0x110 [ 24.056558][ T312] __cancel_work_sync+0x18/0xc0 [ 24.056562][ T312] __dev_close_many+0x1ce/0x810 [ 24.056571][ T312] ? netdev_notify_peers+0x20/0x20 [ 24.056575][ T312] ? __local_bh_enable_ip+0xa9/0x120 [ 24.056581][ T312] __dev_change_flags+0x24b/0x6c0 [ 24.056584][ T312] ? __free_zapped_classes+0x90/0x90 [ 24.056591][ T312] ? netif_set_allmulti+0x360/0x360 [ 24.056594][ T312] ? __lock_release+0x5d/0x170 [ 24.056600][ T312] netif_change_flags+0x80/0x160 [ 24.056604][ T312] do_setlink.constprop.0+0x97c/0x2460 [ 24.056610][ T312] ? rtnl_newlink_create+0x770/0x770 [ 24.056616][ T312] ? rcu_read_lock_any_held+0x3f/0xa0 [ 24.056623][ T312] ? validate_chain+0x15e/0x4d0 [ 24.056628][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.056633][ T312] ? __mutex_trylock_common+0xf9/0x260 [ 24.056637][ T312] ? __mutex_handoff+0x2b0/0x2b0 [ 24.056640][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.056645][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.056648][ T312] ? trace_contention_end+0xd8/0x140 [ 24.056652][ T312] ? __mutex_lock+0x19f/0x1190 [ 24.056658][ T312] ? __create_object+0x5e/0xb0 [ 24.056661][ T312] ? __lock_release+0x5d/0x170 [ 24.056665][ T312] ? rtnl_newlink+0x64a/0xa60 [ 24.056668][ T312] ? ww_mutex_lock+0x160/0x160 [ 24.056671][ T312] ? trace_cap_capable+0x10b/0x180 [ 24.056676][ T312] ? __rtnl_newlink+0x40a/0xa30 [ 24.056681][ T312] rtnl_newlink+0x693/0xa60 [ 24.056686][ T312] ? __rtnl_newlink+0xa30/0xa30 [ 24.056688][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.056694][ T312] ? find_held_lock+0x2b/0x80 [ 24.056698][ T312] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 24.056700][ T312] ? __lock_release+0x5d/0x170 [ 24.056705][ T312] ? __rtnl_newlink+0xa30/0xa30 [ 24.056707][ T312] rtnetlink_rcv_msg+0x709/0xc00 [ 24.056711][ T312] ? rtnl_port_fill+0x850/0x850 [ 24.056714][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.056721][ T312] netlink_rcv_skb+0x121/0x340 [ 24.056725][ T312] ? rtnl_port_fill+0x850/0x850 [ 24.056729][ T312] ? netlink_ack+0xdd0/0xdd0 [ 24.056736][ T312] ? netlink_deliver_tap+0x13e/0x340 [ 24.056738][ T312] ? netlink_deliver_tap+0xc3/0x340 [ 24.056742][ T312] netlink_unicast+0x4aa/0x780 [ 24.056747][ T312] ? netlink_attachskb+0x810/0x810 [ 24.056751][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.056756][ T312] netlink_sendmsg+0x714/0xbd0 [ 24.056761][ T312] ? netlink_unicast+0x780/0x780 [ 24.056764][ T312] ? __import_iovec+0x230/0x3b0 [ 24.056770][ T312] ? netlink_unicast+0x780/0x780 [ 24.056773][ T312] ____sys_sendmsg+0x3dd/0x890 [ 24.056780][ T312] ? get_timestamp.constprop.0+0x380/0x380 [ 24.056783][ T312] ? __copy_msghdr+0x3c0/0x3c0 [ 24.056790][ T312] ___sys_sendmsg+0xed/0x170 [ 24.056793][ T312] ? kasan_record_aux_stack+0x8c/0xa0 [ 24.056796][ T312] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 24.056804][ T312] ? copy_msghdr_from_user+0x110/0x110 [ 24.056812][ T312] ? find_held_lock+0x2b/0x80 [ 24.056818][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.056823][ T312] ? find_held_lock+0x2b/0x80 [ 24.056827][ T312] ? __virt_addr_valid+0x22a/0x450 [ 24.056833][ T312] ? __lock_release+0x5d/0x170 [ 24.056839][ T312] __sys_sendmsg+0x10b/0x1a0 [ 24.056842][ T312] ? __call_rcu_common.constprop.0+0x318/0x630 [ 24.056846][ T312] ? __sys_sendmsg_sock+0x20/0x20 [ 24.056854][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.056858][ T312] do_syscall_64+0xc1/0xfd0 [ 24.056865][ T312] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.056869][ T312] RIP: 0033:0x7f70a48cf1d7 [ 24.056873][ T312] 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 [ 24.056876][ T312] RSP: 002b:00007ffe0da988c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 24.056880][ T312] RAX: ffffffffffffffda RBX: 00007ffe0da98ff0 RCX: 00007f70a48cf1d7 [ 24.056883][ T312] RDX: 0000000000000000 RSI: 00007ffe0da98930 RDI: 0000000000000005 [ 24.056885][ T312] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 24.056886][ T312] R10: 00007f70a47cbf60 R11: 0000000000000246 R12: 0000000000000003 [ 24.056888][ T312] R13: 00000000691ccdec R14: 0000000000499600 R15: 0000000000000000 [ 24.056895][ T312] [ 24.056896][ T312] ================================================================== [ 24.080055][ T312] Disabling lock debugging due to kernel taint [ 24.080309][ T312] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 24.080595][ T312] #PF: supervisor write access in kernel mode [ 24.080844][ T312] #PF: error_code(0x0002) - not-present page [ 24.081098][ T312] PGD c29c067 P4D c29c067 PUD 4c07067 PMD 0 [ 24.081346][ T312] Oops: Oops: 0002 [#1] SMP KASAN [ 24.081559][ T312] CPU: 2 UID: 0 PID: 312 Comm: ip Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full) [ 24.081979][ T312] Tainted: [B]=BAD_PAGE [ 24.082133][ T312] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.082379][ T312] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 24.082643][ T312] 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 [ 24.083360][ T312] RSP: 0018:ffffc900004f6f40 EFLAGS: 00010046 [ 24.083607][ T312] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffaec4090a [ 24.083905][ T312] RDX: fffffbfff65cf2cd RSI: 0000000000000008 RDI: ffffffffb2e79660 [ 24.084203][ T312] RBP: ffffc900004f6fa8 R08: 0000000000000001 R09: fffffbfff65cf2cc [ 24.084496][ T312] R10: ffffffffb2e79667 R11: ffffc900004f6a00 R12: 0000000000000000 [ 24.084791][ T312] R13: 0000000000000282 R14: ffff88800a7ac000 R15: dffffc0000000000 [ 24.085201][ T312] FS: 00007f70a4701800(0000) GS:ffff8880834f2000(0000) knlGS:0000000000000000 [ 24.085544][ T312] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.085793][ T312] CR2: 0000000000000000 CR3: 000000000c3e4001 CR4: 0000000000772ef0 [ 24.086198][ T312] PKRU: 55555554 [ 24.086343][ T312] Call Trace: [ 24.086488][ T312] [ 24.086591][ T312] __cancel_work+0x7c/0x260 [ 24.086899][ T312] ? enable_delayed_work+0x10/0x10 [ 24.087106][ T312] ? queue_delayed_work_on+0xa0/0xa0 [ 24.087296][ T312] ? lockdep_hardirqs_on+0x7c/0x110 [ 24.087490][ T312] __cancel_work_sync+0x18/0xc0 [ 24.087784][ T312] __dev_close_many+0x1ce/0x810 [ 24.087980][ T312] ? netdev_notify_peers+0x20/0x20 [ 24.088173][ T312] ? __local_bh_enable_ip+0xa9/0x120 [ 24.088371][ T312] __dev_change_flags+0x24b/0x6c0 [ 24.088665][ T312] ? __free_zapped_classes+0x90/0x90 [ 24.088856][ T312] ? netif_set_allmulti+0x360/0x360 [ 24.089053][ T312] ? __lock_release+0x5d/0x170 [ 24.089244][ T312] netif_change_flags+0x80/0x160 [ 24.089436][ T312] do_setlink.constprop.0+0x97c/0x2460 [ 24.089628][ T312] ? rtnl_newlink_create+0x770/0x770 [ 24.089832][ T312] ? rcu_read_lock_any_held+0x3f/0xa0 [ 24.090035][ T312] ? validate_chain+0x15e/0x4d0 [ 24.090335][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.090526][ T312] ? __mutex_trylock_common+0xf9/0x260 [ 24.090718][ T312] ? __mutex_handoff+0x2b0/0x2b0 [ 24.090907][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.091214][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.091411][ T312] ? trace_contention_end+0xd8/0x140 [ 24.091608][ T312] ? __mutex_lock+0x19f/0x1190 [ 24.091798][ T312] ? __create_object+0x5e/0xb0 [ 24.092105][ T312] ? __lock_release+0x5d/0x170 [ 24.092295][ T312] ? rtnl_newlink+0x64a/0xa60 [ 24.092486][ T312] ? ww_mutex_lock+0x160/0x160 [ 24.092675][ T312] ? trace_cap_capable+0x10b/0x180 [ 24.092970][ T312] ? __rtnl_newlink+0x40a/0xa30 [ 24.093163][ T312] rtnl_newlink+0x693/0xa60 [ 24.093355][ T312] ? __rtnl_newlink+0xa30/0xa30 [ 24.093545][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.093841][ T312] ? find_held_lock+0x2b/0x80 [ 24.094079][ T312] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 24.094367][ T312] ? __lock_release+0x5d/0x170 [ 24.094659][ T312] ? __rtnl_newlink+0xa30/0xa30 [ 24.095133][ T312] rtnetlink_rcv_msg+0x709/0xc00 [ 24.095435][ T312] ? rtnl_port_fill+0x850/0x850 [ 24.095725][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.096029][ T312] netlink_rcv_skb+0x121/0x340 [ 24.096516][ T312] ? rtnl_port_fill+0x850/0x850 [ 24.096810][ T312] ? netlink_ack+0xdd0/0xdd0 [ 24.097110][ T312] ? netlink_deliver_tap+0x13e/0x340 [ 24.097407][ T312] ? netlink_deliver_tap+0xc3/0x340 [ 24.097879][ T312] netlink_unicast+0x4aa/0x780 [ 24.098182][ T312] ? netlink_attachskb+0x810/0x810 [ 24.098480][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.098777][ T312] netlink_sendmsg+0x714/0xbd0 [ 24.099261][ T312] ? netlink_unicast+0x780/0x780 [ 24.099548][ T312] ? __import_iovec+0x230/0x3b0 [ 24.099844][ T312] ? netlink_unicast+0x780/0x780 [ 24.100080][ T312] ____sys_sendmsg+0x3dd/0x890 [ 24.100388][ T312] ? get_timestamp.constprop.0+0x380/0x380 [ 24.100634][ T312] ? __copy_msghdr+0x3c0/0x3c0 [ 24.100832][ T312] ___sys_sendmsg+0xed/0x170 [ 24.101025][ T312] ? kasan_record_aux_stack+0x8c/0xa0 [ 24.101319][ T312] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 24.101573][ T312] ? copy_msghdr_from_user+0x110/0x110 [ 24.101766][ T312] ? find_held_lock+0x2b/0x80 [ 24.101962][ T312] ? __lock_acquire+0x449/0x7e0 [ 24.102265][ T312] ? find_held_lock+0x2b/0x80 [ 24.102456][ T312] ? __virt_addr_valid+0x22a/0x450 [ 24.102648][ T312] ? __lock_release+0x5d/0x170 [ 24.102847][ T312] __sys_sendmsg+0x10b/0x1a0 [ 24.103141][ T312] ? __call_rcu_common.constprop.0+0x318/0x630 [ 24.103381][ T312] ? __sys_sendmsg_sock+0x20/0x20 [ 24.103576][ T312] ? rcu_is_watching+0x12/0xb0 [ 24.103888][ T312] do_syscall_64+0xc1/0xfd0 [ 24.104102][ T312] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.104341][ T312] RIP: 0033:0x7f70a48cf1d7 [ 24.104542][ T312] 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 [ 24.105405][ T312] RSP: 002b:00007ffe0da988c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 24.106011][ T312] RAX: ffffffffffffffda RBX: 00007ffe0da98ff0 RCX: 00007f70a48cf1d7 [ 24.106449][ T312] RDX: 0000000000000000 RSI: 00007ffe0da98930 RDI: 0000000000000005 [ 24.106892][ T312] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 24.107532][ T312] R10: 00007f70a47cbf60 R11: 0000000000000246 R12: 0000000000000003 [ 24.107985][ T312] R13: 00000000691ccdec R14: 0000000000499600 R15: 0000000000000000 [ 24.108439][ T312] [ 24.108841][ T312] Modules linked in: bridge stp llc veth [ 24.109152][ T312] CR2: 0000000000000000 [ 24.109370][ T312] ---[ end trace 0000000000000000 ]--- [ 24.109661][ T312] RIP: 0010:try_to_grab_pending+0x81/0x6c0 [ 24.110245][ T312] 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 [ 24.111271][ T312] RSP: 0018:ffffc900004f6f40 EFLAGS: 00010046 [ 24.111515][ T312] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffaec4090a [ 24.111822][ T312] RDX: fffffbfff65cf2cd RSI: 0000000000000008 RDI: ffffffffb2e79660 [ 24.112211][ T312] RBP: ffffc900004f6fa8 R08: 0000000000000001 R09: fffffbfff65cf2cc [ 24.112496][ T312] R10: ffffffffb2e79667 R11: ffffc900004f6a00 R12: 0000000000000000 [ 24.112786][ T312] R13: 0000000000000282 R14: ffff88800a7ac000 R15: dffffc0000000000 [ 24.113192][ T312] FS: 00007f70a4701800(0000) GS:ffff8880834f2000(0000) knlGS:0000000000000000 [ 24.113526][ T312] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.113765][ T312] CR2: 0000000000000000 CR3: 000000000c3e4001 CR4: 0000000000772ef0 [ 24.114159][ T312] PKRU: 55555554 [ 24.114307][ T312] Kernel panic - not syncing: Fatal exception [ 24.114645][ T312] Kernel Offset: 0x2d600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 24.115227][ T312] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr