x_tables: ip_tables: NETMAP target: only valid in nat table, not ÿÿÿÿ INFO: task syz-executor.0:8398 blocked for more than 140 seconds. Not tainted 4.14.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28576 8398 6357 0x80000002 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x8a6/0x1d70 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_timeout+0x86c/0xe50 kernel/time/timer.c:1723 __down_common kernel/locking/semaphore.c:221 [inline] __down+0x17f/0x280 kernel/locking/semaphore.c:238 down+0x57/0x80 kernel/locking/semaphore.c:62 console_lock+0x24/0x70 kernel/printk/printk.c:2216 con_shutdown+0x3d/0x90 drivers/tty/vt/vt.c:2941 release_tty+0xba/0x750 drivers/tty/tty_io.c:1501 tty_release_struct+0x37/0x50 drivers/tty/tty_io.c:1616 tty_release+0xaa8/0xd60 drivers/tty/tty_io.c:1776 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x113/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9fb/0x2ae0 kernel/exit.c:858 do_group_exit+0x100/0x2e0 kernel/exit.c:955 get_signal+0x385/0x1c90 kernel/signal.c:2423 do_signal+0x7c/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45cb29 RSP: 002b:00007f8014479cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000078c0e8 RCX: 000000000045cb29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000078c0e8 RBP: 000000000078c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078c0ec R13: 00007ffcb19422af R14: 00007f801447a9c0 R15: 000000000078c0ec Showing all locks held in the system: 1 lock held by khungtaskd/1058: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 1 lock held by in:imklog/5925: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:769 1 lock held by syz-executor.0/8398: #0: (tty_mutex){+.+.}, at: [] tty_release_struct+0x2c/0x50 drivers/tty/tty_io.c:1615 2 locks held by syz-executor.0/16511: #0: (rtnl_mutex){+.+.}, at: [] tun_detach drivers/net/tun.c:585 [inline] #0: (rtnl_mutex){+.+.}, at: [] tun_chr_close+0x34/0x60 drivers/net/tun.c:2671 #1: (cpu_hotplug_lock.rw_sem){++++}, at: [] get_online_cpus include/linux/cpu.h:145 [inline] #1: (cpu_hotplug_lock.rw_sem){++++}, at: [] flush_all_backlogs net/core/dev.c:4654 [inline] #1: (cpu_hotplug_lock.rw_sem){++++}, at: [] rollback_registered_many+0x3f4/0xa70 net/core/dev.c:7192 2 locks held by kworker/1:95/17694: #0: ("events"){+.+.}, at: [] process_one_work+0x6d8/0x14c0 kernel/workqueue.c:2087 #1: (key_gc_work){+.+.}, at: [] process_one_work+0x70e/0x14c0 kernel/workqueue.c:2091 3 locks held by kworker/1:96/17697: #0: ("events"){+.+.}, at: [] process_one_work+0x6d8/0x14c0 kernel/workqueue.c:2087 #1: ((linkwatch_work).work){+.+.}, at: [] process_one_work+0x70e/0x14c0 kernel/workqueue.c:2091 #2: (rtnl_mutex){+.+.}, at: [] linkwatch_event+0xa/0x50 net/core/link_watch.c:236 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1058 Comm: khungtaskd Not tainted 4.14.184-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+0x1b2/0x283 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x17f 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: 14986 Comm: syz-executor.5 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88805955e340 task.stack: ffff888213768000 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:46 [inline] RIP: 0010:stack_access_ok+0x93/0x130 arch/x86/kernel/unwind_orc.c:283 RSP: 0000:ffff88821376f818 EFLAGS: 00000083 RAX: ffff888213770000 RBX: ffff888213768000 RCX: 1ffff110426edf2d RDX: ffff88821376fe50 RSI: ffff88821376fe48 RDI: ffff88821376f968 RBP: ffff88821376fe48 R08: ffffffff88c92866 R09: 0000000000000001 R10: 000000000000a80f R11: 0000000000056071 R12: ffff88821376f958 R13: dffffc0000000000 R14: ffff88821376f9a8 R15: ffff88821376f958 FS: 00007fc6781b6700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000003463f590 CR3: 000000005dfb2000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deref_stack_reg+0x56/0xc0 arch/x86/kernel/unwind_orc.c:293 unwind_next_frame+0xc7b/0x1700 arch/x86/kernel/unwind_orc.c:429 __save_stack_trace+0x6b/0xd0 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc.part.0+0x4f/0xd0 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 __sigqueue_alloc+0x1b8/0x3e0 kernel/signal.c:400 __send_signal+0x193/0x1280 kernel/signal.c:1097 specific_send_sig_info kernel/signal.c:1208 [inline] force_sig_info+0x240/0x340 kernel/signal.c:1260 force_sig_info_fault.constprop.0+0x185/0x260 arch/x86/mm/fault.c:225 __bad_area_nosemaphore+0x1d6/0x2c0 arch/x86/mm/fault.c:940 __do_page_fault+0x842/0xb50 arch/x86/mm/fault.c:1412 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1123 RIP: 0c39:0x4ce8d8 RSP: 50a4a0:000000000078c0e0 EFLAGS: ffffffff Code: fc ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 86 00 00 00 48 39 eb 49 8b 44 24 10 77 19 48 39 e8 76 14 48 01 ea 48 39 d3 73 0c <48> 39 d0 72 07 b8 01 00 00 00 eb 36 49 8d 7c 24 28 48 b8 00 00