Warning: Permanently added '[localhost]:64248' (ECDSA) to the list of known hosts. 2022/12/07 13:28:19 fuzzer started 2022/12/07 13:28:19 dialing manager at localhost:43319 syzkaller login: [ 41.998271] cgroup: Unknown subsys name 'net' [ 42.061102] cgroup: Unknown subsys name 'rlimit' [ 52.322249] ================================================================== [ 52.323287] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 52.324198] Read of size 8 at addr ffff88800ecbcbe8 by task syz-executor/254 [ 52.328125] [ 52.328371] CPU: 0 PID: 254 Comm: syz-executor Not tainted 6.1.0-rc8-next-20221207 #1 [ 52.329432] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 52.330563] Call Trace: [ 52.330923] [ 52.331252] dump_stack_lvl+0x8f/0xb7 [ 52.331801] print_report+0x175/0x478 [ 52.332362] ? __lock_acquire+0x42c9/0x5e70 [ 52.332970] kasan_report+0xbf/0x1c0 [ 52.333520] ? __lock_acquire+0x42c9/0x5e70 [ 52.334143] __lock_acquire+0x42c9/0x5e70 [ 52.334756] ? __pfx_mark_lock.part.0+0x10/0x10 [ 52.335428] ? finish_task_switch.isra.0+0x22d/0x8a0 [ 52.336132] ? __pfx___lock_acquire+0x10/0x10 [ 52.336775] ? __switch_to+0x5c3/0xee0 [ 52.337357] lock_acquire+0x1a6/0x530 [ 52.337902] ? kmemleak_scan+0x1a0/0x1600 [ 52.338519] ? __pfx_lock_acquire+0x10/0x10 [ 52.339135] ? __call_rcu_common.constprop.0+0x589/0xa40 [ 52.339895] ? __call_rcu_common.constprop.0+0x589/0xa40 [ 52.340671] ? lockdep_hardirqs_on+0x7d/0x100 [ 52.341322] ? _raw_spin_lock_irq+0x45/0x50 [ 52.341931] _raw_spin_lock_irq+0x36/0x50 [ 52.342517] ? kmemleak_scan+0x1a0/0x1600 [ 52.343110] kmemleak_scan+0x1a0/0x1600 [ 52.343695] ? __pfx_kmemleak_scan+0x10/0x10 [ 52.344339] ? strncpy_from_user+0x107/0x500 [ 52.344962] kmemleak_write+0x574/0x680 [ 52.345540] ? __pfx_kmemleak_write+0x10/0x10 [ 52.346188] ? debugfs_file_get+0x1d2/0x450 [ 52.346819] ? __pfx_debugfs_file_get+0x10/0x10 [ 52.347502] full_proxy_write+0x121/0x190 [ 52.348095] vfs_write+0x358/0xe40 [ 52.348620] ? __pfx_full_proxy_write+0x10/0x10 [ 52.349294] ? __pfx_vfs_write+0x10/0x10 [ 52.349884] ? do_sys_openat2+0xa1/0x4c0 [ 52.350468] ? __pfx_do_sys_openat2+0x10/0x10 [ 52.351126] ? xfd_validate_state+0x5d/0x180 [ 52.351764] ? __fget_light+0x212/0x280 [ 52.352334] ksys_write+0x12b/0x260 [ 52.352872] ? __pfx_ksys_write+0x10/0x10 [ 52.353467] ? syscall_enter_from_user_mode+0x21/0x50 [ 52.354187] ? syscall_enter_from_user_mode+0x21/0x50 [ 52.354921] do_syscall_64+0x3f/0x90 [ 52.355461] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 52.356178] RIP: 0033:0x7f17a20895c3 [ 52.356696] 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 [ 52.359109] RSP: 002b:00007ffea2416db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 52.360140] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f17a20895c3 [ 52.361114] RDX: 0000000000000004 RSI: 00007ffea2416de0 RDI: 0000000000000003 [ 52.362078] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffea2416d30 [ 52.363067] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a212fe61 [ 52.364031] R13: 00007ffea2416de0 R14: 0000000000000000 R15: 00007f17a21716c0 [ 52.365011] [ 52.365348] [ 52.365596] Allocated by task 102: [ 52.366078] kasan_save_stack+0x22/0x50 [ 52.366659] kasan_set_track+0x25/0x30 [ 52.367217] __kasan_slab_alloc+0x5c/0x70 [ 52.367807] kmem_cache_alloc+0x1e1/0x410 [ 52.368394] __create_object+0x3d/0xc10 [ 52.368960] kmem_cache_alloc+0x273/0x410 [ 52.369540] __alloc_file+0x21/0x240 [ 52.370068] alloc_empty_file+0x71/0x170 [ 52.370658] alloc_file+0x59/0x800 [ 52.371161] alloc_file_pseudo+0x16e/0x260 [ 52.371753] sock_alloc_file+0x53/0x1a0 [ 52.372331] __sys_socket+0x1ac/0x250 [ 52.372875] __x64_sys_socket+0x73/0xb0 [ 52.373434] do_syscall_64+0x3f/0x90 [ 52.373964] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 52.374693] [ 52.374935] Freed by task 112: [ 52.375373] kasan_save_stack+0x22/0x50 [ 52.375936] kasan_set_track+0x25/0x30 [ 52.376483] kasan_save_free_info+0x2e/0x50 [ 52.377079] __kasan_slab_free+0x10a/0x190 [ 52.377681] kmem_cache_free+0xfb/0x610 [ 52.378251] rcu_core+0x7e2/0x2090 [ 52.378763] __do_softirq+0x1c7/0x8f9 [ 52.379311] [ 52.379557] Last potentially related work creation: [ 52.380226] kasan_save_stack+0x22/0x50 [ 52.380809] __kasan_record_aux_stack+0x95/0xb0 [ 52.381485] __call_rcu_common.constprop.0+0x6a/0xa40 [ 52.382218] kmem_cache_free+0xc1/0x610 [ 52.382796] rcu_core+0x7e2/0x2090 [ 52.383306] __do_softirq+0x1c7/0x8f9 [ 52.383855] [ 52.384096] Second to last potentially related work creation: [ 52.384874] kasan_save_stack+0x22/0x50 [ 52.385461] __kasan_record_aux_stack+0x95/0xb0 [ 52.386122] __call_rcu_common.constprop.0+0x6a/0xa40 [ 52.386860] kmem_cache_free+0xc1/0x610 [ 52.387429] rcu_core+0x7e2/0x2090 [ 52.387936] __do_softirq+0x1c7/0x8f9 [ 52.388489] [ 52.388732] The buggy address belongs to the object at ffff88800ecbcbd0 [ 52.388732] which belongs to the cache kmemleak_object of size 368 [ 52.390389] The buggy address is located 24 bytes inside of [ 52.390389] 368-byte region [ffff88800ecbcbd0, ffff88800ecbcd40) [ 52.391915] [ 52.392163] The buggy address belongs to the physical page: [ 52.392918] page:0000000051e42d82 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xecbc [ 52.394156] head:0000000051e42d82 order:1 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 52.395410] anon flags: 0x100000000010200(slab|head|node=0|zone=1) [ 52.396273] raw: 0100000000010200 ffff88800844f780 ffffea000023a080 dead000000000003 [ 52.397323] raw: 0000000000000000 0000000000120012 00000001ffffffff 0000000000000000 [ 52.398369] page dumped because: kasan: bad access detected [ 52.399152] [ 52.399393] Memory state around the buggy address: [ 52.400055] ffff88800ecbca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.401037] ffff88800ecbcb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.402011] >ffff88800ecbcb80: fb fb fc fc fc fc fc fc fc fc fa fb fb fb fb fb [ 52.402996] ^ [ 52.403888] ffff88800ecbcc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.404878] ffff88800ecbcc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.405852] ================================================================== [ 52.406830] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 13:28:31 Registers: info registers vcpu 0 RAX=0000000000000020 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff82489835 RDI=ffffffff87fb5b60 RBP=ffffffff87fb5b20 RSP=ffff88801bef72f8 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000020 R11=0000000000000001 R12=0000000000000020 R13=ffffffff87fb5b20 R14=0000000000000010 R15=ffffffff82489820 RIP=ffffffff8248988d 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 0000555556ecc400 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe0bfddde000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0bfdddc000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=000055c105160628 CR3=0000000010a76000 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 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000017 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 XMM08=00000000000000314f4a414d00333234 XMM09=00000000000000000000000000000000 XMM10=00000000200000000000000020000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000 info registers vcpu 1 RAX=0000000000000001 RBX=00000000000003b8 RCX=ffffffff812bd8cd RDX=fffffbfff0ec5d27 RSI=0000000000000008 RDI=ffffffff8762e930 RBP=0000000000000000 RSP=ffff88801aa8f958 R8 =0000000000000000 R9 =ffffffff8762e937 R10=fffffbfff0ec5d26 R11=0000000000000001 R12=ffff888017d1d040 R13=ffff888017d1d9c8 R14=ffff888017d1d9a0 R15=0000000000000000 RIP=ffffffff812bd8d5 RFL=00000047 [---Z-PC] 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 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe18e6c3a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe18e6c38000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f7658478400 CR3=0000000010a76000 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 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=ffff000000000000ffff00ff00000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000