NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 INFO: task syz-executor.1:13978 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29616 13978 7462 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 lock_fb_info+0x1a/0x70 drivers/video/fbdev/core/fbmem.c:81 do_fb_ioctl+0x1e8/0x940 drivers/video/fbdev/core/fbmem.c:1224 fb_ioctl+0xdd/0x130 drivers/video/fbdev/core/fbmem.c:1242 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c679 RSP: 002b:00007efd02313c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efd023146d4 RCX: 000000000045c679 RDX: 00000000200001c0 RSI: 0000000000008982 RDI: 0000000000000003 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000688 R14: 00000000004d47f0 R15: 000000000076bfac INFO: task syz-executor.1:14001 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27184 14001 7462 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 fb_open+0xb7/0x400 drivers/video/fbdev/core/fbmem.c:1468 chrdev_open+0x1fc/0x540 fs/char_dev.c:423 do_dentry_open+0x732/0xe90 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 do_last fs/namei.c:3428 [inline] path_openat+0x8ca/0x3c50 fs/namei.c:3569 do_filp_open+0x18e/0x250 fs/namei.c:3603 do_sys_open+0x29d/0x3f0 fs/open.c:1084 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c679 RSP: 002b:00007efd022f2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007efd022f36d4 RCX: 000000000045c679 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 000000000076c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000799 R14: 00000000004ca2eb R15: 000000000076c04c INFO: task syz-executor.3:13980 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28688 13980 7460 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_timeout+0x946/0xe40 kernel/time/timer.c:1723 __down_common kernel/locking/semaphore.c:221 [inline] __down+0x160/0x290 kernel/locking/semaphore.c:238 down+0x57/0x80 kernel/locking/semaphore.c:62 console_lock+0x24/0x70 kernel/printk/printk.c:2216 con_install+0x47/0x3e0 drivers/tty/vt/vt.c:2878 tty_driver_install_tty drivers/tty/tty_io.c:1225 [inline] tty_init_dev drivers/tty/tty_io.c:1338 [inline] tty_init_dev+0xe1/0x3a0 drivers/tty/tty_io.c:1315 tty_open_by_driver drivers/tty/tty_io.c:1973 [inline] tty_open+0x410/0x9c0 drivers/tty/tty_io.c:2021 chrdev_open+0x1fc/0x540 fs/char_dev.c:423 do_dentry_open+0x732/0xe90 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 do_last fs/namei.c:3428 [inline] path_openat+0x8ca/0x3c50 fs/namei.c:3569 do_filp_open+0x18e/0x250 fs/namei.c:3603 do_sys_open+0x29d/0x3f0 fs/open.c:1084 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x416411 RSP: 002b:00007f4f3409a7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f4f3409b6d4 RCX: 0000000000416411 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007f4f3409a7d0 RBP: 000000000076bf00 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000064 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000000000000c0e R14: 00000000004ce1bb R15: 000000000076bf0c INFO: task syz-executor.3:13990 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29104 13990 7460 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 tty_open_by_driver drivers/tty/tty_io.c:1937 [inline] tty_open+0x352/0x9c0 drivers/tty/tty_io.c:2021 chrdev_open+0x1fc/0x540 fs/char_dev.c:423 do_dentry_open+0x732/0xe90 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 do_last fs/namei.c:3428 [inline] path_openat+0x8ca/0x3c50 fs/namei.c:3569 do_filp_open+0x18e/0x250 fs/namei.c:3603 do_sys_open+0x29d/0x3f0 fs/open.c:1084 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x416411 RSP: 002b:00007f4f340797a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f4f3407a6d4 RCX: 0000000000416411 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007f4f340797d0 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000064 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000000000000c0e R14: 00000000004ce1bb R15: 000000000076bfac Showing all locks held in the system: 1 lock held by khungtaskd/1056: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/7287: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:769 2 locks held by getty/7410: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7411: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7412: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7413: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7414: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7415: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7416: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.1/13978: #0: (&fb_info->lock){+.+.}, at: [] lock_fb_info+0x1a/0x70 drivers/video/fbdev/core/fbmem.c:81 1 lock held by syz-executor.1/14001: #0: (&fb_info->lock){+.+.}, at: [] fb_open+0xb7/0x400 drivers/video/fbdev/core/fbmem.c:1468 2 locks held by syz-executor.3/13980: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1937 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x352/0x9c0 drivers/tty/tty_io.c:2021 #1: (&tty->legacy_mutex){+.+.}, at: [] tty_lock+0x5f/0x70 drivers/tty/tty_mutex.c:19 1 lock held by syz-executor.3/13990: #0: (tty_mutex){+.+.}, at: [] tty_open_by_driver drivers/tty/tty_io.c:1937 [inline] #0: (tty_mutex){+.+.}, at: [] tty_open+0x352/0x9c0 drivers/tty/tty_io.c:2021 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1056 Comm: khungtaskd Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x139/0x17e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5e2/0xb80 kernel/hung_task.c:274 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 966 Comm: kworker/u4:3 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig task: ffff8880a833a400 task.stack: ffff8880a8340000 RIP: 0010:__lock_acquire+0x62/0x4620 kernel/locking/lockdep.c:3344 RSP: 0018:ffff8880a8347a60 EFLAGS: 00000086 RAX: ffffed1015068f60 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88805c9ea5f0 RBP: ffff8880a8347c10 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805c9ea5f0 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f18d656d501 CR3: 000000007bd37000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3994 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:176 spin_lock_bh include/linux/spinlock.h:322 [inline] _batadv_purge_orig+0x115/0xf60 net/batman-adv/originator.c:1309 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1338 process_one_work+0x813/0x1540 kernel/workqueue.c:2114 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2248 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: b3 8a b5 41 48 c7 84 24 a8 00 00 00 c0 d5 8c 87 48 c1 e8 03 48 89 84 24 98 00 00 00 48 01 d0 48 c7 84 24 b0 00 00 00 f0 d6 45 81 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 00 00 00 f2 c7