syzbot


INFO: task hung in reiserfs_sync_fs

Status: upstream: reported C repro on 2022/12/28 10:53
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+2a286dae515ab6c1d21c@syzkaller.appspotmail.com
First crash: 694d, last: 627d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in reiserfs_sync_fs reiserfs C error done 22 321d 701d 25/28 fixed on 2024/03/20 11:33
linux-4.14 INFO: task hung in reiserfs_sync_fs reiserfs C 2 628d 717d 0/1 upstream: reported C repro on 2022/12/05 01:39
linux-5.15 INFO: task hung in reiserfs_sync_fs 1 575d 575d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:04

Sample crash report:
REISERFS (device loop4): Using r5 hash to sort names
REISERFS (device loop4): using 3.5.x disk format
REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop5): checking transaction log (loop5)
audit: type=1800 audit(1672224702.549:4885): pid=26861 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor449" name="bus" dev="loop4" ino=2 res=0
INFO: task kworker/0:1:14 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal
audit: type=1804 audit(1672224702.599:4886): pid=26870 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor449" name="/root/syzkaller.hrQAR5/324/file0/bus" dev="loop1" ino=2 res=1
REISERFS (device loop2): using ordered data mode
audit: type=1800 audit(1672224702.599:4887): pid=26870 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor449" name="bus" dev="loop1" ino=2 res=0
REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
REISERFS (device loop0): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
kworker/0:1     D26408    14      2 0x80000000
REISERFS (device loop0): checking transaction log (loop0)
Workqueue: events_long flush_old_commits
reiserfs: using flush barriers
REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
Call Trace:
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): using 3.5.x disk format
REISERFS (device loop2): checking transaction log (loop2)
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop5): Using r5 hash to sort names
audit: type=1800 audit(1672224702.829:4888): pid=26881 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor449" name="bus" dev="loop0" ino=2 res=0
REISERFS (device loop5): using 3.5.x disk format
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop2): Using r5 hash to sort names
REISERFS (device loop2): using 3.5.x disk format
REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage.
audit: type=1800 audit(1672224702.949:4889): pid=26866 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor449" name="bus" dev="loop5" ino=2 res=0
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
 reiserfs_sync_fs+0x7d/0x120 fs/reiserfs/super.c:76
 flush_old_commits+0xf7/0x200 fs/reiserfs/super.c:111
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
INFO: task syz-executor449:11196 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor449 D25016 11196   8134 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x4f/0x90 kernel/locking/rwsem.c:72
 inode_lock include/linux/fs.h:748 [inline]
 reiserfs_sync_file+0xa7/0x320 fs/reiserfs/file.c:161
 vfs_fsync_range+0x13a/0x220 fs/sync.c:197
 generic_write_sync include/linux/fs.h:2750 [inline]
 generic_file_write_iter+0x4be/0x730 mm/filemap.c:3327
 call_write_iter include/linux/fs.h:1821 [inline]
 do_iter_readv_writev+0x668/0x790 fs/read_write.c:681
 do_iter_write+0x182/0x5d0 fs/read_write.c:960
 vfs_iter_write+0x70/0xa0 fs/read_write.c:973
REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal
 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750
REISERFS (device loop1): using ordered data mode
reiserfs: using flush barriers
 do_splice_from fs/splice.c:852 [inline]
 direct_splice_actor+0x115/0x160 fs/splice.c:1025
REISERFS (device loop1): journal params: device loop1, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980
 do_splice_direct+0x1a7/0x270 fs/splice.c:1068
REISERFS (device loop1): checking transaction log (loop1)
 do_sendfile+0x550/0xc30 fs/read_write.c:1447
 __do_sys_sendfile64 fs/read_write.c:1508 [inline]
 __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f9c6a730c99
