ci starts bisection 2023-05-04 01:26:37.725922598 +0000 UTC m=+46733.130436778 bisecting fixing commit since 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c building syzkaller on 9da18ae8fa827d046ef8da48cc23c97418553c23 ensuring issue is reproducible on original commit 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c testing commit 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bca353751ab97412e0ece1f22701421c0add293ce4eadac3b9594fc6869a808b all runs: crashed: INFO: task hung in blkdev_fallocate testing current HEAD fa31fc82fb775445c176e576304c4098222f47f2 testing commit fa31fc82fb775445c176e576304c4098222f47f2 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8aadf6b7e5777fc458d6eb041d80e88fb603a207a2f078b67106bd64bf3079a5 all runs: crashed: INFO: task hung in blkdev_fallocate revisions tested: 2, total time: 30m22.761711517s (build: 17m49.327411307s, test: 11m55.163779169s) the crash still happens on HEAD commit msg: Merge tag 'pm-6.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm crash: INFO: task hung in blkdev_fallocate INFO: task syz-executor.0:5428 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27832 pid:5428 ppid:5325 flags:0x00004004 Call Trace: __schedule+0x1859/0x48c0 schedule+0xc3/0x180 schedule_preempt_disabled+0x13/0x20 rwsem_down_write_slowpath+0xedd/0x13a0 __down_write_common+0x1aa/0x200 blkdev_fallocate+0x1a5/0x2e0 vfs_fallocate+0x3ae/0x530 do_madvise+0x1428/0x35d0 __x64_sys_madvise+0xa0/0xb0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd9f8c8c0a9 RSP: 002b:00007fd9f9ab5168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007fd9f8dac050 RCX: 00007fd9f8c8c0a9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007fd9f8ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffea104def R14: 00007fd9f9ab5300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8bf18cd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by rcu_tasks_trace/14: #0: ffffffff8bf19090 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by khungtaskd/28: #0: ffffffff8bf18b00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4726: #0: ffff88814abfa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x60 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ed/0x1880 1 lock held by syz-executor.0/5424: 1 lock held by syz-executor.0/5428: #0: ffff8880154af6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a5/0x2e0 1 lock held by syz-executor.0/5716: #0: ffff8880154af6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x10f/0x650 1 lock held by syz-executor.0/5717: #0: ffff8880154af6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a5/0x2e0 1 lock held by syz-executor.0/5734: #0: ffff8880154af6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x10f/0x650 1 lock held by syz-executor.0/5735: #0: ffff8880154af6b0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a5/0x2e0 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: dump_stack_lvl+0x167/0x220 nmi_cpu_backtrace+0x34f/0x380 nmi_trigger_cpumask_backtrace+0x103/0x1f0 watchdog+0xa7c/0xac0 kthread+0x276/0x2f0 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5424 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__count_memcg_events+0x1e4/0x380 Code: df 89 c6 e8 4e e9 ab ff 48 c7 c7 20 fc f5 89 e8 62 b4 d9 07 48 8b 4c 24 18 89 c8 f7 d8 0f 48 c1 89 c3 65 0f c1 1d 54 a5 38 7e <01> c3 83 fb 41 48 ba 00 00 00 00 00 fc ff df 72 7e 48 c7 c7 00 e3 RSP: 0018:ffffc9000404f040 EFLAGS: 00000006 RAX: 0000000000000001 RBX: 000000000000001a RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff89f5fc20 RDI: ffffffff8a382a00 RBP: ffffc9000404f0f0 R08: dffffc0000000000 R09: fffffbfff1a7d2d6 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 1ffff92000809e0c R14: 0000607f46035f80 R15: ffff888023a4e000 FS: 00007fd9f9ad6700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556c05a69600 CR3: 000000001f44d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: charge_memcg+0x21d/0x3f0 __mem_cgroup_charge+0x27/0x80 __filemap_add_folio+0xb5a/0x12f0 filemap_add_folio+0xfa/0x3d0 page_cache_ra_unbounded+0x1f5/0x650 do_sync_mmap_readahead+0x6d8/0x900 filemap_fault+0x6ed/0x12f0 __do_fault+0x10f/0x380 handle_mm_fault+0x1480/0x41f0 __get_user_pages+0x44b/0xda0 populate_vma_page_range+0x216/0x2e0 __mm_populate+0x21b/0x380 vm_mmap_pgoff+0x292/0x380 ksys_mmap_pgoff+0x42c/0x5d0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd9f8c8c0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007fd9f9ad6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fd9f8dabf80 RCX: 00007fd9f8c8c0a9 RDX: 000000000000000a RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fd9f8ce7ae9 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffea104def R14: 00007fd9f9ad6300 R15: 0000000000022000