audit: type=1400 audit(2000000251.750:115): avc: denied { map } for pid=2410 comm="syz-executor.4" path="/root/syz-executor.4" dev="sda1" ino=16482 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-executor.4:2210 blocked for more than 140 seconds. Not tainted 5.0.0+ #9 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28312 2210 19745 0x80000002 Call Trace: context_switch kernel/sched/core.c:2874 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3515 schedule+0x92/0x180 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:582 [inline] rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:611 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 unregister_netdevice_notifier+0x7e/0x3a0 net/core/dev.c:1703 raw_release+0x57/0x6f0 net/can/raw.c:358 __sock_release+0xd3/0x2b0 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1162 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x90a/0x2fa0 kernel/exit.c:875 do_group_exit+0x135/0x370 kernel/exit.c:979 get_signal+0x399/0x1d50 kernel/signal.c:2575 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457f29 Code: Bad RIP value. RSP: 002b:00007f6b14538c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000005 RBX: 0000000000000003 RCX: 0000000000457f29 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b145396d4 R13: 00000000004c62d8 R14: 00000000004db538 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1043: #0: 00000000669a5282 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5052 1 lock held by rsyslogd/7843: #0: 00000000362894b3 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 2 locks held by getty/7965: #0: 0000000093a6adde (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000eb5a64ea (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7966: #0: 0000000075936382 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d13f71b4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7967: #0: 00000000a528672f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b94af475 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7968: #0: 0000000072a7d296 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000835e7b2c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7969: #0: 0000000022492c83 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009b7f48b1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7970: #0: 000000004f5ea002 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003928ff8f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7971: #0: 0000000010c7e6ad (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000058841821 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:5/8818: 2 locks held by syz-executor.4/2210: #0: 000000007cfad426 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:763 [inline] #0: 000000007cfad426 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2b0 net/socket.c:578 #1: 000000008a807856 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x3a0 net/core/dev.c:1703 1 lock held by syz-executor.4/2413: #0: 000000008a807856 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1ba/0x340 net/core/net_namespace.c:433 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1043 Comm: khungtaskd Not tainted 5.0.0+ #9 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+0x1be/0x236 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+0x9b2/0xeb0 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:252 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8818 Comm: kworker/u4:5 Not tainted 5.0.0+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] RIP: 0010:preempt_count_sub+0x5e/0x160 kernel/sched/core.c:3271 Code: 00 8b 0d 35 13 0d 09 85 c9 75 18 65 8b 05 5a 57 b4 7e 25 ff ff ff 7f 39 c3 7f 1b 81 fb fe 00 00 00 76 6b 65 8b 05 42 57 b4 7e db 65 01 1d 39 57 b4 7e 5b 5d c3 e8 41 37 da 01 85 c0 74 f4 48 RSP: 0018:ffff88805db2faf0 EFLAGS: 00000002 RAX: 0000000080000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffffffff832bbb1a RDI: 0000000000000001 RBP: ffff88805db2faf8 R08: ffff88808a330200 R09: fffffbfff110d69d R10: fffffbfff110d69c R11: ffffffff8886b4e3 R12: ffffffff85a4f131 R13: ffff88808a330200 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c42e705000 CR3: 0000000008871000 CR4: 00000000001406e0 Call Trace: __local_bh_enable_ip+0x155/0x270 kernel/softirq.c:193 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:1985 [inline] nf_ct_iterate_cleanup+0x217/0x4e0 net/netfilter/nf_conntrack_core.c:2008 nf_conntrack_cleanup_net_list+0x7a/0x240 net/netfilter/nf_conntrack_core.c:2195 nf_conntrack_pernet_exit+0x159/0x1a0 net/netfilter/nf_conntrack_standalone.c:1133 ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:551 process_one_work+0x98e/0x1790 kernel/workqueue.c:2175 worker_thread+0x98/0xe40 kernel/workqueue.c:2321 kthread+0x357/0x430 kernel/kthread.c:252 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352