Code: Bad RIP value.
RSP: 002b:00007f9c6a6dc2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f9c6a7b67a0 RCX: 00007f9c6a730c99
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f9c6a7831d8 R08: 0000000000000000 R09: 0000000000000000
REISERFS (device loop1): Using r5 hash to sort names
R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 7366726573696572 R14: 65732f636f72702f R15: 00007f9c6a7b67a8
INFO: task syz-executor449:11230 blocked for more than 140 seconds.
REISERFS (device loop1): using 3.5.x disk format
REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor449 D25456 11230   8134 0x80000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
 reiserfs_get_block+0x1c2/0x3e40 fs/reiserfs/inode.c:688
 do_mpage_readpage+0x8fb/0x1ca0 fs/mpage.c:231
 mpage_readpages+0x33a/0x630 fs/mpage.c:404
REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal
 read_pages.isra.0+0xf6/0x5d0 mm/readahead.c:123
REISERFS (device loop4): using ordered data mode
 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211
reiserfs: using flush barriers
REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
 ra_submit mm/internal.h:66 [inline]
 ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493
 page_cache_sync_readahead mm/readahead.c:528 [inline]
 page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510
REISERFS (device loop4): checking transaction log (loop4)
 generic_file_buffered_read mm/filemap.c:2115 [inline]
 generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
 call_read_iter include/linux/fs.h:1815 [inline]
 new_sync_read fs/read_write.c:406 [inline]
 __vfs_read+0x518/0x750 fs/read_write.c:418
REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
 integrity_kernel_read+0x147/0x1f0 security/integrity/iint.c:200
REISERFS (device loop0): using ordered data mode
REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop2): using ordered data mode
REISERFS (device loop5): checking transaction log (loop5)
reiserfs: using flush barriers
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:364 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:393 [inline]
 ima_calc_file_hash+0x4b2/0x8a0 security/integrity/ima/ima_crypto.c:450
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
reiserfs: using flush barriers
REISERFS (device loop4): Using r5 hash to sort names
REISERFS (device loop4): using 3.5.x disk format
REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231
REISERFS (device loop5): Using r5 hash to sort names
REISERFS (device loop2): checking transaction log (loop2)
 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): using 3.5.x disk format
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391
 do_last fs/namei.c:3425 [inline]
 path_openat+0x7e4/0x2df0 fs/namei.c:3537
REISERFS (device loop2): Using r5 hash to sort names
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
REISERFS (device loop2): using 3.5.x disk format
REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage.
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f9c6a730c99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 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:00007f9c626bb2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f9c6a7b67b0 RCX: 00007f9c6a730c99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007f9c6a7831d8 R08: 00007f9c626bb700 R09: 0000000000000000
R10: 00007f9c626bb700 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 7366726573696572 R14: 65732f636f72702f R15: 00007f9c6a7b67b8
INFO: task syz-executor449:11231 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor449 D29488 11231   8134 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 io_schedule+0xb5/0x120 kernel/sched/core.c:5181
 wait_on_page_bit_common mm/filemap.c:1123 [inline]
 __lock_page+0x316/0x460 mm/filemap.c:1296
 lock_page include/linux/pagemap.h:484 [inline]
 pagecache_get_page+0x673/0xd50 mm/filemap.c:1577
 find_or_create_page include/linux/pagemap.h:322 [inline]
 grab_cache_page include/linux/pagemap.h:388 [inline]
 grab_tail_page fs/reiserfs/inode.c:2211 [inline]
 reiserfs_truncate_file+0x701/0x1030 fs/reiserfs/inode.c:2279
 reiserfs_setattr+0xdc2/0x1090 fs/reiserfs/inode.c:3412
 notify_change+0x70b/0xfc0 fs/attr.c:334
 do_truncate+0x134/0x1f0 fs/open.c:63
 vfs_truncate+0x54b/0x6d0 fs/open.c:109
 do_sys_truncate fs/open.c:132 [inline]
 do_sys_truncate+0x145/0x170 fs/open.c:120
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal
RIP: 0033:0x7f9c6a730c99
REISERFS (device loop1): using ordered data mode
Code: Bad RIP value.
reiserfs: using flush barriers
RSP: 002b:00007f9c6269a2f8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
REISERFS (device loop1): journal params: device loop1, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
RAX: ffffffffffffffda RBX: 00007f9c6a7b67c0 RCX: 00007f9c6a730c99
REISERFS (device loop1): checking transaction log (loop1)
RDX: 00007f9c6269a700 RSI: 0000000000000006 RDI: 00000000200001c0
RBP: 00007f9c6a7831d8 R08: 00007f9c6269a700 R09: 0000000000000000
R10: 00007f9c6269a700 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 7366726573696572 R14: 65732f636f72702f R15: 00007f9c6a7b67c8

Showing all locks held in the system:
1 lock held by ksoftirqd/0/9:
 #0: 00000000a3ddbf7a (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline]
 #0: 00000000a3ddbf7a (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455
REISERFS (device loop1): Using r5 hash to sort names
REISERFS (device loop1): using 3.5.x disk format
REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage.
4 locks held by kworker/0:1/14:
 #0: 00000000e0a2ecd4 ((wq_completion)"events_long"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 00000000b8ec9650 ((work_completion)(&(&sbi->old_work)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000002eed6044 (&type->s_umount_key#46){++++}, at: flush_old_commits+0x78/0x200 fs/reiserfs/super.c:97
 #3: 0000000004601b66 (&sbi->lock){+.+.}, at: reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
1 lock held by khungtaskd/1571:
 #0: 00000000b5862615 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by systemd-udevd/4695:
 #0: 000000004e7b2a15 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478
1 lock held by in:imklog/7810:
 #0: 0000000010297d2d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
2 locks held by syz-executor449/8131:
 #0: 0000000020dc958f (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806
 #1: 00000000178cad09 (loop_ctl_mutex){+.+.}, at: __loop_clr_fd+0x777/0xe50 drivers/block/loop.c:1164
2 locks held by syz-executor449/8133:
 #0: 000000001472737d (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806
 #1: 00000000178cad09 (loop_ctl_mutex){+.+.}, at: __loop_clr_fd+0x777/0xe50 drivers/block/loop.c:1164
2 locks held by syz-executor449/8136:
2 locks held by syz-executor449/11196:
 #0: 00000000cd426066 (sb_writers#11){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline]
 #0: 00000000cd426066 (sb_writers#11){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446
 #1: 00000000fc97dbf9 (&sb->s_type->i_mutex_key#17){+.+.}, at: inode_lock include/linux/fs.h:748 [inline]
 #1: 00000000fc97dbf9 (&sb->s_type->i_mutex_key#17){+.+.}, at: reiserfs_sync_file+0xa7/0x320 fs/reiserfs/file.c:161
2 locks held by syz-executor449/11230:
REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal
 #0: 00000000f7d21434 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224
 #1: 0000000004601b66 (&sbi->lock){+.+.}, at: reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
REISERFS (device loop4): using ordered data mode
4 locks held by syz-executor449/11231:
reiserfs: using flush barriers
 #0: 00000000cd426066 (sb_writers#11){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline]
 #0: 00000000cd426066 (sb_writers#11){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360
REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
 #1: 00000000fc97dbf9 (&sb->s_type->i_mutex_key#17){+.+.}, at: inode_lock include/linux/fs.h:748 [inline]
 #1: 00000000fc97dbf9 (&sb->s_type->i_mutex_key#17){+.+.}, at: do_truncate+0x125/0x1f0 fs/open.c:61
 #2: 00000000b6f1f369 (&ei->tailpack){+.+.}, at: reiserfs_setattr+0xd8c/0x1090 fs/reiserfs/inode.c:3410
REISERFS (device loop4): checking transaction log (loop4)
 #3: 0000000004601b66 (&sbi->lock){+.+.}, at: reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
