====================================================== WARNING: possible circular locking dependency detected 4.15.0-rc9+ #9 Not tainted ------------------------------------------------------ syz-executor4/7934 is trying to acquire lock: (&event->child_mutex){+.+.}, at: [<000000001a2e25a1>] perf_event_for_each_child+0x8a/0x150 kernel/events/core.c:4557 but task is already holding lock: (&cpuctx_mutex){+.+.}, at: [<00000000098a7c0e>] perf_event_ctx_lock_nested+0x21b/0x450 kernel/events/core.c:1249 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #5 (&cpuctx_mutex){+.+.}: __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 perf_event_init_cpu+0xb6/0x160 kernel/events/core.c:11076 perf_event_init+0x4e9/0x549 kernel/events/core.c:11123 start_kernel+0x4cc/0x819 init/main.c:627 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:378 x86_64_start_kernel+0x77/0x7a arch/x86/kernel/head64.c:359 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:237 -> #4 (pmus_lock){+.+.}: __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 perf_event_init_cpu+0x2f/0x160 kernel/events/core.c:11070 cpuhp_invoke_callback+0x2ea/0x1d20 kernel/cpu.c:182 cpuhp_up_callbacks kernel/cpu.c:477 [inline] _cpu_up+0x216/0x510 kernel/cpu.c:1036 do_cpu_up+0x73/0xa0 kernel/cpu.c:1066 cpu_up+0x18/0x20 kernel/cpu.c:1074 smp_init+0x13a/0x152 kernel/smp.c:578 kernel_init_freeable+0x2fe/0x521 init/main.c:1067 kernel_init+0x13/0x180 init/main.c:999 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:541 -> #3 (cpu_hotplug_lock.rw_sem){++++}: percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:36 [inline] percpu_down_read include/linux/percpu-rwsem.h:59 [inline] cpus_read_lock+0x42/0x90 kernel/cpu.c:293 static_key_slow_inc+0x9d/0x3c0 kernel/jump_label.c:123 tracepoint_add_func kernel/tracepoint.c:223 [inline] tracepoint_probe_register_prio+0x80d/0x9a0 kernel/tracepoint.c:283 tracepoint_probe_register+0x2a/0x40 kernel/tracepoint.c:304 trace_event_reg+0x167/0x320 kernel/trace/trace_events.c:305 perf_trace_event_reg kernel/trace/trace_event_perf.c:122 [inline] perf_trace_event_init kernel/trace/trace_event_perf.c:197 [inline] perf_trace_init+0x4ef/0xab0 kernel/trace/trace_event_perf.c:221 perf_tp_event_init+0x7d/0xf0 kernel/events/core.c:7959 perf_try_init_event+0xc9/0x1f0 kernel/events/core.c:9192 perf_init_event kernel/events/core.c:9230 [inline] perf_event_alloc+0x1cc6/0x2b00 kernel/events/core.c:9494 SYSC_perf_event_open+0x84e/0x2e00 kernel/events/core.c:9949 SyS_perf_event_open+0x39/0x50 kernel/events/core.c:9835 entry_SYSCALL_64_fastpath+0x29/0xa0 -> #2 (tracepoints_mutex){+.+.}: __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 tracepoint_probe_register_prio+0xa0/0x9a0 kernel/tracepoint.c:279 tracepoint_probe_register+0x2a/0x40 kernel/tracepoint.c:304 trace_event_reg+0x167/0x320 kernel/trace/trace_events.c:305 perf_trace_event_reg kernel/trace/trace_event_perf.c:122 [inline] perf_trace_event_init kernel/trace/trace_event_perf.c:197 [inline] perf_trace_init+0x4ef/0xab0 kernel/trace/trace_event_perf.c:221 perf_tp_event_init+0x7d/0xf0 kernel/events/core.c:7959 perf_try_init_event+0xc9/0x1f0 kernel/events/core.c:9192 perf_init_event kernel/events/core.c:9230 [inline] perf_event_alloc+0x1cc6/0x2b00 kernel/events/core.c:9494 SYSC_perf_event_open+0x84e/0x2e00 kernel/events/core.c:9949 SyS_perf_event_open+0x39/0x50 kernel/events/core.c:9835 entry_SYSCALL_64_fastpath+0x29/0xa0 -> #1 (event_mutex){+.+.}: __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 perf_trace_destroy+0x28/0x100 kernel/trace/trace_event_perf.c:234 tp_perf_event_destroy+0x15/0x20 kernel/events/core.c:7943 _free_event+0x3bd/0x10f0 kernel/events/core.c:4104 free_event+0x84/0x150 kernel/events/core.c:4128 perf_event_release_kernel+0x54e/0xc10 kernel/events/core.c:4272 perf_release+0x37/0x50 kernel/events/core.c:4298 __fput+0x327/0x7e0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9bb/0x1ad0 kernel/exit.c:865 do_group_exit+0x149/0x400 kernel/exit.c:968 get_signal+0x73f/0x16c0 kernel/signal.c:2335 do_signal+0x90/0x1eb0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x9e/0xa0 -> #0 (&event->child_mutex){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3914 __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 perf_event_for_each_child+0x8a/0x150 kernel/events/core.c:4557 _perf_ioctl kernel/events/core.c:4736 [inline] perf_ioctl+0x35a/0x1430 kernel/events/core.c:4748 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x29/0xa0 other info that might help us debug this: Chain exists of: &event->child_mutex --> pmus_lock --> &cpuctx_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&cpuctx_mutex); lock(pmus_lock); lock(&cpuctx_mutex); lock(&event->child_mutex); *** DEADLOCK *** 1 lock held by syz-executor4/7934: #0: (&cpuctx_mutex){+.+.}, at: [<00000000098a7c0e>] perf_event_ctx_lock_nested+0x21b/0x450 kernel/events/core.c:1249 stack backtrace: CPU: 0 PID: 7934 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 print_circular_bug.isra.37+0x2cd/0x2dc kernel/locking/lockdep.c:1218 check_prev_add kernel/locking/lockdep.c:1858 [inline] check_prevs_add kernel/locking/lockdep.c:1971 [inline] validate_chain kernel/locking/lockdep.c:2412 [inline] __lock_acquire+0x30a8/0x3e00 kernel/locking/lockdep.c:3426 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3914 __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 perf_event_for_each_child+0x8a/0x150 kernel/events/core.c:4557 _perf_ioctl kernel/events/core.c:4736 [inline] perf_ioctl+0x35a/0x1430 kernel/events/core.c:4748 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007fdd5c706c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453299 RDX: 0000000000000000 RSI: 0000000000002401 RDI: 0000000000000012 RBP: 0000000000000431 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f5538 R13: 00000000ffffffff R14: 00007fdd5c7076d4 R15: 0000000000000000 audit: type=1400 audit(1517244710.560:18): avc: denied { create } for pid=7969 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1517244710.728:19): avc: denied { map } for pid=8006 comm="syz-executor4" path="socket:[19307]" dev="sockfs" ino=19307 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=socket permissive=1 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 8496 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] __do_kmalloc mm/slab.c:3706 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3043 [inline] SyS_mount+0x3c/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f82e3219c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82e3219aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f82e3219a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f82e3219bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 8515 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] __do_kmalloc mm/slab.c:3706 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3048 [inline] SyS_mount+0x6b/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f82e3219c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82e3219aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f82e3219a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f82e3219bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 8543 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3608 kmalloc include/linux/slab.h:499 [inline] copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721 SYSC_mount fs/namespace.c:3053 [inline] SyS_mount+0x87/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f82e3219c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82e3219aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f82e3219a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f82e3219bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 8559 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2948 [inline] prepare_alloc_pages mm/page_alloc.c:4187 [inline] __alloc_pages_nodemask+0x338/0xd80 mm/page_alloc.c:4226 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1413 [inline] cache_grow_begin+0x72/0x3f0 mm/slab.c:2668 cache_alloc_refill mm/slab.c:3035 [inline] ____cache_alloc mm/slab.c:3117 [inline] __do_cache_alloc mm/slab.c:3339 [inline] slab_alloc mm/slab.c:3374 [inline] kmem_cache_alloc_trace+0x3f0/0x750 mm/slab.c:3608 kmalloc include/linux/slab.h:499 [inline] copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721 SYSC_mount fs/namespace.c:3053 [inline] SyS_mount+0x87/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f82e3219c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82e3219aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f82e3219a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f82e3219bc8 R14: 00000000004b8096 R15: 0000000000000000 CPU: 0 PID: 8536 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] __do_kmalloc mm/slab.c:3706 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3043 [inline] SyS_mount+0x3c/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007fdd5c706c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fdd5c706aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007fdd5c706a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007fdd5c706bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 8572 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3542 getname_flags+0xcb/0x580 fs/namei.c:138 user_path_at_empty+0x2d/0x50 fs/namei.c:2590 user_path include/linux/namei.h:62 [inline] do_mount+0x15f/0x2bb0 fs/namespace.c:2782 SYSC_mount fs/namespace.c:3058 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f82e3219c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82e3219aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f82e3219a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f82e3219bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 8698 Comm: syz-executor3 Not tainted 4.15.0-rc9+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] __do_kmalloc mm/slab.c:3706 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723 memdup_user+0x2c/0x90 mm/util.c:164 map_get_next_key kernel/bpf/syscall.c:819 [inline] SYSC_bpf kernel/bpf/syscall.c:1878 [inline] SyS_bpf+0x2549/0x4860 kernel/bpf/syscall.c:1843 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007efc592e2c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007efc592e2aa0 RCX: 0000000000453299 RDX: 0000000000000018 RSI: 000000002013c000 RDI: 0000000000000004 RBP: 00007efc592e2a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007efc592e2bc8 R14: 00000000004b8096 R15: 0000000000000000 CPU: 0 PID: 8704 Comm: syz-executor0 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3289 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3632 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:983 [inline] alloc_skb_with_frags+0x10d/0x750 net/core/skbuff.c:5151 sock_alloc_send_pskb+0x787/0x9b0 net/core/sock.c:2088 unix_dgram_sendmsg+0x52d/0x1610 net/unix/af_unix.c:1682 unix_seqpacket_sendmsg+0xf3/0x160 net/unix/af_unix.c:2063 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007ff2d6ebbc58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff2d6ebbaa0 RCX: 0000000000453299 RDX: 0000000000000000 RSI: 000000002000e000 RDI: 0000000000000012 RBP: 00007ff2d6ebba90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007ff2d6ebbbc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 8707 Comm: syz-executor2 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3368 [inline] __do_kmalloc mm/slab.c:3706 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3043 [inline] SyS_mount+0x3c/0x120 fs/namespace.c:3035 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f0688d14c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0688d14aa0 RCX: 0000000000453299 RDX: 0000000020bd6ffc RSI: 0000000020c22000 RDI: 0000000020ff3000 RBP: 00007f0688d14a90 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f0688d14bc8 R14: 00000000004b8096 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 8846 Comm: syz-executor7 Not tainted 4.15.0-rc9+ #9 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+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3289 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3632 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb_fclone include/linux/skbuff.h:1025 [inline] tipc_buf_acquire+0x2d/0xf0 net/tipc/msg.c:66 tipc_msg_create+0x36/0x280 net/tipc/msg.c:98 __tipc_shutdown+0x84f/0xc80 net/tipc/socket.c:532 tipc_release+0x110/0xff0 net/tipc/socket.c:574 sock_release+0x8d/0x1e0 net/socket.c:595 sock_close+0x16/0x20 net/socket.c:1149 __fput+0x327/0x7e0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x296/0x310 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x9e/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f0c133ffc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000071bf58 RCX: 0000000000453299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000013 RBP: 0000000000000052 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ef850 R13: 0000000000000014 R14: 00007f0c134006d4 R15: ffffffffffffffff IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 EXT4-fs (sda1): re-mounted. Opts: EXT4-fs (sda1): re-mounted. Opts: hugetlbfs: Bad mount option: "iHUQB}wBܫiCz-/3[I9V" hugetlbfs: Bad mount option: "iHUQB}wBܫiCz-/3[I9V" overlayfs: unrecognized mount option "[zP^Oc˨\" or missing value overlayfs: unrecognized mount option "[zP^Oc˨\" or missing value overlayfs: unrecognized mount option "[i)Bij:Q};I`rJ^HZHW0Q"" or missing value overlayfs: unrecognized mount option "[i)Bij:Q};I`rJ^HZHW0Q"" or missing value audit: type=1400 audit(1517244719.033:20): avc: denied { setopt } for pid=9707 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 hugetlbfs: Bad mount option: "iHUQB}wBܫiCz-/3[I9V" hugetlbfs: Bad mount option: "iHUQB}wBܫiCz-/3[I9V" hugetlbfs: Bad mount option: "iHUQB}wBܫiCz-/3[I9V"