syzbot


INFO: task hung in extent_writepages

Status: auto-obsoleted due to no activity on 2023/08/22 08:46
Reported-by: syzbot+5693a8db8808660c11ea@syzkaller.appspotmail.com
First crash: 381d, last: 381d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in extent_writepages 1 1d05h 1d05h 0/3 upstream: reported on 2024/05/08 07:03
upstream INFO: task hung in extent_writepages btrfs C inconclusive done 30 92d 280d 0/26 upstream: reported C repro on 2023/08/02 17:51

Sample crash report:
INFO: task kworker/u4:1:144 blocked for more than 143 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:1    state:D stack:20928 pid:  144 ppid:     2 flags:0x00004000
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 io_schedule+0x88/0x100 kernel/sched/core.c:8472
 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 extent_write_cache_pages fs/btrfs/extent_io.c:5007 [inline]
 extent_writepages+0x8fb/0x1590 fs/btrfs/extent_io.c:5156
 do_writepages+0x481/0x730 mm/page-writeback.c:2364
 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400
 start_delalloc_inodes+0x7df/0xca0 fs/btrfs/inode.c:10064
 btrfs_start_delalloc_roots+0x72f/0xa70 fs/btrfs/inode.c:10143
 shrink_delalloc fs/btrfs/space-info.c:538 [inline]
 flush_space+0x650/0xd50 fs/btrfs/space-info.c:646
 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:953
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
INFO: task kworker/u4:4:1128 blocked for more than 144 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:4    state:D stack:19264 pid: 1128 ppid:     2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-btrfs-877)
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 wait_on_state fs/btrfs/extent_io.c:868 [inline]
 wait_extent_bit+0x3f9/0x530 fs/btrfs/extent_io.c:906
 lock_extent_bits fs/btrfs/extent_io.c:1469 [inline]
 find_lock_delalloc_range+0x469/0x8f0 fs/btrfs/extent_io.c:2047
 writepage_delalloc+0x1a0/0x5a0 fs/btrfs/extent_io.c:3795
 __extent_writepage+0x57d/0xbc0 fs/btrfs/extent_io.c:4108
 extent_write_cache_pages fs/btrfs/extent_io.c:5029 [inline]
 extent_writepages+0xbbd/0x1590 fs/btrfs/extent_io.c:5156
 do_writepages+0x481/0x730 mm/page-writeback.c:2364
 __writeback_single_inode+0x15b/0xe30 fs/fs-writeback.c:1622
 writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1905
 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2079
 wb_do_writeback fs/fs-writeback.c:2222 [inline]
 wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2263
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
INFO: task kworker/1:6:3677 blocked for more than 145 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:6     state:D stack:23840 pid: 3677 ppid:     2 flags:0x00004000
Workqueue: events bio_dirty_fn
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 io_schedule+0x88/0x100 kernel/sched/core.c:8472
 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 set_page_dirty_lock+0xae/0xe0 mm/page-writeback.c:2633
 bio_release_pages+0x231/0x550 block/bio.c:1030
 bio_dirty_fn+0x6b/0xa0 block/bio.c:1385
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
INFO: task syz-executor.4:16226 blocked for more than 145 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:23264 pid:16226 ppid:  3642 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 io_schedule+0x88/0x100 kernel/sched/core.c:8472
 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 set_page_dirty_lock+0xae/0xe0 mm/page-writeback.c:2633
 bio_set_pages_dirty+0x1f3/0x2c0 block/bio.c:1349
 iomap_dio_bio_iter+0xb8d/0x1540 fs/iomap/direct-io.c:338
 __iomap_dio_rw+0xf9f/0x1f40 fs/iomap/direct-io.c:586
 iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:672
 btrfs_direct_read fs/btrfs/file.c:3788 [inline]
 btrfs_file_read_iter+0x3a1/0x6a0 fs/btrfs/file.c:3828
 do_iter_readv_writev+0x594/0x7a0
 do_iter_read+0x1ec/0x760 fs/read_write.c:790
 vfs_readv fs/read_write.c:910 [inline]
 do_preadv+0x211/0x350 fs/read_write.c:1002
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f98b239a169
RSP: 002b:00007f98b090c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000147
RAX: ffffffffffffffda RBX: 00007f98b24b9f80 RCX: 00007f98b239a169
RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 00007f98b23f5ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc61c18eff R14: 00007f98b090c300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:16271 blocked for more than 147 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:22752 pid:16271 ppid:  3642 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 io_schedule+0x88/0x100 kernel/sched/core.c:8472
 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 extent_write_cache_pages fs/btrfs/extent_io.c:5007 [inline]
 extent_writepages+0x8fb/0x1590 fs/btrfs/extent_io.c:5156
 do_writepages+0x481/0x730 mm/page-writeback.c:2364
 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400
 __filemap_fdatawrite_range mm/filemap.c:433 [inline]
 filemap_write_and_wait_range+0x19e/0x280 mm/filemap.c:704
 __iomap_dio_rw+0x897/0x1f40 fs/iomap/direct-io.c:557
 iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:672
 btrfs_direct_read fs/btrfs/file.c:3788 [inline]
 btrfs_file_read_iter+0x3a1/0x6a0 fs/btrfs/file.c:3828
 do_iter_readv_writev+0x594/0x7a0
 do_iter_read+0x1ec/0x760 fs/read_write.c:790
 vfs_readv fs/read_write.c:910 [inline]
 do_preadv+0x211/0x350 fs/read_write.c:1002
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f98b239a169
RSP: 002b:00007f98a94eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000147
RAX: ffffffffffffffda RBX: 00007f98b24ba050 RCX: 00007f98b239a169
RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 00007f98b23f5ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc61c18eff R14: 00007f98a94eb300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:16273 blocked for more than 148 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:27904 pid:16273 ppid:  3642 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
 __down_write_common kernel/locking/rwsem.c:1284 [inline]
 __down_write kernel/locking/rwsem.c:1293 [inline]
 down_write+0x164/0x170 kernel/locking/rwsem.c:1542
 inode_lock include/linux/fs.h:787 [inline]
 btrfs_inode_lock+0x49/0xd0 fs/btrfs/inode.c:124
 btrfs_buffered_write+0x20f/0x1270 fs/btrfs/file.c:1679
 btrfs_direct_write fs/btrfs/file.c:2038 [inline]
 btrfs_file_write_iter+0x975/0xc60 fs/btrfs/file.c:2086
 call_write_iter include/linux/fs.h:2103 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xacf/0xe50 fs/read_write.c:594
 ksys_write+0x1a2/0x2c0 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f98b239a169