2 locks held by syz-executor449/26963:
1 lock held by syz-executor449/26975:
 #0: 000000000217f484 (&sb->s_type->i_mutex_key#17){+.+.}, at: inode_lock include/linux/fs.h:748 [inline]
 #0: 000000000217f484 (&sb->s_type->i_mutex_key#17){+.+.}, at: process_measurement+0x1415/0x1440 security/integrity/ima/ima_main.c:205
1 lock held by systemd-udevd/26970:
REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop2): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop2): checking transaction log (loop2)
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
1 lock held by syz-executor449/26972:
REISERFS (device loop4): Using r5 hash to sort names
REISERFS (device loop0): using ordered data mode
REISERFS (device loop2): Using r5 hash to sort names
REISERFS (device loop2): using 3.5.x disk format
2 locks held by syz-executor449/26985:
reiserfs: using flush barriers
1 lock held by syz-executor449/26986:
1 lock held by syz-executor449/26989:

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

REISERFS (device loop4): using 3.5.x disk format
REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop5): using ordered data mode
REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
reiserfs: using flush barriers
REISERFS (device loop0): checking transaction log (loop0)
NMI backtrace for cpu 1
CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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:
NMI backtrace for cpu 0
CPU: 0 PID: 7811 Comm: rs:main Q:Reg Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__lock_is_held+0x121/0x160 kernel/locking/lockdep.c:3737
Code: 04 02 84 c0 74 04 3c 03 7e 4c 0f b6 43 22 83 e0 03 3b 44 24 04 0f 94 c0 0f b6 c0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <48> 83 c4 08 31 c0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 29 ad 4d 00
RSP: 0018:ffff8880a0db7840 EFLAGS: 00000046
RAX: 0000000000000003 RBX: ffff8880a12b0bd8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880a12b0bfa
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a12b0b88
R13: dffffc0000000000 R14: ffffffff89f85f60 R15: ffff8880a12b0300
FS:  00007f39688e3700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3960037080 CR3: 00000000a981c000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_is_held_type+0x10d/0x210 kernel/locking/lockdep.c:3946
 lock_is_held include/linux/lockdep.h:344 [inline]
 ___might_sleep+0x1ea/0x2b0 kernel/sched/core.c:6157
 ext4_journal_check_start+0x28/0x220 fs/ext4/ext4_jbd2.c:46
 __ext4_journal_start_sb+0x8e/0x3f0 fs/ext4/ext4_jbd2.c:74
 __ext4_journal_start fs/ext4/ext4_jbd2.h:311 [inline]
 ext4_dirty_inode+0x5d/0xb0 fs/ext4/inode.c:6140
 __mark_inode_dirty+0x16b/0x1140 fs/fs-writeback.c:2164
 mark_inode_dirty include/linux/fs.h:2086 [inline]
 __generic_write_end+0x26a/0x300 fs/buffer.c:2129
 ext4_da_write_end+0x623/0xa70 fs/ext4/inode.c:3201
 generic_perform_write+0x2ae/0x4d0 mm/filemap.c:3181
 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295
 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f396b3271cd
Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f39688e2590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3960022f90 RCX: 00007f396b3271cd
RDX: 00000000000003e1 RSI: 00007f3960022f90 RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3960022d10
R13: 00007f39688e25b0 R14: 00005643d9bd5360 R15: 00000000000003e1

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/28 10:53 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 INFO: task hung in reiserfs_sync_fs
2023/03/05 18:50 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in reiserfs_sync_fs
2023/02/28 07:06 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in reiserfs_sync_fs
2023/02/10 16:05 linux-4.19.y 3f8a27f9e27b e29a17f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in reiserfs_sync_fs
2023/01/03 16:58 linux-4.19.y 3f8a27f9e27b f0036e18 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in reiserfs_sync_fs
* Struck through repros no longer work on HEAD.