WARNING: possible circular locking dependency detected 4.15.0-rc3+ #220 Not tainted ------------------------------------------------------ syz-executor5/21250 is trying to acquire lock: (&sb->s_type->i_mutex_key#10){++++}, at: [<000000001eadbf91>] inode_lock include/linux/fs.h:713 [inline] (&sb->s_type->i_mutex_key#10){++++}, at: [<000000001eadbf91>] generic_file_write_iter+0xdc/0x7a0 mm/filemap.c:3289 but task is already holding lock: (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_lock_nested fs/pipe.c:67 [inline] (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_lock fs/pipe.c:75 [inline] (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_wait+0x1e6/0x280 fs/pipe.c:123 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #6 (&pipe->mutex/1){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __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 pipe_lock_nested fs/pipe.c:67 [inline] pipe_lock+0x56/0x70 fs/pipe.c:75 iter_file_splice_write+0x264/0xf30 fs/splice.c:699 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #5 (sb_writers){.+.+}: spin_lock include/linux/spinlock.h:315 [inline] devtmpfsd+0x224/0x4b0 drivers/base/devtmpfs.c:392 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441 0xffffffffffffffff path_parentat+0x75/0x140 fs/namei.c:2359 -> #4 ((completion)&req.done){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 complete_acquire include/linux/completion.h:40 [inline] __wait_for_common kernel/sched/completion.c:109 [inline] wait_for_common kernel/sched/completion.c:123 [inline] wait_for_completion+0xcb/0x7b0 kernel/sched/completion.c:144 devtmpfs_create_node+0x32b/0x4a0 drivers/base/devtmpfs.c:115 device_add+0x120f/0x1640 drivers/base/core.c:1824 device_create_groups_vargs+0x1f3/0x250 drivers/base/core.c:2430 device_create_vargs drivers/base/core.c:2470 [inline] device_create+0xda/0x110 drivers/base/core.c:2506 msr_device_create+0x26/0x40 arch/x86/kernel/msr.c:188 cpuhp_invoke_callback+0x2ea/0x1d20 kernel/cpu.c:182 cpuhp_thread_fun+0x48e/0x7e0 kernel/cpu.c:571 smpboot_thread_fn+0x450/0x7c0 kernel/smpboot.c:164 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441 -> #3 (cpuhp_state-up){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 cpuhp_lock_acquire kernel/cpu.c:85 [inline] cpuhp_invoke_ap_callback kernel/cpu.c:605 [inline] cpuhp_issue_call+0x1e5/0x520 kernel/cpu.c:1495 __cpuhp_setup_state_cpuslocked+0x282/0x600 kernel/cpu.c:1642 __cpuhp_setup_state+0xb0/0x140 kernel/cpu.c:1671 cpuhp_setup_state include/linux/cpuhotplug.h:201 [inline] page_writeback_init+0x4d/0x71 mm/page-writeback.c:2081 pagecache_init+0x48/0x4f mm/filemap.c:977 start_kernel+0x6bc/0x74f init/main.c:695 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 -> #2 (cpuhp_state_mutex){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __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 __cpuhp_setup_state_cpuslocked+0x5b/0x600 kernel/cpu.c:1617 __cpuhp_setup_state+0xb0/0x140 kernel/cpu.c:1671 cpuhp_setup_state_nocalls include/linux/cpuhotplug.h:229 [inline] kvm_guest_init+0x1f3/0x20f arch/x86/kernel/kvm.c:528 setup_arch+0x17e8/0x1a02 arch/x86/kernel/setup.c:1266 start_kernel+0xa5/0x74f init/main.c:530 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 -> #1 (cpu_hotplug_lock.rw_sem){++++}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 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 get_online_cpus include/linux/cpu.h:117 [inline] lru_add_drain_all+0xe/0x20 mm/swap.c:729 shmem_wait_for_pins mm/shmem.c:2672 [inline] shmem_add_seals+0x3df/0x1060 mm/shmem.c:2780 shmem_fcntl+0xfe/0x130 mm/shmem.c:2815 do_fcntl+0x73e/0x1160 fs/fcntl.c:421 SYSC_fcntl fs/fcntl.c:463 [inline] SyS_fcntl+0xdc/0x120 fs/fcntl.c:448 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #0 (&sb->s_type->i_mutex_key#10){++++}: check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 down_write+0x87/0x120 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:713 [inline] generic_file_write_iter+0xdc/0x7a0 mm/filemap.c:3289 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x531/0x7f0 fs/read_write.c:653 do_iter_write+0x15a/0x540 fs/read_write.c:932 vfs_iter_write+0x77/0xb0 fs/read_write.c:945 iter_file_splice_write+0x7db/0xf30 fs/splice.c:749 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 other info that might help us debug this: Chain exists of: &sb->s_type->i_mutex_key#10 --> sb_writers --> &pipe->mutex/1 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&pipe->mutex/1); lock(sb_writers); lock(&pipe->mutex/1); lock(&sb->s_type->i_mutex_key#10); *** DEADLOCK *** 2 locks held by syz-executor5/21250: #0: (sb_writers#6){.+.+}, at: [<0000000051236224>] file_start_write include/linux/fs.h:2715 [inline] #0: (sb_writers#6){.+.+}, at: [<0000000051236224>] do_splice fs/splice.c:1146 [inline] #0: (sb_writers#6){.+.+}, at: [<0000000051236224>] SYSC_splice fs/splice.c:1402 [inline] #0: (sb_writers#6){.+.+}, at: [<0000000051236224>] SyS_splice+0x1117/0x1630 fs/splice.c:1382 #1: (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_lock_nested fs/pipe.c:67 [inline] #1: (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_lock fs/pipe.c:75 [inline] #1: (&pipe->mutex/1){+.+.}, at: [<0000000084dbba43>] pipe_wait+0x1e6/0x280 fs/pipe.c:123 stack backtrace: CPU: 0 PID: 21250 Comm: syz-executor5 Not tainted 4.15.0-rc3+ #220 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+0x42d/0x610 kernel/locking/lockdep.c:1271 check_prev_add+0x666/0x15f0 kernel/locking/lockdep.c:1914 check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 down_write+0x87/0x120 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:713 [inline] generic_file_write_iter+0xdc/0x7a0 mm/filemap.c:3289 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x531/0x7f0 fs/read_write.c:653 do_iter_write+0x15a/0x540 fs/read_write.c:932 vfs_iter_write+0x77/0xb0 fs/read_write.c:945 iter_file_splice_write+0x7db/0xf30 fs/splice.c:749 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007fe3860e7c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452a39 RDX: 0000000000000013 RSI: 0000000000000000 RDI: 0000000000000014 RBP: 00000000000003f2 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f3f50 R13: 00000000ffffffff R14: 00007fe3860e86d4 R15: 0000000000000000 *** Guest State *** CR0: actual=0x0000000080000031, shadow=0x0000000060000011, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002050, shadow=0x0000000000002000, gh_mask=ffffffffffffe871 CR3 = 0x00000000fffbc000 RSP = 0x0000000000000002 RIP = 0x000000000000000a RFLAGS=0x00200004 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0x0010, attr=0x0009b, limit=0x000fffff, base=0x0000000000000000 DS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 SS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 ES: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 FS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 GS: sel=0x0018, attr=0x00093, limit=0x000fffff, base=0x0000000000000000 GDTR: limit=0x000007ff, base=0x0000000000001000 LDTR: sel=0x0008, attr=0x04082, limit=0x000007ff, base=0x0000000000001800 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811bd893 RSP = 0xffff8801d81f7508 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f37d03d6700 GSBase=ffff8801db400000 TRBase=ffff8801db423100 GDTBase=ffffffffff577000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=00000001c6b01000 CR4=00000000001426f0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff85175780 EFER = 0x0000000000000d01 PAT = 0x0000000000000000 *** Control State *** PinBased=0000003f CPUBased=b699edfa SecondaryExec=00000042 EntryControls=0000d1ff ExitControls=0023efff ExceptionBitmap=00060042 PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000000 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffa6595afab6 EPT pointer = 0x00000001cb85801e loop_reread_partitions: partition scan of loop4 () failed (rc=-13) netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=112 sclass=netlink_route_socket pig=21409 comm=security netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=112 sclass=netlink_route_socket pig=21409 comm=security binder: 21450 RLIMIT_NICE not set binder: 21448:21450 got reply transaction with no transaction stack binder: 21448:21450 transaction failed 29201/-71, size 0-48 line 2690 binder: 21448:21450 DecRefs 0 refcount change on invalid ref 2 ret -22 binder: 21450 RLIMIT_NICE not set binder: 21450 RLIMIT_NICE not set binder: 21448:21466 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 21448 invalid dec weak, ref 144 desc 0 s 1 w 0 binder: 21448:21466 DecRefs 0 refcount change on invalid ref 4 ret -22 binder: 21448:21466 BC_CLEAR_DEATH_NOTIFICATION death notification cookie mismatch 0000000000000000 != fffffffffffffffe binder: 21448:21466 got reply transaction with no transaction stack binder: 21448:21466 transaction failed 29201/-71, size 0-48 line 2690 binder: 21448:21471 tried to acquire reference to desc 0, got 1 instead binder: 21448:21471 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 21448:21466 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 21466 RLIMIT_NICE not set binder: 21448:21466 got reply transaction with no transaction stack binder: 21448:21473 DecRefs 0 refcount change on invalid ref 2 ret -22 binder: 21448:21473 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 21448:21473 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 21448:21473 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 21448:21473 DecRefs 0 refcount change on invalid ref 4 ret -22 binder: 21448:21473 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 21448:21473 got reply transaction with no transaction stack binder: 21448:21473 transaction failed 29201/-71, size 0-48 line 2690 binder: 21448:21466 transaction failed 29201/-71, size 0-48 line 2690 binder: undelivered death notification, 0000000000000000 binder: 21491 RLIMIT_NICE not set binder: 21486:21491 got reply transaction with no transaction stack binder: 21486:21491 transaction failed 29201/-71, size 0-48 line 2690 binder: 21486:21491 DecRefs 0 refcount change on invalid ref 2 ret -22 binder: 21491 RLIMIT_NICE not set binder: 21491 RLIMIT_NICE not set binder: 21486:21503 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 21486 invalid dec weak, ref 152 desc 0 s 1 w 0 binder: 21486:21503 DecRefs 0 refcount change on invalid ref 4 ret -22 binder: 21486:21503 BC_CLEAR_DEATH_NOTIFICATION death notification cookie mismatch 0000000000000000 != fffffffffffffffe binder: 21486:21503 unknown command 0 binder: 21486:21503 ioctl c0306201 2000bfd0 returned -22 binder: 21486:21524 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 21486:21503 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 21503 RLIMIT_NICE not set binder: 21486:21524 got reply transaction with no transaction stack binder: 21486:21524 transaction failed 29201/-71, size 0-48 line 2690 binder: 21486:21527 DecRefs 0 refcount change on invalid ref 2 ret -22 binder: 21486:21527 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 21486:21527 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 21486:21527 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 21486:21527 DecRefs 0 refcount change on invalid ref 4 ret -22 binder: 21486:21527 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 21486:21527 got reply transaction with no transaction stack binder: 21486:21527 transaction failed 29201/-71, size 0-48 line 2690 binder: undelivered death notification, 0000000000000000 QAT: Invalid ioctl validate_nla: 22 callbacks suppressed netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 21939 Comm: syz-executor2 Not tainted 4.15.0-rc3+ #220 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:3371 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3545 __sigqueue_alloc+0x329/0x660 kernel/signal.c:386 __send_signal+0x2e8/0x17a0 kernel/signal.c:1041 send_signal+0x4a/0xc0 kernel/signal.c:1107 specific_send_sig_info kernel/signal.c:1152 [inline] force_sig_info+0x242/0x340 kernel/signal.c:1204 force_sig_info_fault.constprop.32+0x289/0x450 arch/x86/mm/fault.c:223 __bad_area_nosemaphore+0x1d2/0x3e0 arch/x86/mm/fault.c:923 __bad_area arch/x86/mm/fault.c:957 [inline] bad_area+0x69/0x80 arch/x86/mm/fault.c:964 __do_page_fault+0x827/0xc90 arch/x86/mm/fault.c:1399 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1094 RIP: 0033:0x44c600 RSP: 002b:00007ffbfd9ba788 EFLAGS: 00010206 RAX: 00007ffbfd9ba830 RBX: 0000000000758020 RCX: 0000000000000006 RDX: 0000000000000400 RSI: 0000000020fc9ff0 RDI: 00007ffbfd9ba830 RBP: 00000000000005be R08: 0000000000000400 R09: 0000000000000000 R10: 0000000020fc9ff6 R11: 0000000000000000 R12: 00000000006f6a70 R13: 0000000000000013 R14: 00007ffbfd9bb6d4 R15: ffffffffffffffff FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 22150 Comm: syz-executor7 Not tainted 4.15.0-rc3+ #220 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:3371 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3545 __build_skb+0x9d/0x450 net/core/skbuff.c:281 __napi_alloc_skb+0x173/0x2c0 net/core/skbuff.c:482 napi_alloc_skb include/linux/skbuff.h:2638 [inline] napi_get_frags+0x61/0x130 net/core/dev.c:5021 tun_napi_alloc_frags drivers/net/tun.c:1296 [inline] tun_get_user+0x1ba2/0x36d0 drivers/net/tun.c:1637 tun_chr_write_iter+0xbf/0x160 drivers/net/tun.c:1800 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x531/0x7f0 fs/read_write.c:653 do_iter_write+0x15a/0x540 fs/read_write.c:932 vfs_writev+0x18a/0x340 fs/read_write.c:977 do_writev+0xfc/0x2a0 fs/read_write.c:1012 SYSC_writev fs/read_write.c:1085 [inline] SyS_writev+0x27/0x30 fs/read_write.c:1082 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452911 RSP: 002b:00007f4123827b80 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f4123827aa0 RCX: 0000000000452911 RDX: 0000000000000001 RSI: 00007f4123827bd0 RDI: 0000000000000012 RBP: 00007f4123827a90 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000004e R11: 0000000000000293 R12: 00000000004b75fb R13: 00007f4123827bc8 R14: 00000000004b75fb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 22246 Comm: syz-executor4 Not tainted 4.15.0-rc3+ #220 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:3292 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3635 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1144 [inline] netlink_sendmsg+0xa86/0xe70 net/netlink/af_netlink.c:1836 sock_sendmsg_nosec net/socket.c:636 [inline] sock_sendmsg+0xca/0x110 net/socket.c:646 sock_write_iter+0x320/0x5e0 net/socket.c:915 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x531/0x7f0 fs/read_write.c:653 do_iter_write+0x15a/0x540 fs/read_write.c:932 vfs_writev+0x18a/0x340 fs/read_write.c:977 do_writev+0xfc/0x2a0 fs/read_write.c:1012 SYSC_writev fs/read_write.c:1085 [inline] SyS_writev+0x27/0x30 fs/read_write.c:1082 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007f37d03d5c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f37d03d5aa0 RCX: 0000000000452a39 RDX: 0000000000000001 RSI: 00000000204d0ff0 RDI: 0000000000000013 RBP: 00007f37d03d5a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75fb R13: 00007f37d03d5bc8 R14: 00000000004b75fb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 22256 Comm: syz-executor4 Not tainted 4.15.0-rc3+ #220 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:3292 [inline] kmem_cache_alloc_node_trace+0x5a/0x760 mm/slab.c:3654 __do_kmalloc_node mm/slab.c:3674 [inline] __kmalloc_node_track_caller+0x33/0x70 mm/slab.c:3689 __kmalloc_reserve.isra.41+0x41/0xd0 net/core/skbuff.c:137 __alloc_skb+0x13b/0x780 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1144 [inline] netlink_sendmsg+0xa86/0xe70 net/netlink/af_netlink.c:1836 sock_sendmsg_nosec net/socket.c:636 [inline] sock_sendmsg+0xca/0x110 net/socket.c:646 sock_write_iter+0x320/0x5e0 net/socket.c:915 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x531/0x7f0 fs/read_write.c:653 do_iter_write+0x15a/0x540 fs/read_write.c:932 vfs_writev+0x18a/0x340 fs/read_write.c:977 do_writev+0xfc/0x2a0 fs/read_write.c:1012 SYSC_writev fs/read_write.c:1085 [inline] SyS_writev+0x27/0x30 fs/read_write.c:1082 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007f37d03d5c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f37d03d5aa0 RCX: 0000000000452a39 RDX: 0000000000000001 RSI: 00000000204d0ff0 RDI: 0000000000000013 RBP: 00007f37d03d5a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75fb R13: 00007f37d03d5bc8 R14: 00000000004b75fb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 22488 Comm: syz-executor1 Not tainted 4.15.0-rc3+ #220 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:3371 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3545 ptlock_alloc+0x24/0x70 mm/memory.c:4685 ptlock_init include/linux/mm.h:1790 [inline] pgtable_page_ctor include/linux/mm.h:1824 [inline] pte_alloc_one+0x59/0x100 arch/x86/mm/pgtable.c:32 __pte_alloc+0x2a/0x310 mm/memory.c:648 do_anonymous_page mm/memory.c:3099 [inline] handle_pte_fault mm/memory.c:3934 [inline] __handle_mm_fault+0x2e21/0x3e20 mm/memory.c:4060 handle_mm_fault+0x334/0x8d0 mm/memory.c:4097 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1094 RIP: 0010:__put_user_4+0x1c/0x30 arch/x86/lib/putuser.S:68 RSP: 0018:ffff8801d5837e60 EFLAGS: 00010283 RAX: 0000000000000001 RBX: 00007fffffffeffd RCX: 0000000020005fff RDX: 1ffff1003ab06fd4 RSI: ffffc90002c35000 RDI: 0000000000000282 RBP: ffff8801d5837f48 R08: 0000000000000001 R09: 1ffff1003ab06fa1 R10: ffff8801d0214040 R11: 0000000000000000 R12: 1ffff1003ab06fd0 R13: 0000000020c5aba3 R14: ffff8801d5837ee0 R15: 0000000000000000 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007fc819a31c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000ef RAX: ffffffffffffffda RBX: 00007fc819a31aa0 RCX: 0000000000452a39 RDX: 0000000000001000 RSI: 0000000020c5aba3 RDI: 0000000020005fff RBP: 00007fc819a31a90 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000020008000 R11: 0000000000000212 R12: 00000000004b75fb R13: 00007fc819a31bc8 R14: 00000000004b75fb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 22506 Comm: syz-executor1 Not tainted 4.15.0-rc3+ #220 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:3371 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3545 ptlock_alloc+0x24/0x70 mm/memory.c:4685 ptlock_init include/linux/mm.h:1790 [inline] pgtable_page_ctor include/linux/mm.h:1824 [inline] pte_alloc_one+0x59/0x100 arch/x86/mm/pgtable.c:32 __do_huge_pmd_anonymous_page mm/huge_memory.c:564 [inline] do_huge_pmd_anonymous_page+0x554/0x1b00 mm/huge_memory.c:728 create_huge_pmd mm/memory.c:3828 [inline] __handle_mm_fault+0x1b9f/0x3e20 mm/memory.c:4031 handle_mm_fault+0x334/0x8d0 mm/memory.c:4097 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1094 RIP: 0010:__clear_user+0x42/0x70 arch/x86/lib/usercopy_64.c:23 RSP: 0018:ffff8801d27f7df0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: 000000000000003f RCX: 000000000000003f RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000020c5abab RBP: ffff8801d27f7e00 R08: 0000000000000001 R09: 1ffff1003a4fef92 R10: ffff8801d3470380 R11: 0000000000000000 R12: 0000000020c5abab R13: 00007ffffffff000 R14: 0000000020c5ada3 R15: 0000000000000000 clear_user+0x79/0xa0 arch/x86/lib/usercopy_64.c:53 copy_nodes_to_user+0x52/0xb0 mm/mempolicy.c:1317 SYSC_get_mempolicy mm/mempolicy.c:1475 [inline] SyS_get_mempolicy+0x15f/0x1c0 mm/mempolicy.c:1455 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007fc819a31c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000ef RAX: ffffffffffffffda RBX: 00007fc819a31aa0 RCX: 0000000000452a39 RDX: 0000000000001000 RSI: 0000000020c5aba3 RDI: 0000000020005fff RBP: 00007fc819a31a90 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000020008000 R11: 0000000000000212 R12: 00000000004b75fb R13: 00007fc819a31bc8 R14: 00000000004b75fb R15: 0000000000000000 validate_nla: 43 callbacks suppressed netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. SELinux: unrecognized netlink message: protocol=9 nlmsg_type=26 sclass=netlink_audit_socket pig=22777 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=26 sclass=netlink_audit_socket pig=22784 comm=syz-executor4 netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. QAT: Invalid ioctl QAT: Invalid ioctl netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. netlink: 'syz-executor4': attribute type 16 has an invalid length. QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl