INFO: task syz-executor.4:30271 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 minix_free_block (loop4:40): bit already cleared "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Trying to free block not in datazone Trying to free block not in datazone syz-executor.4 D28256 30271 8954 0x00000004 attempt to access beyond end of device loop3: rw=2049, want=100, limit=98 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 buffer_io_error: 80 callbacks suppressed Buffer I/O error on dev loop3, logical block 49, lost async page write attempt to access beyond end of device loop3: rw=2049, want=102, limit=98 Buffer I/O error on dev loop3, logical block 50, lost async page write attempt to access beyond end of device schedule+0x8d/0x1b0 kernel/sched/core.c:3561 loop3: rw=2049, want=104, limit=98 schedule_timeout+0x4cf/0xfe0 kernel/time/timer.c:1818 Buffer I/O error on dev loop3, logical block 51, lost async page write do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 usb_start_wait_urb+0x14b/0x4c0 drivers/usb/core/message.c:62 attempt to access beyond end of device usb_bulk_msg+0x226/0x550 drivers/usb/core/message.c:253 proc_bulk+0x3de/0x860 drivers/usb/core/devio.c:1211 usbdev_do_ioctl+0x696/0x3030 drivers/usb/core/devio.c:2435 loop3: rw=2049, want=106, limit=98 Buffer I/O error on dev loop3, logical block 52, lost async page write attempt to access beyond end of device loop3: rw=2049, want=110, limit=98 Buffer I/O error on dev loop3, logical block 54, lost async page write attempt to access beyond end of device usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2585 loop3: rw=2049, want=112, limit=98 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 Buffer I/O error on dev loop3, logical block 55, lost async page write attempt to access beyond end of device loop3: rw=2049, want=114, limit=98 Buffer I/O error on dev loop3, logical block 56, lost async page write attempt to access beyond end of device loop3: rw=2049, want=116, limit=98 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 Buffer I/O error on dev loop3, logical block 57, lost async page write do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 attempt to access beyond end of device entry_SYSCALL_64_after_hwframe+0x49/0xbe loop3: rw=2049, want=118, limit=98 RIP: 0033:0x7f36e04e25a9 Buffer I/O error on dev loop3, logical block 58, lost async page write Code: Bad RIP value. attempt to access beyond end of device RSP: 002b:00007f36dee55168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 loop3: rw=2049, want=100, limit=98 Buffer I/O error on dev loop3, logical block 49, lost async page write RAX: ffffffffffffffda RBX: 00007f36e0602f80 RCX: 00007f36e04e25a9 RDX: 0000000020000000 RSI: 00000000c0185502 RDI: 0000000000000003 RBP: 00007f36e053d580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeac49429f R14: 00007f36dee55300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 0000000001fb33c5 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 00000000e4929532 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor.0/8122: #0: 000000005b9c8df7 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 #1: 000000007dcb718f (loop_ctl_mutex){+.+.}, at: lo_open+0x19/0xd0 drivers/block/loop.c:1771 2 locks held by syz-executor.3/8129: #0: 00000000ab5186d5 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806 #1: 000000007dcb718f (loop_ctl_mutex){+.+.}, at: __loop_clr_fd+0x88/0xe50 drivers/block/loop.c:1080 1 lock held by syz-executor.2/17098: ============================================= minix_free_block (loop4:40): bit already cleared NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Trying to free block not in datazone Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: Trying to free block not in datazone NMI backtrace for cpu 0 CPU: 0 PID: 5395 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:cpuacct_charge+0x13f/0x350 kernel/sched/cpuacct.c:350 Code: 49 bd 00 00 00 00 00 fc ff df 48 8b 6d 10 48 85 ed 0f 84 8c 00 00 00 48 8d bd 30 01 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 b6 01 00 00 48 8b 9d 30 01 00 00 e8 5f 1e 2d 02 89 c0 48 8d RSP: 0018:ffff8880ba007b58 EFLAGS: 00000046 RAX: 1ffffffff13ed6ee RBX: ffff8880a2656200 RCX: 0000000000000000 RDX: 1ffff110144a489a RSI: 00000000ffffffff RDI: ffffffff89f6b770 RBP: ffffffff89f6b640 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: ffffffff8c66501b R12: 00000000000023a0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880a2656200 FS: 00007fbd734b6700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82d76bd000 CR3: 00000000403d4000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cgroup_account_cputime include/linux/cgroup.h:767 [inline] update_curr+0x2ce/0x870 kernel/sched/fair.c:858 enqueue_entity+0xdba/0x3850 kernel/sched/fair.c:3955 enqueue_task_fair+0x12e/0x2270 kernel/sched/fair.c:5177 ttwu_activate kernel/sched/core.c:1639 [inline] ttwu_do_activate+0xce/0x1e0 kernel/sched/core.c:1698 ttwu_queue kernel/sched/core.c:1843 [inline] try_to_wake_up+0x700/0x1050 kernel/sched/core.c:2052 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1713 __run_hrtimer kernel/time/hrtimer.c:1465 [inline] __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1527 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1724 [inline] RIP: 0010:vprintk_emit+0x668/0x740 kernel/printk/printk.c:1964 Code: 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 0f 85 d9 00 00 00 48 83 3d 9c a2 a3 08 00 74 37 e8 7d a5 14 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 82 fe ff ff e8 69 a5 14 00 0f 0b e8 62 a5 14 00 RSP: 0018:ffff8880b435f8d0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff8880a2656200 RBX: 0000000000000293 RCX: 1ffff110144cad5a RDX: 0000000000000000 RSI: ffffffff814ddff3 RDI: 0000000000000293 RBP: ffff8880b435f910 R08: ffffffff8cd53e40 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000024 R13: 1ffffffff13e3051 R14: 0000000000000200 R15: 0000000000000001 vprintk_func+0x79/0x180 kernel/printk/printk_safe.c:405 printk+0xba/0xed kernel/printk/printk.c:2040 minix_free_block.cold+0x11/0x4c fs/minix/bitmap.c:51 free_data fs/minix/itree_common.c:271 [inline] truncate fs/minix/itree_common.c:320 [inline] V1_minix_truncate+0xac9/0xfe0 fs/minix/itree_v1.c:61 minix_truncate fs/minix/inode.c:682 [inline] minix_evict_inode+0x1ff/0x250 fs/minix/inode.c:32 evict+0x2ed/0x760 fs/inode.c:559 iput_final fs/inode.c:1555 [inline] iput+0x4f1/0x860 fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 fs/dcache.c:374 __dentry_kill+0x3c0/0x640 fs/dcache.c:566 dentry_kill+0xc4/0x510 fs/dcache.c:685 dput+0x55f/0x640 fs/dcache.c:846 do_renameat2+0xb69/0xc70 fs/namei.c:4633 __do_sys_rename fs/namei.c:4675 [inline] __se_sys_rename fs/namei.c:4673 [inline] __x64_sys_rename+0x5d/0x80 fs/namei.c:4673 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbd74b855a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbd734b6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fbd74ca6120 RCX: 00007fbd74b855a9 RDX: 0000000000000000 RSI: 0000000020000e00 RDI: 00000000200003c0 RBP: 00007fbd74be0580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee706290f R14: 00007fbd734b6300 R15: 0000000000022000