[ 16.822929][ T245] ip (245) used greatest stack depth: 24632 bytes left [ 19.831704][ T264] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 19.982468][ T265] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 20.351164][ T268] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 20.496649][ T269] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 69.890621][ T806] tc (806) used greatest stack depth: 24520 bytes left [ 88.403432][ T73] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 88.408233][ T73] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 88.410198][ T73] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 88.410900][ T73] bond0: active interface up! [ 101.567215][ T1167] bond0: (slave eth0): Releasing backup interface [ 101.567820][ T1167] bond0: (slave eth0): the permanent HWaddr of slave - 2e:45:2c:d2:55:29 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 101.568932][ T1167] bond0: active interface up! [ 101.661638][ T73] bond0: (slave eth0): link status definitely down, disabling slave [ 101.764911][ T73] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 101.765499][ T73] bond0: active interface up! [ 101.882253][ T1169] bond0: (slave eth1): Removing an active aggregator [ 101.883554][ T1169] bond0: (slave eth1): Releasing backup interface [ 101.932946][ T73] bond0: (slave eth1): link status definitely down, disabling slave [ 101.933549][ T73] bond0: now running without any active interface! [ 102.140991][ T73] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 102.142144][ T73] bond0: active interface up! [ 233.993904][ T73] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 233.995251][ T73] bond0 (unregistering): (slave eth0): Releasing backup interface [ 234.003033][ T73] bond0 (unregistering): Released all slaves [ 234.022992][ T73] ================================================================== [ 234.023456][ T73] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0 [ 234.023881][ T73] Read of size 1 at addr ffff888005e1169c by task kworker/u16:1/73 [ 234.024283][ T73] [ 234.024425][ T73] CPU: 1 UID: 0 PID: 73 Comm: kworker/u16:1 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full) [ 234.024432][ T73] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 234.024437][ T73] Workqueue: netns cleanup_net [ 234.024451][ T73] Call Trace: [ 234.024454][ T73] [ 234.024460][ T73] dump_stack_lvl+0x82/0xc0 [ 234.024470][ T73] print_address_description.constprop.0+0x2c/0x3a0 [ 234.024480][ T73] ? kobject_put+0xbb/0xd0 [ 234.024486][ T73] print_report+0xb4/0x270 [ 234.024490][ T73] ? kobject_put+0xbb/0xd0 [ 234.024493][ T73] ? kasan_addr_to_slab+0x21/0x70 [ 234.024498][ T73] ? kobject_put+0xbb/0xd0 [ 234.024501][ T73] kasan_report+0xca/0x100 [ 234.024507][ T73] ? kobject_put+0xbb/0xd0 [ 234.024515][ T73] kobject_put+0xbb/0xd0 [ 234.024520][ T73] netdev_run_todo+0x5f0/0xc60 [ 234.024528][ T73] ? dev_ingress_queue_create+0x190/0x190 [ 234.024533][ T73] ? unregister_netdevice_many+0x20/0x20 [ 234.024538][ T73] ? generic_xdp_install+0x410/0x410 [ 234.024542][ T73] ? __lock_release+0x5d/0x170 [ 234.024566][ T73] ops_undo_list+0x714/0x890 [ 234.024574][ T73] ? netns_get+0x110/0x110 [ 234.024579][ T73] ? cleanup_net+0x2d6/0x830 [ 234.024588][ T73] cleanup_net+0x3b2/0x830 [ 234.024594][ T73] ? net_passive_dec+0x190/0x190 [ 234.024601][ T73] ? rcu_is_watching+0x12/0xb0 [ 234.024611][ T73] process_one_work+0xe35/0x1650 [ 234.024624][ T73] ? pwq_dec_nr_in_flight+0x550/0x550 [ 234.024633][ T73] ? assign_work+0x168/0x240 [ 234.024639][ T73] worker_thread+0x591/0xcf0 [ 234.024648][ T73] ? rescuer_thread+0xd10/0xd10 [ 234.024654][ T73] kthread+0x37b/0x5f0 [ 234.024660][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.024664][ T73] ? ret_from_fork+0x1b/0x270 [ 234.024673][ T73] ? __lock_release+0x5d/0x170 [ 234.024679][ T73] ? rcu_is_watching+0x12/0xb0 [ 234.024683][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.024689][ T73] ret_from_fork+0x1db/0x270 [ 234.024694][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.024699][ T73] ret_from_fork_asm+0x11/0x20 [ 234.024714][ T73] [ 234.024716][ T73] [ 234.035476][ T73] Allocated by task 244: [ 234.035684][ T73] kasan_save_stack+0x24/0x40 [ 234.035961][ T73] kasan_save_track+0x14/0x30 [ 234.036219][ T73] __kasan_kmalloc+0x7b/0x90 [ 234.036483][ T73] __kvmalloc_node_noprof+0x2e5/0x8e0 [ 234.036755][ T73] alloc_netdev_mqs+0x7d/0x1310 [ 234.037012][ T73] sit_init_net+0x169/0x550 [ 234.037267][ T73] ops_init+0x189/0x550 [ 234.037465][ T73] setup_net+0xf1/0x380 [ 234.037656][ T73] copy_net_ns+0x21a/0x380 [ 234.037917][ T73] create_new_namespaces+0x35f/0x900 [ 234.038179][ T73] unshare_nsproxy_namespaces+0x89/0x120 [ 234.038437][ T73] ksys_unshare+0x2a3/0x660 [ 234.038713][ T73] __x64_sys_unshare+0x31/0x40 [ 234.038968][ T73] do_syscall_64+0xc1/0xfd0 [ 234.039228][ T73] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 234.039562][ T73] [ 234.039708][ T73] Freed by task 73: [ 234.039906][ T73] kasan_save_stack+0x24/0x40 [ 234.040194][ T73] kasan_save_track+0x14/0x30 [ 234.040489][ T73] __kasan_save_free_info+0x3b/0x60 [ 234.040754][ T73] __kasan_slab_free+0x3f/0x60 [ 234.041022][ T73] kfree+0x21d/0x540 [ 234.041226][ T73] device_release+0x9c/0x210 [ 234.041502][ T73] kobject_cleanup+0xfe/0x360 [ 234.041760][ T73] netdev_run_todo+0x81f/0xc60 [ 234.042024][ T73] ops_undo_list+0x714/0x890 [ 234.042290][ T73] cleanup_net+0x3b2/0x830 [ 234.042554][ T73] process_one_work+0xe35/0x1650 [ 234.042844][ T73] worker_thread+0x591/0xcf0 [ 234.043108][ T73] kthread+0x37b/0x5f0 [ 234.043314][ T73] ret_from_fork+0x1db/0x270 [ 234.043580][ T73] ret_from_fork_asm+0x11/0x20 [ 234.043886][ T73] [ 234.044024][ T73] The buggy address belongs to the object at ffff888005e11000 [ 234.044024][ T73] which belongs to the cache kmalloc-4k of size 4096 [ 234.044678][ T73] The buggy address is located 1692 bytes inside of [ 234.044678][ T73] freed 4096-byte region [ffff888005e11000, ffff888005e12000) [ 234.045327][ T73] [ 234.045510][ T73] The buggy address belongs to the physical page: [ 234.045847][ T73] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e10 [ 234.046323][ T73] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 234.046750][ T73] flags: 0x80000000000040(head|node=0|zone=1) [ 234.047095][ T73] page_type: f5(slab) [ 234.047318][ T73] raw: 0080000000000040 ffff888001043700 ffffea000029bc10 ffffea0000078210 [ 234.047831][ T73] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 234.048298][ T73] head: 0080000000000040 ffff888001043700 ffffea000029bc10 ffffea0000078210 [ 234.048780][ T73] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 234.049262][ T73] head: 0080000000000003 ffffea0000178401 00000000ffffffff 00000000ffffffff [ 234.049733][ T73] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 234.050201][ T73] page dumped because: kasan: bad access detected [ 234.050525][ T73] [ 234.050682][ T73] Memory state around the buggy address: [ 234.050934][ T73] ffff888005e11580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 234.051326][ T73] ffff888005e11600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 234.051749][ T73] >ffff888005e11680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 234.052144][ T73] ^ [ 234.052417][ T73] ffff888005e11700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 234.052813][ T73] ffff888005e11780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 234.053192][ T73] ================================================================== [ 234.053822][ T73] Disabling lock debugging due to kernel taint [ 234.054208][ T73] ------------[ cut here ]------------ [ 234.054474][ T73] refcount_t: underflow; use-after-free. [ 234.054795][ T73] WARNING: CPU: 3 PID: 73 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0 [ 234.055308][ T73] Modules linked in: cls_matchall [ 234.055626][ T73] CPU: 3 UID: 0 PID: 73 Comm: kworker/u16:1 Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full) [ 234.056245][ T73] Tainted: [B]=BAD_PAGE [ 234.056497][ T73] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 234.056868][ T73] Workqueue: netns cleanup_net [ 234.057188][ T73] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0 [ 234.057547][ T73] Code: a2 b5 02 80 fb 01 0f 87 db 6e d8 fe 83 e3 01 0f 85 51 ff ff ff c6 05 c2 a2 b5 02 01 90 48 c7 c7 60 a8 05 9d e8 72 c3 17 ff 90 <0f> 0b 90 90 e9 33 ff ff ff 48 89 df e8 20 69 a0 ff e9 ba fe ff ff [ 234.058510][ T73] RSP: 0018:ffffc900004e7a08 EFLAGS: 00010282 [ 234.058872][ T73] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 234.059291][ T73] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 234.059704][ T73] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff3b3e134 [ 234.060116][ T73] R10: 0000000000000003 R11: ffffc900004e7580 R12: 0000000000000001 [ 234.060539][ T73] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100 [ 234.060965][ T73] FS: 0000000000000000(0000) GS:ffff888097501000(0000) knlGS:0000000000000000 [ 234.061427][ T73] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 234.061784][ T73] CR2: 00007ffe0f05b558 CR3: 000000000c0be001 CR4: 0000000000772ef0 [ 234.062203][ T73] PKRU: 55555554 [ 234.062419][ T73] Call Trace: [ 234.062657][ T73] [ 234.062805][ T73] netdev_run_todo+0x5f0/0xc60 [ 234.063083][ T73] ? dev_ingress_queue_create+0x190/0x190 [ 234.063348][ T73] ? unregister_netdevice_many+0x20/0x20 [ 234.063618][ T73] ? generic_xdp_install+0x410/0x410 [ 234.063854][ T73] ? __lock_release+0x5d/0x170 [ 234.064117][ T73] ops_undo_list+0x714/0x890 [ 234.064362][ T73] ? netns_get+0x110/0x110 [ 234.064661][ T73] ? cleanup_net+0x2d6/0x830 [ 234.064938][ T73] cleanup_net+0x3b2/0x830 [ 234.065221][ T73] ? net_passive_dec+0x190/0x190 [ 234.065495][ T73] ? rcu_is_watching+0x12/0xb0 [ 234.065781][ T73] process_one_work+0xe35/0x1650 [ 234.066063][ T73] ? pwq_dec_nr_in_flight+0x550/0x550 [ 234.066336][ T73] ? assign_work+0x168/0x240 [ 234.066613][ T73] worker_thread+0x591/0xcf0 [ 234.066903][ T73] ? rescuer_thread+0xd10/0xd10 [ 234.067166][ T73] kthread+0x37b/0x5f0 [ 234.067371][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.067653][ T73] ? ret_from_fork+0x1b/0x270 [ 234.067916][ T73] ? __lock_release+0x5d/0x170 [ 234.068188][ T73] ? rcu_is_watching+0x12/0xb0 [ 234.068449][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.068732][ T73] ret_from_fork+0x1db/0x270 [ 234.069024][ T73] ? kthread_is_per_cpu+0xc0/0xc0 [ 234.069288][ T73] ret_from_fork_asm+0x11/0x20 [ 234.069559][ T73] [ 234.069771][ T73] irq event stamp: 119457 [ 234.069966][ T73] hardirqs last enabled at (119457): [] finish_task_switch.isra.0+0x245/0x960 [ 234.070508][ T73] hardirqs last disabled at (119456): [] __schedule+0x94a/0x1b10 [ 234.070997][ T73] softirqs last enabled at (119284): [] handle_softirqs+0x352/0x610 [ 234.071468][ T73] softirqs last disabled at (119277): [] irq_exit_rcu+0xab/0x100 [ 234.071944][ T73] ---[ end trace 0000000000000000 ]--- [ 234.095427][ T73] bond0: (slave eth1): Removing an active aggregator [ 234.096084][ T73] bond0: (slave eth1): Releasing backup interface [ 234.370768][ T73] bond0 (unregistering): Released all slaves