REISERFS (device loop0): checking transaction log (loop0) 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. INFO: task syz-executor.3:13405 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-executor.3 D26440 13405 8129 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 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xb5/0x170 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xd2/0x100 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x52/0x60 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:374 [inline] __sync_dirty_buffer+0x2a6/0x320 fs/buffer.c:3178 __ext4_handle_dirty_metadata+0x234/0x590 fs/ext4/ext4_jbd2.c:300 ext4_finish_convert_inline_dir fs/ext4/inline.c:1173 [inline] ext4_convert_inline_data_nolock+0x967/0xd10 fs/ext4/inline.c:1249 ext4_try_add_inline_entry+0x338/0x570 fs/ext4/inline.c:1322 ext4_add_entry+0x33c/0xbb0 fs/ext4/namei.c:2117 ext4_add_nondir fs/ext4/namei.c:2483 [inline] ext4_create+0x338/0x5f0 fs/ext4/namei.c:2525 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 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:0x7ff9c2aa40c9 Code: Bad RIP value. RSP: 002b:00007ff9c1016168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff9c2bc3f80 RCX: 00007ff9c2aa40c9 RDX: 000000000000275a RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007ff9c2affae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe86aed86f R14: 00007ff9c1016300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:1/23: #0: 000000009af5f196 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000000eb3ab93 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000003ba6e0e1 (&type->s_umount_key#45){.+.+}, at: trylock_super+0x1d/0x100 fs/super.c:412 1 lock held by khungtaskd/1571: #0: 00000000c74488b4 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 00000000c034005a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/7817: #0: 00000000085a0dac (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000094fb09a2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 3 locks held by syz-executor.3/13405: #0: 00000000add4382c (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000add4382c (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000242901b3 (&type->i_mutex_dir_key#3){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000242901b3 (&type->i_mutex_dir_key#3){++++}, at: do_last fs/namei.c:3324 [inline] #1: 00000000242901b3 (&type->i_mutex_dir_key#3){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 #2: 00000000728b9c73 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #2: 00000000728b9c73 (&ei->xattr_sem){++++}, at: ext4_try_add_inline_entry+0xfc/0x570 fs/ext4/inline.c:1280 1 lock held by syz-executor.4/15278: #0: 00000000e29163ab (&bdev->bd_mutex){+.+.}, at: iterate_bdevs+0xc4/0x290 fs/block_dev.c:2200 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9486 Comm: kworker/u4:7 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_read_lock include/linux/rcupdate.h:628 [inline] RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] RIP: 0010:batadv_nc_worker+0x8ea/0xd50 net/batman-adv/network-coding.c:730 Code: 18 b9 01 00 00 00 bf 08 00 00 00 48 8b 35 fe 90 02 06 48 83 c4 58 5b 5d 41 5c 41 5d 41 5e 41 5f e9 5b a4 65 f9 e8 56 92 89 f9 11 99 78 f9 31 ff 89 c5 89 c6 e8 76 93 89 f9 40 84 ed 0f 85 5d RSP: 0018:ffff88804bd7fcb0 EFLAGS: 00000293 RAX: ffff88804bd6e640 RBX: ffff88804b2f1670 RCX: ffffffff87d8eb87 RDX: 0000000000000000 RSI: ffffffff87d8f31a RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000070d98e5c R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000196 R15: ffff8880a4416c00 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7170a48000 CR3: 00000000a0c55000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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