RSP: 002b:00007f98a94ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f98b24ba120 RCX: 00007f98b239a169
RDX: 000000000000000f RSI: 0000000020000040 RDI: 0000000000000005
RBP: 00007f98b23f5ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc61c18eff R14: 00007f98a94ca300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:16275 blocked for more than 148 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:25720 pid:16275 ppid:  3642 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191
 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2659
 sync_filesystem+0xa0/0x220 fs/sync.c:54
 btrfs_remount+0x233/0x1650 fs/btrfs/super.c:1928
 reconfigure_super+0x3c5/0x7c0 fs/super.c:916
 do_remount fs/namespace.c:2656 [inline]
 path_mount+0xceb/0x10a0 fs/namespace.c:3316
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f98b239b69a
RSP: 002b:00007f98a94a8f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f98b239b69a
RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007f98a94a9020 R08: 00007f98a94a9020 R09: 0000000001a484bc
R10: 0000000001a484bc R11: 0000000000000206 R12: 00000000200000c0
R13: 0000000020000100 R14: 00007f98a94a8fe0 R15: 0000000020000480
 </TASK>
INFO: task syz-executor.4:16278 blocked for more than 149 seconds.
      Not tainted 5.15.108-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:25720 pid:16278 ppid:  3642 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
 __down_write_common kernel/locking/rwsem.c:1284 [inline]
 __down_write kernel/locking/rwsem.c:1293 [inline]
 down_write+0x164/0x170 kernel/locking/rwsem.c:1542
 do_remount fs/namespace.c:2653 [inline]
 path_mount+0xca4/0x10a0 fs/namespace.c:3316
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f98b239b69a
RSP: 002b:00007f98a9466f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f98b239b69a
RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007f98a9467020 R08: 00007f98a9467020 R09: 0000000001a484bc
R10: 0000000001a484bc R11: 0000000000000206 R12: 00000000200000c0
R13: 0000000020000100 R14: 00007f98a9466fe0 R15: 0000000020000480
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c91b920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:1/144:
 #0: ffff888011c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
 #1: ffffc900010afd20 ((work_completion)(&fs_info->async_reclaim_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
 #2: ffff88801f804eb0 (&fs_info->delalloc_root_mutex){+.+.}-{3:3}, at: btrfs_start_delalloc_roots+0x1c6/0xa70 fs/btrfs/inode.c:10124
 #3: ffff88801e596750 (&root->delalloc_mutex){+.+.}-{3:3}, at: start_delalloc_inodes+0x1a8/0xca0 fs/btrfs/inode.c:10029
