audit: type=1400 audit(1581322693.611:37): avc: denied { map } for pid=7312 comm="syz-executor666" path="/root/syz-executor666175807" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 INFO: task syz-executor666:7323 blocked for more than 140 seconds. Not tainted 4.14.170-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor666 D28016 7323 7315 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check_v2+0x304/0x390 net/netfilter/xt_hashlimit.c:943 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441cd9 RSP: 002b:00007fff818b1178 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441cd9 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000584 R09: 00000000004002c8 R10: 0000000020000580 R11: 0000000000000246 R12: 0000000000402a50 R13: 0000000000402ae0 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1046: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4544 2 locks held by getty/7283: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7284: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7285: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7286: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7287: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7288: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7289: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor666/7322: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor666/7323: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor666/7325: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor666/7326: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor666/7327: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1046 Comm: khungtaskd Not tainted 4.14.170-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+0x142/0x197 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x141/0x189 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:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5e7/0xb90 kernel/hung_task.c:274 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7324 Comm: syz-executor666 Not tainted 4.14.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888080fda040 task.stack: ffff888094478000 RIP: 0010:match_held_lock+0x2d5/0x5f0 kernel/locking/lockdep.c:3586 RSP: 0018:ffff88809447f928 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888080fda8c0 RCX: ffff888080fda8c0 RDX: 0000000000000000 RSI: ffffffff87f84e60 RDI: ffff888080fda8e2 RBP: ffff88809447f9a0 R08: 0000000000000001 R09: ffff888080fda8e0 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff1101288ff27 R14: ffffffff87f84e60 R15: ffff88809447f978 FS: 000000000177d880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000017868b8 CR3: 000000009967e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held+0xb6/0x140 kernel/locking/lockdep.c:3814 lock_is_held_type+0x110/0x210 kernel/locking/lockdep.c:4032 lock_is_held include/linux/lockdep.h:437 [inline] ___might_sleep+0x231/0x2b0 kernel/sched/core.c:6006 htable_selective_cleanup+0x217/0x300 net/netfilter/xt_hashlimit.c:382 htable_destroy net/netfilter/xt_hashlimit.c:416 [inline] htable_put+0x164/0x210 net/netfilter/xt_hashlimit.c:443 hashlimit_mt_destroy_v2+0x56/0x70 net/netfilter/xt_hashlimit.c:964 cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491 cleanup_entry+0xbf/0x230 net/ipv4/netfilter/ip_tables.c:658 do_replace net/ipv4/netfilter/ip_tables.c:1150 [inline] do_ipt_set_ctl+0x305/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441cd9 RSP: 002b:00007fff818b1178 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441cd9 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000584 R09: 00000000004002c8 R10: 0000000020000580 R11: 0000000000000246 R12: 0000000000402a50 R13: 0000000000402ae0 R14: 0000000000000000 R15: 0000000000000000 Code: 85 00 03 00 00 44 8b 25 ea b0 6d 08 45 85 e4 0f 84 7e ec 00 00 45 31 e4 48 b8 00 00 00 00 00 fc ff df 49 c7 44 05 00 00 00 00 00 <48> 83 c4 50 44 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 bc 01