INFO: task kworker/u8:1:12 blocked for more than 143 seconds. Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:19856 pid:12 tgid:12 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-bcachefs-39) Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1308 folio_lock include/linux/pagemap.h:1151 [inline] writeback_get_folio mm/page-writeback.c:2515 [inline] writeback_iter+0x8ad/0x12b0 mm/page-writeback.c:2609 write_cache_pages+0xb1/0x230 mm/page-writeback.c:2658 bch2_writepages+0x156/0x390 fs/bcachefs/fs-io-buffered.c:639 do_writepages+0x35f/0x880 mm/page-writeback.c:2702 __writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x820/0x1360 fs/fs-writeback.c:1976 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2047 wb_writeback+0x427/0xb80 fs/fs-writeback.c:2158 wb_check_background_flush fs/fs-writeback.c:2228 [inline] wb_do_writeback fs/fs-writeback.c:2316 [inline] wb_workfn+0xc4b/0x1080 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz.2.168:7556 blocked for more than 144 seconds. Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.168 state:D stack:25232 pid:7556 tgid:7552 ppid:5820 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 f2fs_balance_fs+0x4bf/0x810 fs/f2fs/segment.c:438 f2fs_map_blocks+0x4447/0x4e70 fs/f2fs/data.c:1792 f2fs_expand_inode_data+0x6db/0xca0 fs/f2fs/file.c:1837 f2fs_fallocate+0x537/0xa10 fs/f2fs/file.c:1940 vfs_fallocate+0x569/0x6e0 fs/open.c:327 do_vfs_ioctl+0x258c/0x2e40 fs/ioctl.c:885 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x80/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f35b6385d29 RSP: 002b:00007f35b71ce038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f35b6576080 RCX: 00007f35b6385d29 RDX: 00000000200000c0 RSI: 0000000040305828 RDI: 0000000000000009 RBP: 00007f35b6401aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f35b6576080 R15: 00007ffcfde1f7c8 INFO: task syz.2.168:7583 blocked for more than 145 seconds. Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.168 state:D stack:26960 pid:7583 tgid:7552 ppid:5820 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:818 [inline] finish_preallocate_blocks fs/f2fs/file.c:559 [inline] f2fs_file_open+0x11b/0x3a0 fs/f2fs/file.c:612 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_creat fs/open.c:1495 [inline] __se_sys_creat fs/open.c:1489 [inline] __x64_sys_creat+0x123/0x170 fs/open.c:1489 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f35b6385d29 RSP: 002b:00007f35b71ad038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f35b6576160 RCX: 00007f35b6385d29 RDX: 0000000000000000 RSI: ecf86c37d53049cc RDI: 0000000020000280 RBP: 00007f35b6401aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f35b6576160 R15: 00007ffcfde1f7c8 INFO: task syz.5.191:7579 blocked for more than 146 seconds. Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.191 state:D stack:20224 pid:7579 tgid:7576 ppid:5964 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1308 folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3194 truncate_inode_partial_folio+0x169/0x5e0 mm/truncate.c:192 truncate_inode_pages_range+0x6f3/0x10e0 mm/truncate.c:338 bchfs_fpunch+0x1c1/0x780 fs/bcachefs/fs-io.c:514 bch2_fallocate_dispatch+0x3e4/0x540 fs/bcachefs/fs-io.c:782 vfs_fallocate+0x569/0x6e0 fs/open.c:327 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:356 [inline] __se_sys_fallocate fs/open.c:354 [inline] __x64_sys_fallocate+0xbc/0x110 fs/open.c:354 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f352bb85d29 RSP: 002b:00007f352c8ec038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f352bd76080 RCX: 00007f352bb85d29 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 00007f352bc01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002328 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f352bd76080 R15: 00007ffdc2ea78a8 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff888020a8a948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888020a8a948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff8880307f40e0 (&type->s_umount_key#79){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:6/3505: #0: ffff888020a8a948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888020a8a948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000c917d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000c917d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88802fe260e0 (&type->s_umount_key#87){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 1 lock held by dhcpcd/5487: #0: ffffffff8fca0788 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fca0788 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x31a/0x1ac0 net/ipv4/devinet.c:1129 2 locks held by getty/5575: #0: ffff8880320f50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:8/5904: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900043ffd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900043ffd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 3 locks held by syz.2.168/7556: #0: ffff88802fe26420 (sb_writers#29){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff88802fe26420 (sb_writers#29){.+.+}-{0:0}, at: vfs_fallocate+0x4fe/0x6e0 fs/open.c:326 #1: ffff888054a8bec0 (&sb->s_type->i_mutex_key#36){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888054a8bec0 (&sb->s_type->i_mutex_key#36){+.+.}-{4:4}, at: f2fs_fallocate+0x26d/0xa10 fs/f2fs/file.c:1905 #2: ffff888029f79498 (&sbi->pin_sem){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2204 [inline] #2: ffff888029f79498 (&sbi->pin_sem){+.+.}-{4:4}, at: f2fs_expand_inode_data+0x68e/0xca0 fs/f2fs/file.c:1828 2 locks held by syz.2.168/7583: #0: ffff88802fe26420 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888054a8bec0 (&sb->s_type->i_mutex_key#36){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888054a8bec0 (&sb->s_type->i_mutex_key#36){+.+.}-{4:4}, at: finish_preallocate_blocks fs/f2fs/file.c:559 [inline] #1: ffff888054a8bec0 (&sb->s_type->i_mutex_key#36){+.+.}-{4:4}, at: f2fs_file_open+0x11b/0x3a0 fs/f2fs/file.c:612 2 locks held by syz.5.191/7577: #0: ffff88802558e638 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x254/0x320 fs/file.c:1191 #1: ffff8880307f4420 (sb_writers#24){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #1: ffff8880307f4420 (sb_writers#24){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 2 locks held by syz.5.191/7579: #0: ffff8880307f4420 (sb_writers#24){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff8880307f4420 (sb_writers#24){.+.+}-{0:0}, at: vfs_fallocate+0x4fe/0x6e0 fs/open.c:326 #1: ffff8880591ba6c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff8880591ba6c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: bch2_fallocate_dispatch+0x1e2/0x540 fs/bcachefs/fs-io.c:771 5 locks held by f2fs_gc-7:2/7578: 2 locks held by syz.3.236/7878: #0: ffff88802fe260e0 (&type->s_umount_key#87){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802fe260e0 (&type->s_umount_key#87){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88814331e7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff88814331e7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 2 locks held by syz-executor/7961: #0: ffff8880472fcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff8880472fcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff8880472fc078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 2 locks held by syz.0.261/8044: #0: ffff88802fe260e0 (&type->s_umount_key#87){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802fe260e0 (&type->s_umount_key#87){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88814331e7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff88814331e7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 4 locks held by kworker/u8:11/8070: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000b61fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000b61fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fc942d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffffffff8fca0788 (rtnl_mutex){+.+.}-{4:4}, at: cleanup_net+0x6af/0xd50 net/core/net_namespace.c:638 2 locks held by syz-executor/8951: #0: ffff888053524d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff888053524d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff888053524078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 3 locks held by syz-executor/8956: #0: ffff8880530f8d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff8880530f8d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff8880530f8078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.4.359/9045: #0: ffffffff8fca0788 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fca0788 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 2 locks held by syz.8.358/9049: #0: ffff88804bca0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88804bca0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff88804bca0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7578 Comm: f2fs_gc-7:2 Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:debug_check_no_obj_freed+0x1c8/0x580 lib/debugobjects.c:1129 Code: 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 48 c1 ea 0c 48 8d 84 24 a0 00 00 00 48 8d 70 20 48 89 74 24 40 48 83 c0 10 48 89 44 24 10 <45> 31 f6 4c 89 64 24 68 4c 89 6c 24 78 eb 1d 45 01 fe 48 8b 4c 24 RSP: 0018:ffffc900000079e0 EFLAGS: 00000286 RAX: ffffc90000007a90 RBX: ffffffff81f86f12 RCX: ffff88804c2c1000 RDX: 0000000000000001 RSI: ffffc90000007aa0 RDI: ffffc90000007aa8 RBP: ffffc90000007b38 R08: ffffc90000007aa7 R09: 0000000000000000 R10: ffffc90000007a80 R11: fffff52000000f55 R12: ffff88804c2c12a0 R13: ffff88804c2c1280 R14: 0000000000000000 R15: ffffea000130b040 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd28a5cd58 CR3: 000000005e10a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: slab_free_hook mm/slub.c:2284 [inline] slab_free mm/slub.c:4613 [inline] kfree+0x115/0x430 mm/slub.c:4761 slab_free_after_rcu_debug+0x62/0x280 mm/slub.c:4650 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:in_lock_functions+0xe/0x30 kernel/locking/spinlock.c:412 Code: e8 97 4d 87 00 e9 62 ff ff ff 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 c7 c0 d0 85 c3 8b 48 39 c7 <0f> 93 c0 48 c7 c1 ba bf c3 8b 48 39 cf 0f 92 c1 20 c1 0f b6 c1 c3 RSP: 0018:ffffc90004feeb88 EFLAGS: 00000287 RAX: ffffffff8bc385d0 RBX: 0000000000000001 RCX: ffffffff9a377903 RDX: dffffc0000000000 RSI: ffffffff83ff10c5 RDI: ffffffff814ba930 RBP: ffffc90004feecb8 R08: 0000000000000005 R09: ffffc90004feed70 R10: ffffc90004feecd0 R11: ffffffff818b39d0 R12: dffffc0000000000 R13: ffffc90004feec80 R14: ffffffff814ba930 R15: dffffc0000000000 get_lock_parent_ip include/linux/ftrace.h:999 [inline] preempt_latency_start kernel/sched/core.c:5829 [inline] preempt_count_add+0x93/0x190 kernel/sched/core.c:5854 unwind_next_frame+0xb0/0x22d0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:544 slab_free_hook mm/slub.c:2314 [inline] slab_free mm/slub.c:4613 [inline] kmem_cache_free+0x2fb/0x410 mm/slub.c:4715 f2fs_submit_page_read+0x121/0x190 fs/f2fs/data.c:1116 f2fs_get_read_data_page+0x5b1/0xb30 fs/f2fs/data.c:1275 f2fs_get_lock_data_page+0x55/0x440 fs/f2fs/data.c:1323 move_data_page fs/f2fs/gc.c:1454 [inline] gc_data_segment fs/f2fs/gc.c:1678 [inline] do_garbage_collect+0x3c91/0x80e0 fs/f2fs/gc.c:1822 f2fs_gc+0xf3a/0x2f60 fs/f2fs/gc.c:1926 gc_thread_func+0xc2d/0x2d10 fs/f2fs/gc.c:155 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244