2 locks held by kworker/u4:4/1128:
 #0: ffff888141dc4138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
 #1: ffffc90004fffd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
2 locks held by getty/3269:
 #0: ffff88814b1d8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
2 locks held by kworker/1:6/3677:
 #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
 #1: ffffc900036afd20 (bio_dirty_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
2 locks held by kworker/0:13/3930:
 #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
 #1: ffffc90004d67d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
3 locks held by kworker/0:14/3931:
 #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
 #1: ffffc9000116fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
 #2: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
 #2: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:840
2 locks held by kworker/u4:17/5592:
 #0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
 #1: ffffc9000440fd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
1 lock held by syz-executor.4/16226:
 #0: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline]
 #0: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: btrfs_inode_lock+0x5c/0xd0 fs/btrfs/inode.c:116
1 lock held by syz-executor.4/16271:
 #0: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline]
 #0: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: btrfs_inode_lock+0x5c/0xd0 fs/btrfs/inode.c:116
3 locks held by syz-executor.4/16273:
 #0: ffff888076e0c5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x261/0x300 fs/file.c:1073
 #1: ffff888034ac2460 (sb_writers#14){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 fs/read_write.c:590
 #2: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
 #2: ffff88803c81fbd0 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: btrfs_inode_lock+0x49/0xd0 fs/btrfs/inode.c:124
1 lock held by syz-executor.4/16275:
 #0: ffff888034ac20e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: do_remount fs/namespace.c:2653 [inline]
 #0: ffff888034ac20e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: path_mount+0xca4/0x10a0 fs/namespace.c:3316
1 lock held by syz-executor.4/16278:
 #0: ffff888034ac20e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: do_remount fs/namespace.c:2653 [inline]
 #0: ffff888034ac20e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: path_mount+0xca4/0x10a0 fs/namespace.c:3316
1 lock held by syz-executor.3/18829:
 #0: ffff888147483468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xe72/0xeb0 kernel/hung_task.c:295
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 5.15.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x1ac/0x290 mm/kasan/generic.c:189
Code: 4c 89 d5 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 39 00 0f 85 a2 00 00 00 49 ff c1 48 ff cd 75 ee 5b <41> 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 f7
RSP: 0018:ffffc90000ce7aa0 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81625e38
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de31968
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1bc632e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200019cf64
R13: ffffffff89f4d985 R14: fffffbfff1bc632e R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f0bcf8c190 CR3: 000000001aad5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 instrument_atomic_read include/linux/instrumented.h:71 [inline]
 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
 cpumask_test_cpu include/linux/cpumask.h:344 [inline]
 cpu_online include/linux/cpumask.h:895 [inline]
 trace_lock_release include/trace/events/lock.h:58 [inline]
 lock_release+0xa8/0x9a0 kernel/locking/lockdep.c:5633
 rcu_read_unlock include/linux/rcupdate.h:729 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline]
 batadv_nc_worker+0x239/0x5b0 net/batman-adv/network-coding.c:723
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/24 08:46 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in extent_writepages
* Struck through repros no longer work on HEAD.