ci starts bisection 2023-03-03 15:36:55.491624487 +0000 UTC m=+192141.862877385 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: 9f1c6f321ff754bbadf2a507a5a6ff82cd60ee04060babe6141d0c444fc40fcb all runs: crashed: INFO: task hung in blkdev_fallocate testing current HEAD 2eb29d59ddf02e39774abfb60b2030b0b7e27c1f testing commit 2eb29d59ddf02e39774abfb60b2030b0b7e27c1f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 438588707b431ee022b645bf5c79f1cbcdd58d738a1a818ae6c98790f154a918 all runs: crashed: INFO: task hung in blkdev_fallocate revisions tested: 2, total time: 31m4.356626311s (build: 18m17.103258426s, test: 11m42.140058697s) the crash still happens on HEAD commit msg: Merge tag 'drm-next-2023-03-03-1' of git://anongit.freedesktop.org/drm/drm crash: INFO: task hung in blkdev_fallocate INFO: task syz-executor.0:5597 blocked for more than 143 seconds. Not tainted 6.2.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27928 pid:5597 ppid:5489 flags:0x00004004 Call Trace: __schedule+0x17b7/0x4960 schedule+0xc3/0x180 schedule_preempt_disabled+0x13/0x20 rwsem_down_write_slowpath+0xedd/0x13a0 __down_write_common+0x1aa/0x200 blkdev_fallocate+0x1a8/0x2e0 vfs_fallocate+0x3ae/0x530 do_madvise+0x12ad/0x3440 __x64_sys_madvise+0xa0/0xb0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4e9ee8c0a9 RSP: 002b:00007f4e9fc01168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f4e9efac050 RCX: 00007f4e9ee8c0a9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f4e9eee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe77aa9f5f R14: 00007f4e9fc01300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf19450 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf19c50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by khungtaskd/28: #0: ffffffff8bf19280 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4737: #0: ffff888149f2f098 (&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 2 locks held by syz-executor.0/5595: 1 lock held by syz-executor.0/5597: #0: ffff8880154676c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a8/0x2e0 1 lock held by syz-executor.0/6216: #0: ffff8880154676c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x10f/0x650 1 lock held by syz-executor.0/6217: #0: ffff8880154676c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a8/0x2e0 1 lock held by syz-executor.0/6234: #0: ffff8880154676c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x10f/0x650 1 lock held by syz-executor.0/6235: #0: ffff8880154676c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1a8/0x2e0 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: dump_stack_lvl+0x167/0x220 nmi_cpu_backtrace+0x381/0x3f0 nmi_trigger_cpumask_backtrace+0x138/0x310 watchdog+0xb78/0xbc0 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5595 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:lockdep_hardirqs_on_prepare+0x177/0x7a0 Code: 65 20 0f 00 75 33 48 c7 c0 c5 bd 3d 8d 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 80 05 00 00 80 3d 54 52 dc 0b 00 0f 85 9a 03 00 00 <65> 8b 05 36 1a a1 7e 85 c0 0f 85 f4 03 00 00 65 48 8b 05 72 48 a2 RSP: 0018:ffffc90004ad5de0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff9200095abc4 RCX: ffffffff9081d003 RDX: dffffc0000000000 RSI: ffffffff89ea89c0 RDI: ffffffff8a386380 RBP: ffffc90004ad5e88 R08: dffffc0000000000 R09: fffffbfff1a7bd9e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200095abf4 R13: ffffc90004ad5fa0 R14: ffffc90004ad5e20 R15: 1ffff9200095abc0 FS: 00007f4e9fc22700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e718119600 CR3: 000000006d6b0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x40 uncharge_batch+0x321/0x4f0 __mem_cgroup_uncharge_list+0xfc/0x150 shrink_folio_list+0x5fde/0x66e0 shrink_lruvec+0x11fd/0x2510 shrink_node+0x103f/0x2210 do_try_to_free_pages+0x6e4/0x1570 try_to_free_mem_cgroup_pages+0x404/0x9f0 reclaim_high+0x1e5/0x270 mem_cgroup_handle_over_high+0x14a/0x2b0 try_charge_memcg+0x13b5/0x16d0 charge_memcg+0x11a/0x3f0 __mem_cgroup_charge+0x27/0x80 __filemap_add_folio+0xbf1/0x13d0 filemap_add_folio+0xfa/0x3d0 page_cache_ra_unbounded+0x1f5/0x650 do_sync_mmap_readahead+0x6d4/0x8f0 filemap_fault+0x654/0x1250 __do_fault+0x10f/0x380 handle_mm_fault+0x14b9/0x3ce0 __get_user_pages+0x3e4/0xce0 populate_vma_page_range+0x216/0x2e0 __mm_populate+0x21b/0x380 vm_mmap_pgoff+0x20b/0x2b0 ksys_mmap_pgoff+0x42c/0x5d0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4e9ee8c0a9 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:00007f4e9fc22168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f4e9efabf80 RCX: 00007f4e9ee8c0a9 RDX: 000000000000000a RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f4e9eee7ae9 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe77aa9f5f R14: 00007f4e9fc22300 R15: 0000000000022000