binder: binder_mmap: 31787 20002000-20003000 bad vm_flags failed -1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor.1'. INFO: task syz-executor.5:31756 blocked for more than 140 seconds. Not tainted 4.19.57 #29 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28320 31756 17835 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x80d/0x1c70 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 raw_init+0x299/0x340 net/can/raw.c:343 can_create+0x288/0x4a0 net/can/af_can.c:184 __sock_create+0x3d8/0x730 net/socket.c:1276 sock_create net/socket.c:1316 [inline] __sys_socket+0x103/0x220 net/socket.c:1346 __do_sys_socket net/socket.c:1355 [inline] __se_sys_socket net/socket.c:1353 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1353 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4597c9 Code: Bad RIP value. RSP: 002b:00007f3c86bc1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004597c9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c86bc26d4 R13: 00000000004c824c R14: 00000000004deaf8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1033: #0: 000000002be6c047 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/7422: #0: 000000009faa4db7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7544: #0: 0000000034128326 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000e2b51e18 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7545: #0: 00000000e54808c5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000029f8951e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7546: #0: 00000000df49638d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000886e9cbe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7547: #0: 00000000b4ebc59d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000de7badfa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7548: #0: 00000000b864074b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000f78c52f9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7549: #0: 000000005ec0bfa4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000b043f435 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7550: #0: 00000000b19cd783 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000005f846bb2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:1/8962: 1 lock held by syz-executor.5/31756: #0: 000000005e5dd139 (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1033 Comm: khungtaskd Not tainted 4.19.57 #29 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+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 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: 8962 Comm: kworker/u4:1 Not tainted 4.19.57 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:783 [inline] RIP: 0010:__lock_acquire+0x977/0x48f0 kernel/locking/lockdep.c:3287 Code: 0f 86 15 f8 ff ff 89 05 87 3a 51 08 e9 0a f8 ff ff 48 c7 c0 80 36 72 88 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 <0f> 85 c6 2a 00 00 48 83 3d bb 1d 20 07 00 0f 84 14 09 00 00 9c 58 RSP: 0018:ffff88802726f8a0 EFLAGS: 00000046 RAX: 1ffffffff10e46d0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8865b360 RBP: ffff88802726fa68 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807ec262c0 R15: ffffffff8865b360 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000744e8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3900 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] nf_conntrack_lock+0x17/0x70 net/netfilter/nf_conntrack_core.c:96 get_next_corpse net/netfilter/nf_conntrack_core.c:1917 [inline] nf_ct_iterate_cleanup+0x1d7/0x4e0 net/netfilter/nf_conntrack_core.c:1951 nf_conntrack_cleanup_net_list+0x7a/0x250 net/netfilter/nf_conntrack_core.c:2138 nf_conntrack_pernet_exit+0x11d/0x170 net/netfilter/nf_conntrack_standalone.c:663 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:156 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:552 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415