INFO: task syz-executor.2:19271 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.2 D25720 19271 8137 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 TXN_SLEEP_DROP_LOCK fs/jfs/jfs_txnmgr.c:138 [inline] txBegin+0x41c/0x8c0 fs/jfs/jfs_txnmgr.c:382 jfs_commit_inode+0x181/0x3d0 fs/jfs/inode.c:113 jfs_fsync+0x125/0x210 fs/jfs/file.c:50 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 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1502 [inline] __se_sys_sendfile64+0xc4/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:0x7f3065eb40c9 Code: Bad RIP value. RSP: 002b:00007f305cfc3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f3065fd41f0 RCX: 00007f3065eb40c9 RDX: 0000000020000240 RSI: 0000000000000009 RDI: 0000000000000009 RBP: 00007f3065f0fae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000007fff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc789656af R14: 00007f305cfc3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000009bdb1b6e (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by systemd-journal/4693: #0: 00000000c37fc8c8 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000c37fc8c8 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 1 lock held by in:imklog/7799: #0: 0000000089468de7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor.4/8146: 3 locks held by kworker/u4:8/9507: 2 locks held by syz-executor.2/19271: #0: 000000001e2c059a (sb_writers#17){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 000000001e2c059a (sb_writers#17){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 00000000a73ec3f1 (&sb->s_type->i_mutex_key#27){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000a73ec3f1 (&sb->s_type->i_mutex_key#27){+.+.}, at: jfs_fsync+0xa8/0x210 fs/jfs/file.c:41 2 locks held by syz-executor.5/21814: #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 000000003cec808b (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000003cec808b (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 2 locks held by syz-executor.5/21815: #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 000000003cec808b (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000003cec808b (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 2 locks held by syz-executor.5/21839: 2 locks held by syz-executor.0/21841: #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 0000000056d02b64 (sb_writers#3){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 0000000034727c8e (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000034727c8e (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 2 locks held by syz-executor.0/21842: 3 locks held by syz-executor.2/21860: 3 locks held by syz-executor.3/21865: 2 locks held by syz-executor.1/21867: 2 locks held by syz-executor.4/21868: 2 locks held by systemd-udevd/21871: #0: 000000001dae1280 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 #1: 00000000c37fc8c8 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #1: 00000000c37fc8c8 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21860 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:gfp_zone include/linux/gfp.h:448 [inline] RIP: 0010:prepare_alloc_pages mm/page_alloc.c:4328 [inline] RIP: 0010:__alloc_pages_nodemask+0x105/0x2890 mm/page_alloc.c:4393 Code: 00 23 3d 1a 9b a7 09 48 89 cb b8 22 01 32 01 89 fe 89 bd 84 fe ff ff 83 e6 0f 8d 0c 36 d3 f8 b9 e8 e8 00 00 83 e0 03 0f a3 f1 <0f> 82 b9 04 00 00 89 85 24 ff ff ff 49 63 c3 48 8d 3c c5 40 dd 26 RSP: 0018:ffff88802c247510 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 000000000000e8e8 RDX: dffffc0000000000 RSI: 000000000000000a RDI: 00000000006200ca RBP: ffff88802c247728 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 00000000006200ca R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f98c4cb7700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4ebd3c9718 CR3: 000000009aa28000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519 shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 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:0x7f98c66f6e4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f98c4cb6f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98c66f6e4f RDX: 0000000001000000 RSI: 00007f98bc897000 RDI: 0000000000000003 RBP: 00007f98bc897000 R08: 0000000000000000 R09: 0000000000005dc6 R10: 0000000001000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f98c4cb6fdc R14: 00007f98c4cb6fe0 R15: 0000000020005ec2 jfs: Unrecognized mount option "@" or missing value 9pnet: Insufficient options for proto=fd