ref_tracker: reference already released. ref_tracker: freed in: ------------[ cut here ]------------ pool index 39647 out of bounds (1030) for stack id 32d89ae0 WARNING: CPU: 1 PID: 5825 at lib/stackdepot.c:451 depot_fetch_stack+0x95/0xc0 lib/stackdepot.c:451 Modules linked in: CPU: 1 UID: 0 PID: 5825 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00291-g2a239ffbebb5 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:depot_fetch_stack+0x95/0xc0 lib/stackdepot.c:451 Code: c7 d8 9a f9 8e e8 1b 65 6a 06 83 f8 01 75 b9 90 0f 0b 90 eb b3 90 48 c7 c7 90 15 af 8d 89 e9 44 89 ea 89 de e8 4c 8e 7a fc 90 <0f> 0b 90 90 31 c0 eb bc 90 0f 0b 90 31 c0 eb b4 90 0f 0b 90 31 c0 RSP: 0018:ffffc90000a08c50 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000009adf RCX: ffffffff817ac018 RDX: ffff8880651c9e00 RSI: ffffffff817ac025 RDI: 0000000000000001 RBP: 0000000032d89ae0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000016c0 R13: 0000000000000406 R14: 0000000032d89ae0 R15: ffff888032c15418 FS: 0000555580090500(0000) GS:ffff888124ae5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557f77608 CR3: 0000000061451000 CR4: 0000000000350ef0 Call Trace: stack_depot_fetch+0x28/0x60 lib/stackdepot.c:718 stack_depot_print+0x1f/0x60 lib/stackdepot.c:756 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252 netdev_tracker_free include/linux/netdevice.h:4351 [inline] netdev_put include/linux/netdevice.h:4368 [inline] netdev_put include/linux/netdevice.h:4364 [inline] in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258 in_dev_put include/linux/inetdevice.h:290 [inline] inet_rcu_free_ifa+0x93/0xb0 net/ipv4/devinet.c:228 rcu_do_batch kernel/rcu/tree.c:2568 [inline] rcu_core+0x79c/0x14e0 kernel/rcu/tree.c:2824 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x6b/0xc0 kernel/rcu/tree.c:736 Code: 75 5c 48 03 1c ed 00 8d ce 8d 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 <7c> 04 84 d2 75 24 8b 03 c1 e8 02 83 e0 01 65 ff 0d a0 d4 02 12 74 RSP: 0018:ffffc900040ff5d0 EFLAGS: 00000206 RAX: 0000000000000003 RBX: ffff8880b8532de8 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff8bf46e60 RDI: ffffffff8dce8d08 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000015e06 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x2cd/0x350 kernel/locking/lockdep.c:5829 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xd1/0x20a0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xb8/0xd0 mm/kasan/generic.c:548 __call_rcu_common.constprop.0+0x9a/0x9f0 kernel/rcu/tree.c:3082 kernfs_put.part.0+0x160/0x630 fs/kernfs/dir.c:591 kernfs_put fs/kernfs/dir.c:1721 [inline] kernfs_remove_by_name_ns+0xdf/0x110 fs/kernfs/dir.c:1715 kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:28 sysfs_remove_group+0x8b/0x180 fs/sysfs/group.c:322 sysfs_remove_groups fs/sysfs/group.c:346 [inline] sysfs_remove_groups+0x60/0xa0 fs/sysfs/group.c:338 __kobject_del+0x89/0x1f0 lib/kobject.c:595 kobject_cleanup lib/kobject.c:680 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x327/0x5a0 lib/kobject.c:737 f2fs_unregister_sysfs+0x7a/0xa0 fs/f2fs/sysfs.c:1795 f2fs_put_super+0xa9/0xef0 fs/f2fs/super.c:1613 generic_shutdown_super+0x156/0x390 fs/super.c:642 kill_block_super+0x3b/0x90 fs/super.c:1710 kill_f2fs_super+0x2e4/0x470 fs/f2fs/super.c:5032 deactivate_locked_super+0xc1/0x1a0 fs/super.c:473 deactivate_super fs/super.c:506 [inline] deactivate_super+0xde/0x100 fs/super.c:502 cleanup_mnt+0x225/0x450 fs/namespace.c:1435 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fee0058fc97 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffbf66f578 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fee0061089d RCX: 00007fee0058fc97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffbf66f630 RBP: 00007fffbf66f630 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffbf6706c0 R13: 00007fee0061089d R14: 000000000008ee40 R15: 00007fffbf670700 ---------------- Code disassembly (best guess): 0: 75 5c jne 0x5e 2: 48 03 1c ed 00 8d ce add -0x72317300(,%rbp,8),%rbx 9: 8d a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 11: fc ff df 14: 48 89 da mov %rbx,%rdx 17: 48 c1 ea 03 shr $0x3,%rdx 1b: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 1f: 48 89 d8 mov %rbx,%rax 22: 83 e0 07 and $0x7,%eax 25: 83 c0 03 add $0x3,%eax 28: 38 d0 cmp %dl,%al * 2a: 7c 04 jl 0x30 <-- trapping instruction 2c: 84 d2 test %dl,%dl 2e: 75 24 jne 0x54 30: 8b 03 mov (%rbx),%eax 32: c1 e8 02 shr $0x2,%eax 35: 83 e0 01 and $0x1,%eax 38: 65 ff 0d a0 d4 02 12 decl %gs:0x1202d4a0(%rip) # 0x1202d4df 3f: 74 .byte 0x74