Warning: Permanently added '[localhost]:20069' (ECDSA) to the list of known hosts. 2022/09/30 18:26:45 fuzzer started 2022/09/30 18:26:46 dialing manager at localhost:40535 syzkaller login: [ 44.115900] cgroup: Unknown subsys name 'net' [ 44.218350] cgroup: Unknown subsys name 'rlimit' [ 44.565556] ================================================================== [ 44.566555] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 44.567443] Read of size 8 at addr ffff88800f044018 by task syz-executor/282 [ 44.568658] [ 44.568898] CPU: 1 PID: 282 Comm: syz-executor Not tainted 6.0.0-rc7-next-20220929 #1 [ 44.571018] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 44.572534] Call Trace: [ 44.572888] [ 44.573197] dump_stack_lvl+0x8b/0xb3 [ 44.573749] print_report+0x172/0x475 [ 44.574281] ? __lock_acquire+0x42c9/0x5e70 [ 44.574876] kasan_report+0xbb/0x1c0 [ 44.575395] ? __lock_acquire+0x42c9/0x5e70 [ 44.575993] __lock_acquire+0x42c9/0x5e70 [ 44.576565] ? lock_chain_count+0x20/0x20 [ 44.577138] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 44.577862] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 44.578576] ? put_task_stack+0xe4/0x240 [ 44.579147] lock_acquire+0x1a2/0x530 [ 44.579677] ? kmemleak_scan+0x21d/0x16d0 [ 44.580242] ? lock_release+0x750/0x750 [ 44.580771] ? mark_held_locks+0x9e/0xe0 [ 44.581314] ? call_rcu+0x589/0xa30 [ 44.581829] ? call_rcu+0x589/0xa30 [ 44.582318] ? _raw_spin_lock_irq+0x41/0x50 [ 44.582888] _raw_spin_lock_irq+0x32/0x50 [ 44.583428] ? kmemleak_scan+0x21d/0x16d0 [ 44.583965] kmemleak_scan+0x21d/0x16d0 [ 44.584492] ? paint_ptr+0xc0/0xc0 [ 44.584962] ? strncpy_from_user+0x204/0x3e0 [ 44.585561] kmemleak_write+0x570/0x680 [ 44.586083] ? kmemleak_scan+0x16d0/0x16d0 [ 44.586634] ? debugfs_file_get+0x1ce/0x450 [ 44.587196] ? debugfs_file_put+0xd0/0xd0 [ 44.587739] full_proxy_write+0x11d/0x190 [ 44.588295] vfs_write+0x2cb/0xd90 [ 44.588776] ? full_proxy_poll+0x180/0x180 [ 44.589327] ? kernel_write+0x630/0x630 [ 44.589873] ? do_sys_openat2+0xa1/0x4c0 [ 44.590417] ? build_open_flags+0x6f0/0x6f0 [ 44.591003] ? __fget_light+0x212/0x280 [ 44.591546] ksys_write+0x127/0x250 [ 44.592045] ? __ia32_sys_read+0xb0/0xb0 [ 44.592600] ? syscall_enter_from_user_mode+0x1d/0x50 [ 44.593287] ? syscall_enter_from_user_mode+0x1d/0x50 [ 44.593984] do_syscall_64+0x3b/0x90 [ 44.594501] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 44.595193] RIP: 0033:0x7f1cbb8415c3 [ 44.595694] Code: 16 00 00 00 eb ae 90 b8 6e 00 00 00 eb a6 e8 44 ef 04 00 0f 1f 40 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 44.598075] RSP: 002b:00007ffff525f5f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 44.599081] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1cbb8415c3 [ 44.600019] RDX: 0000000000000004 RSI: 00007ffff525f620 RDI: 0000000000000003 [ 44.600956] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffff525f570 [ 44.601918] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1cbb8e7e61 [ 44.602861] R13: 00007ffff525f620 R14: 0000000000000000 R15: 00007f1cbb9296c0 [ 44.603806] [ 44.604125] [ 44.604359] Allocated by task 138: [ 44.604831] kasan_save_stack+0x1e/0x40 [ 44.605369] kasan_set_track+0x21/0x30 [ 44.605922] __kasan_slab_alloc+0x58/0x70 [ 44.606482] kmem_cache_alloc+0x1a9/0x3e0 [ 44.607040] __create_object+0x3d/0xc10 [ 44.607577] kmem_cache_alloc+0x235/0x3e0 [ 44.608136] __alloc_file+0x21/0x240 [ 44.608650] alloc_empty_file+0x6d/0x170 [ 44.609206] alloc_file+0x59/0x800 [ 44.609717] alloc_file_pseudo+0x16a/0x250 [ 44.610295] sock_alloc_file+0x4f/0x1a0 [ 44.610846] __sys_socket+0x1a8/0x250 [ 44.611373] __x64_sys_socket+0x6f/0xb0 [ 44.611924] do_syscall_64+0x3b/0x90 [ 44.612504] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 44.613188] [ 44.613421] Freed by task 128: [ 44.613867] kasan_save_stack+0x1e/0x40 [ 44.614406] kasan_set_track+0x21/0x30 [ 44.614939] kasan_save_free_info+0x2a/0x50 [ 44.615523] __kasan_slab_free+0x106/0x190 [ 44.616092] kmem_cache_free+0xf7/0x610 [ 44.616629] rcu_core+0x7e2/0x2080 [ 44.617115] __do_softirq+0x1c3/0x8f5 [ 44.617657] [ 44.617896] Last potentially related work creation: [ 44.618547] kasan_save_stack+0x1e/0x40 [ 44.619087] __kasan_record_aux_stack+0x95/0xb0 [ 44.619718] call_rcu+0x6a/0xa30 [ 44.620186] kmem_cache_free+0xbd/0x610 [ 44.620724] rcu_core+0x7e2/0x2080 [ 44.621213] __do_softirq+0x1c3/0x8f5 [ 44.621744] [ 44.621978] Second to last potentially related work creation: [ 44.622733] kasan_save_stack+0x1e/0x40 [ 44.623270] __kasan_record_aux_stack+0x95/0xb0 [ 44.623900] call_rcu+0x6a/0xa30 [ 44.624363] kmem_cache_free+0xbd/0x610 [ 44.624900] putname+0xfe/0x140 [ 44.625350] do_sys_openat2+0x157/0x4c0 [ 44.625908] __x64_sys_openat+0x13f/0x1f0 [ 44.626467] do_syscall_64+0x3b/0x90 [ 44.626985] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 44.627676] [ 44.627910] The buggy address belongs to the object at ffff88800f044000 [ 44.627910] which belongs to the cache kmemleak_object of size 368 [ 44.629571] The buggy address is located 24 bytes inside of [ 44.629571] 368-byte region [ffff88800f044000, ffff88800f044170) [ 44.631056] [ 44.631287] The buggy address belongs to the physical page: [ 44.632014] page:00000000173ec281 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffffea00002418a0 pfn:0xf044 [ 44.633380] head:00000000173ec281 order:1 compound_mapcount:0 compound_pincount:0 [ 44.634380] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 44.635163] raw: 0100000000010200 ffff888007c4f780 dead000000120011 ffff88800f045440 [ 44.636169] raw: ffffea00002418a0 ffffea000022eda0 00000001ffffffff 0000000000000000 [ 44.637157] page dumped because: kasan: bad access detected [ 44.637907] [ 44.638145] Memory state around the buggy address: [ 44.638805] ffff88800f043f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.639778] ffff88800f043f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.640746] >ffff88800f044000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.641726] ^ [ 44.642268] ffff88800f044080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.643235] ffff88800f044100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc [ 44.644206] ================================================================== [ 44.645178] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 18:26:47 Registers: info registers vcpu 0 RAX=ffff88801b876230 RBX=ffff88801b876230 RCX=ffff88801b876000 RDX=0000000000000000 RSI=00000000000001b0 RDI=ffffea00006e1d80 RBP=0000000000000000 RSP=ffff88806ce08948 R8 =0000000000000001 R9 =0000000000000000 R10=0000000000000008 R11=0000000000000001 R12=ffff888007c4f780 R13=ffffffff83362daf R14=0000000000000000 R15=ffff888008444dc0 RIP=ffffffff8178763f RFL=00000286 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 0000000000000000 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000563631cf1648 CR3=0000000008caa000 CR4=00350ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 YMM00=0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff YMM01=0000000000000000 0000000000000000 0000000000000000 00004e4f49544341 YMM02=0000000000000000 0000000000000000 ffffff0f0e0d0c0b 0a09080706050403 YMM03=0000000000000000 0000000000000000 696e656420737365 636341002f737973 YMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000028 YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 616c702f73656369 7665642f7379732f YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 info registers vcpu 1 RAX=0000000000000023 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff823ba3c1 RDI=ffffffff8765a9c0 RBP=ffffffff8765a980 RSP=ffff88801b8872d8 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000023 R11=0000000000000001 R12=0000000000000023 R13=ffffffff8765a980 R14=0000000000000010 R15=ffffffff823ba3b0 RIP=ffffffff823ba419 RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 0000555557178400 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000048000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000563631cf1648 CR3=0000000019cda000 CR4=00350ee0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 YMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM01=0000000000000000 0000000000000000 0a9bf1fa47c78a88 9d4bdcce60d1105b YMM02=0000000000000000 0000000000000000 6b1e99b806172e3b 00000000000aea28 YMM03=0000000000000000 0000000000000000 375afdebbf381c81 00000000001234b0 YMM04=0000000000000000 0000000000000000 16a79c8e0983084d 000000000012a0a0 YMM05=0000000000000000 0000000000000000 d3fdd5f48436fbd7 00000000000aead0 YMM06=0000000000000000 0000000000000000 4940e0eebd2ddf47 00000000000ae988 YMM07=0000000000000000 0000000000000000 a1fcdcf819d7e1e5 00000000000ae728 YMM08=0000000000000000 0000000000000000 44495f474f4c5359 530069253d595449 YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM10=0000000000000000 0000000000000000 2020000000002020 2020202020200000 YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000