INFO: task syz.1.176:7031 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.176 state:D stack:22272 pid:7031 tgid:7030 ppid:6873 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6674 __schedule_loop kernel/sched/core.c:6751 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6766 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6823 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580 __super_lock fs/super.c:56 [inline] super_lock+0x196/0x400 fs/super.c:120 user_get_super+0xd2/0x180 fs/super.c:1000 quotactl_block fs/quota/quota.c:890 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl+0x527/0xa30 fs/quota/quota.c:917 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:0x7f027bb7def9 RSP: 002b:00007f027ca3c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f027bd35f80 RCX: 00007f027bb7def9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: ffffffff80000200 RBP: 00007f027bbf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f027bd35f80 R15: 00007ffcf672c8f8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 3 locks held by kworker/u8:8/2882: 2 locks held by getty/4978: #0: ffff888032cb20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/6428: 2 locks held by syz-executor/6522: #0: ffff888067b6e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888067b6e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888067b6e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed586a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.1.176/7031: #0: ffff888067b6e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888067b6e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 1 lock held by syz.3.200/7209: #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.239/7381: #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.283/7743: #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807b97e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz.4.290/7760: #0: ffff888068b4a0e0 (&type->s_umount_key#55/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ed586a8 (jfs_log_mutex){+.+.}-{3:3}, at: open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] #1: ffffffff8ed586a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogOpen+0x1b2/0x1040 fs/jfs/jfs_logmgr.c:1066 2 locks held by syz-executor/7777: #0: ffff8880276320e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880276320e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880276320e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed586a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.1.374/8322: #0: ffff8880565100e0 (&type->s_umount_key#74/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.3.370/8325: 4 locks held by syz.4.354/8327: 2 locks held by syz.2.375/8330: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 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: 8327 Comm: syz.4.354 Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x82/0x290 mm/kasan/generic.c:189 Code: 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd <41> 80 3b 00 0f 85 c9 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00 RSP: 0018:ffffc90000007810 EFLAGS: 00000082 RAX: 00f2f2f200f2f201 RBX: 1ffff92000000f28 RCX: ffffffff84b78997 RDX: 0000000000000001 RSI: 0000000000000080 RDI: ffffc90000007940 RBP: fffffffffffffff1 R08: ffffc900000079bf R09: 1ffff92000000f37 R10: dffffc0000000000 R11: fffff52000000f29 R12: ffff8880311dc578 R13: dffffc0000000000 R14: dffffc0000000001 R15: fffff52000000f38 FS: 00007f0461b9d6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555b5ab5c8 CR3: 000000006bdc6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __asan_memset+0x23/0x50 mm/kasan/shadow.c:84 __free_object+0xa7/0xa80 lib/debugobjects.c:337 __debug_check_no_obj_freed lib/debugobjects.c:994 [inline] debug_check_no_obj_freed+0x293/0x580 lib/debugobjects.c:1019 slab_free_hook mm/slub.c:2274 [inline] slab_free mm/slub.c:4580 [inline] kmem_cache_free+0x11f/0x420 mm/slub.c:4682 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5826 Code: 2b 00 74 08 4c 89 f7 e8 1a d2 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90004aff5e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200095fec8 RCX: 1d7f548894ccd900 RDX: dffffc0000000000 RSI: ffffffff8c0adbc0 RDI: ffffffff8c5ffc80 RBP: ffffc90004aff730 R08: ffffffff942237c7 R09: 1ffffffff28446f8 R10: dffffc0000000000 R11: fffffbfff28446f9 R12: 1ffff9200095fec4 R13: dffffc0000000000 R14: ffffc90004aff640 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] get_mem_cgroup_from_mm+0x55/0x2a0 mm/memcontrol.c:917 __mem_cgroup_charge+0x16/0x80 mm/memcontrol.c:4482 mem_cgroup_charge include/linux/memcontrol.h:694 [inline] shmem_alloc_and_add_folio+0x8a1/0x13d0 mm/shmem.c:1823 shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2335 shmem_get_folio mm/shmem.c:2441 [inline] shmem_write_begin+0x17e/0x460 mm/shmem.c:3046 generic_perform_write+0x344/0x6d0 mm/filemap.c:4050 shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3221 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xa6d/0xc90 fs/read_write.c:683 ksys_write+0x1a0/0x2c0 fs/read_write.c:736 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:0x7f0460d7c9df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48 RSP: 002b:00007f0461b9cdf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000013bd7ef RCX: 00007f0460d7c9df RDX: 00000000013bd7ef RSI: 00007f0456400000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000552d R10: 00000000000003cc R11: 0000000000000293 R12: 0000000000000003 R13: 00007f0461b9cef0 R14: 00007f0461b9ceb0 R15: 00007f0456400000