input: syz1 as /devices/virtual/input/input5 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 INFO: task segctord:14779 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 (29830): drop_caches: 2 segctord D30088 14779 2 0x80000000 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 syz-executor.3 (29830): drop_caches: 2 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 syz-executor.3 (29830): drop_caches: 2 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 syz-executor.3 (29830): drop_caches: 2 nilfs_transaction_lock+0x1fb/0x8b0 fs/nilfs2/segment.c:362 syz-executor.3 (29830): drop_caches: 2 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2479 [inline] nilfs_segctor_thread+0x3c0/0xf50 fs/nilfs2/segment.c:2563 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 syz-executor.3 (29830): drop_caches: 2 kthread+0x33f/0x460 kernel/kthread.c:259 syz-executor.3 (29830): drop_caches: 2 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 syz-executor.3 (29830): drop_caches: 2 Showing all locks held in the system: syz-executor.3 (29830): drop_caches: 2 1 lock held by khungtaskd/1570: #0: 00000000d281ad50 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 syz-executor.3 (29830): drop_caches: 2 1 lock held by in:imklog/7810: syz-executor.3 (29830): drop_caches: 2 #0: 00000000e249187c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 syz-executor.3 (29830): drop_caches: 2 3 locks held by kworker/u4:3/8865: syz-executor.3 (29830): drop_caches: 2 6 locks held by syz-executor.1/14771: syz-executor.3 (29830): drop_caches: 2 1 lock held by segctord/14779: #0: 000000002404e787 (&nilfs->ns_segctor_sem){++++}, at: nilfs_transaction_lock+0x1fb/0x8b0 fs/nilfs2/segment.c:362 syz-executor.3 (29830): drop_caches: 2 1 lock held by syz-executor.3/29830: ============================================= 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 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: 33 Comm: kworker/u4:2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x25d/0x3ff0 kernel/locking/lockdep.c:3322 Code: 85 c0 0f 84 38 ff ff ff 48 8d b8 38 01 00 00 be 04 00 00 00 48 89 44 24 10 e8 bf 54 4d 00 48 8b 44 24 10 f0 ff 80 38 01 00 00 <49> 8d b5 80 08 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f1 48 89 RSP: 0000:ffff8880b50efa68 EFLAGS: 00000002 RAX: ffffffff8cd63090 RBX: 0000000000000000 RCX: ffffffff814afa31 RDX: fffffbfff19ac63a RSI: 0000000000000004 RDI: ffffffff8cd631c8 RBP: 0000000000000002 R08: 0000000000000001 R09: fffffbfff19ac639 R10: ffffffff8cd631cb R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880b50da1c0 R14: ffffffff89f85fa0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c025fc0c08 CR3: 00000000b2adb000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x12d/0xd50 net/batman-adv/network-coding.c:730 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