INFO: task syz-executor.5:23313 blocked for more than 143 seconds. Not tainted 5.2.0+ #97 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28888 23313 24396 0x00000004 Call Trace: context_switch /kernel/sched/core.c:3254 [inline] __schedule+0x755/0x1580 /kernel/sched/core.c:3880 schedule+0xa8/0x270 /kernel/sched/core.c:3944 schedule_timeout+0x717/0xc50 /kernel/time/timer.c:1783 do_wait_for_common /kernel/sched/completion.c:83 [inline] __wait_for_common /kernel/sched/completion.c:104 [inline] wait_for_common /kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 /kernel/sched/completion.c:136 crypto_wait_req /./include/linux/crypto.h:685 [inline] _aead_recvmsg /crypto/algif_aead.c:309 [inline] aead_recvmsg+0x11e3/0x16a0 /crypto/algif_aead.c:330 sock_recvmsg_nosec /net/socket.c:871 [inline] sock_recvmsg /net/socket.c:889 [inline] sock_recvmsg+0xce/0x110 /net/socket.c:885 ___sys_recvmsg+0x271/0x5a0 /net/socket.c:2480 do_recvmmsg+0x27e/0x7a0 /net/socket.c:2601 __sys_recvmmsg+0xe5/0x270 /net/socket.c:2682 __do_sys_recvmmsg /net/socket.c:2703 [inline] __se_sys_recvmmsg /net/socket.c:2696 [inline] __x64_sys_recvmmsg+0xe6/0x140 /net/socket.c:2696 do_syscall_64+0xfd/0x6a0 /arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: Bad RIP value. RSP: 002b:00007fb670dd3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459829 RDX: 0000000000023d86 RSI: 0000000020008a00 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000020008bc0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb670dd46d4 R13: 00000000004c6bf7 R14: 00000000004dbd88 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1052: #0: 0000000056824fe6 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e /kernel/locking/lockdep.c:5257 1 lock held by rsyslogd/8897: #0: 000000006589cc14 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 /fs/file.c:801 2 locks held by getty/8987: #0: 00000000bc1f6fb3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 000000006c71475a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8988: #0: 00000000f79e5e4d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 00000000e18a83f4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8989: #0: 000000005fe72082 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 000000004f0cce0c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8990: #0: 00000000f2f36a55 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 000000002f17758c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8991: #0: 00000000819c36f7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 00000000faa232f3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8992: #0: 00000000b6e4b3de (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 000000007219002a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 2 locks held by getty/8993: #0: 00000000ad78786b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 /drivers/tty/tty_ldsem.c:341 #1: 00000000e2fa8381 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 /drivers/tty/n_tty.c:2156 3 locks held by kworker/u4:10/14963: #0: 00000000271eb9d7 (&rq->lock){-.-.}, at: rq_lock /kernel/sched/sched.h:1207 [inline] #0: 00000000271eb9d7 (&rq->lock){-.-.}, at: __schedule+0x1f5/0x1580 /kernel/sched/core.c:3832 #1: 00000000c0699f9a ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}, at: process_one_work+0x8c1/0x1740 /kernel/workqueue.c:2244 #2: 0000000043b87d5b (&base->lock){-.-.}, at: lock_timer_base+0x56/0x1b0 /kernel/time/timer.c:932 1 lock held by syz-executor.5/23313: #0: 00000000c51acb12 (sk_lock-AF_ALG){+.+.}, at: lock_sock /./include/net/sock.h:1522 [inline] #0: 00000000c51acb12 (sk_lock-AF_ALG){+.+.}, at: aead_recvmsg+0xbb/0x16a0 /crypto/algif_aead.c:328 1 lock held by syz-executor.5/23371: #0: 00000000d73f2a37 (sk_lock-AF_ALG){+.+.}, at: lock_sock /./include/net/sock.h:1522 [inline] #0: 00000000d73f2a37 (sk_lock-AF_ALG){+.+.}, at: aead_recvmsg+0xbb/0x16a0 /crypto/algif_aead.c:328 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1052 Comm: khungtaskd Not tainted 5.2.0+ #97 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack /lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 /lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 /lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b /lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 /arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace /./include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks /kernel/hung_task.c:205 [inline] watchdog+0x9d0/0xef0 /kernel/hung_task.c:289 kthread+0x361/0x430 /kernel/kthread.c:255 ret_from_fork+0x24/0x30 /arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14963 Comm: kworker/u4:10 Not tainted 5.2.0+ #97 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:bytes_is_nonzero /mm/kasan/generic.c:94 [inline] RIP: 0010:memory_is_nonzero /mm/kasan/generic.c:109 [inline] RIP: 0010:memory_is_poisoned_n /mm/kasan/generic.c:135 [inline] RIP: 0010:memory_is_poisoned /mm/kasan/generic.c:166 [inline] RIP: 0010:check_memory_region_inline /mm/kasan/generic.c:182 [inline] RIP: 0010:check_memory_region+0x11a/0x1a0 /mm/kasan/generic.c:192 Code: 8d 44 25 00 4d 85 c0 75 31 49 89 d9 49 29 c1 e9 68 ff ff ff 5b b8 01 00 00 00 41 5c 41 5d 5d c3 4d 85 c9 74 ef 4d 01 e1 eb 09 <48> 83 c0 01 4c 39 c8 74 e1 80 38 00 74 f2 eb 8c 4d 39 c2 74 4d e8 RSP: 0018:ffff88806403fa68 EFLAGS: 00000046 RAX: fffffbfff14a7755 RBX: fffffbfff14a7756 RCX: ffffffff81588694 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8a53baa8 RBP: ffff88806403fa80 R08: 1ffffffff14a7755 R09: fffffbfff14a7756 R10: fffffbfff14a7755 R11: ffffffff8a53baaf R12: fffffbfff14a7755 R13: 0000000000000574 R14: 0000000000000000 R15: 0000000000040574 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b07000 CR3: 000000009e86d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_check_read+0x11/0x20 /mm/kasan/common.c:92 test_bit /./include/asm-generic/bitops-instrumented.h:237 [inline] __lock_acquire+0x1574/0x4c30 /kernel/locking/lockdep.c:3850 lock_acquire+0x190/0x410 /kernel/locking/lockdep.c:4413 __raw_spin_lock_bh /./include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x33/0x50 /kernel/locking/spinlock.c:175 spin_lock_bh /./include/linux/spinlock.h:343 [inline] batadv_nc_purge_paths+0xd8/0x370 /net/batman-adv/network-coding.c:441 batadv_nc_worker+0x29c/0x760 /net/batman-adv/network-coding.c:719 process_one_work+0x9af/0x1740 /kernel/workqueue.c:2269 worker_thread+0x98/0xe40 /kernel/workqueue.c:2415 kthread+0x361/0x430 /kernel/kthread.c:255 ret_from_fork+0x24/0x30 /arch/x86/entry/entry_64.S:352