Warning: Permanently added '[localhost]:41516' (ECDSA) to the list of known hosts. 2022/12/01 19:36:50 fuzzer started 2022/12/01 19:36:50 dialing manager at localhost:39771 syzkaller login: [ 47.078768] cgroup: Unknown subsys name 'net' [ 47.176762] cgroup: Unknown subsys name 'rlimit' [ 47.597928] ================================================================== [ 47.598924] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 47.599792] Read of size 8 at addr ffff88800e6c9968 by task syz-executor/255 [ 47.604273] [ 47.604506] CPU: 1 PID: 255 Comm: syz-executor Not tainted 6.1.0-rc7-next-20221201 #1 [ 47.605524] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 47.606569] Call Trace: [ 47.606918] [ 47.607224] dump_stack_lvl+0x8f/0xb7 [ 47.607781] print_report+0x175/0x478 [ 47.608322] ? __lock_acquire+0x42c9/0x5e70 [ 47.608938] kasan_report+0xbf/0x1c0 [ 47.609485] ? __lock_acquire+0x42c9/0x5e70 [ 47.610103] __lock_acquire+0x42c9/0x5e70 [ 47.610689] ? __pfx_mark_lock.part.0+0x10/0x10 [ 47.611364] ? __pfx___lock_acquire+0x10/0x10 [ 47.612000] ? __switch_to+0x5c3/0xee0 [ 47.612568] ? put_task_struct_rcu_user+0x62/0xd0 [ 47.613239] lock_acquire+0x1a6/0x530 [ 47.613789] ? kmemleak_scan+0x1a0/0x1600 [ 47.614385] ? __pfx_lock_acquire+0x10/0x10 [ 47.615019] ? __call_rcu_common.constprop.0+0x589/0xa40 [ 47.615784] ? __call_rcu_common.constprop.0+0x589/0xa40 [ 47.616540] ? lockdep_hardirqs_on+0x7d/0x100 [ 47.617180] ? _raw_spin_lock_irq+0x45/0x50 [ 47.617789] _raw_spin_lock_irq+0x36/0x50 [ 47.618370] ? kmemleak_scan+0x1a0/0x1600 [ 47.618967] kmemleak_scan+0x1a0/0x1600 [ 47.619539] ? __pfx_kmemleak_scan+0x10/0x10 [ 47.620174] ? strncpy_from_user+0x107/0x500 [ 47.620814] kmemleak_write+0x574/0x680 [ 47.621389] ? __pfx_kmemleak_write+0x10/0x10 [ 47.622043] ? debugfs_file_get+0x1d2/0x450 [ 47.622666] ? __pfx_debugfs_file_get+0x10/0x10 [ 47.623343] full_proxy_write+0x121/0x190 [ 47.623939] vfs_write+0x358/0xe40 [ 47.624459] ? __pfx_full_proxy_write+0x10/0x10 [ 47.625127] ? __pfx_vfs_write+0x10/0x10 [ 47.625703] ? do_sys_openat2+0xa1/0x4c0 [ 47.626268] ? __pfx_do_sys_openat2+0x10/0x10 [ 47.626920] ? __fget_light+0x212/0x280 [ 47.627489] ksys_write+0x12b/0x260 [ 47.628021] ? __pfx_ksys_write+0x10/0x10 [ 47.628620] ? syscall_enter_from_user_mode+0x21/0x50 [ 47.629349] ? syscall_enter_from_user_mode+0x21/0x50 [ 47.630087] do_syscall_64+0x3f/0x90 [ 47.630644] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 47.631388] RIP: 0033:0x7ff4811fd5c3 [ 47.631903] 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 [ 47.634321] RSP: 002b:00007fff82184f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.635338] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ff4811fd5c3 [ 47.636306] RDX: 0000000000000004 RSI: 00007fff82184f30 RDI: 0000000000000003 [ 47.637269] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007fff82184e80 [ 47.638232] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4812a3e61 [ 47.639209] R13: 00007fff82184f30 R14: 0000000000000000 R15: 00007ff4812e56c0 [ 47.640188] [ 47.640523] [ 47.640765] Allocated by task 103: [ 47.641247] kasan_save_stack+0x22/0x50 [ 47.641812] kasan_set_track+0x25/0x30 [ 47.642358] __kasan_slab_alloc+0x5c/0x70 [ 47.642946] kmem_cache_alloc+0x1e1/0x410 [ 47.643523] __create_object+0x3d/0xc10 [ 47.644093] kmem_cache_alloc_lru+0x308/0x760 [ 47.644719] sock_alloc_inode+0x27/0x1d0 [ 47.645302] alloc_inode+0x63/0x240 [ 47.645822] new_inode_pseudo+0x17/0x80 [ 47.646392] sock_alloc+0x40/0x260 [ 47.646913] __sock_create+0xc1/0x760 [ 47.647473] __sys_socket+0x137/0x250 [ 47.648029] __x64_sys_socket+0x73/0xb0 [ 47.648599] do_syscall_64+0x3f/0x90 [ 47.649142] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 47.649864] [ 47.650108] Freed by task 112: [ 47.650550] kasan_save_stack+0x22/0x50 [ 47.651118] kasan_set_track+0x25/0x30 [ 47.651668] kasan_save_free_info+0x2e/0x50 [ 47.652278] __kasan_slab_free+0x10a/0x190 [ 47.652866] kmem_cache_free+0xfb/0x610 [ 47.653417] rcu_core+0x7e2/0x2090 [ 47.653916] __do_softirq+0x1c7/0x8f9 [ 47.654454] [ 47.654694] Last potentially related work creation: [ 47.655366] kasan_save_stack+0x22/0x50 [ 47.655919] __kasan_record_aux_stack+0x95/0xb0 [ 47.656576] __call_rcu_common.constprop.0+0x6a/0xa40 [ 47.657301] kmem_cache_free+0xc1/0x610 [ 47.657859] i_callback+0x46/0x70 [ 47.658343] rcu_core+0x7e2/0x2090 [ 47.658843] __do_softirq+0x1c7/0x8f9 [ 47.659391] [ 47.659632] Second to last potentially related work creation: [ 47.660403] kasan_save_stack+0x22/0x50 [ 47.660956] __kasan_record_aux_stack+0x95/0xb0 [ 47.661611] __call_rcu_common.constprop.0+0x6a/0xa40 [ 47.662328] kmem_cache_free+0xc1/0x610 [ 47.662883] putname+0x102/0x140 [ 47.663396] do_sys_openat2+0x157/0x4c0 [ 47.663950] __x64_sys_openat+0x143/0x200 [ 47.664520] do_syscall_64+0x3f/0x90 [ 47.665052] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 47.665766] [ 47.666009] The buggy address belongs to the object at ffff88800e6c9950 [ 47.666009] which belongs to the cache kmemleak_object of size 368 [ 47.667690] The buggy address is located 24 bytes inside of [ 47.667690] 368-byte region [ffff88800e6c9950, ffff88800e6c9ac0) [ 47.669215] [ 47.669459] The buggy address belongs to the physical page: [ 47.670208] page:00000000cf2580a1 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xe6c8 [ 47.671447] head:00000000cf2580a1 order:1 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 47.672662] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 47.673458] raw: 0100000000010200 ffff88800844f780 dead000000000100 dead000000000122 [ 47.674489] raw: 0000000000000000 0000000000120012 00000001ffffffff 0000000000000000 [ 47.675522] page dumped because: kasan: bad access detected [ 47.676267] [ 47.676507] Memory state around the buggy address: [ 47.677159] ffff88800e6c9800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.678120] ffff88800e6c9880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.679095] >ffff88800e6c9900: 00 00 fc fc fc fc fc fc fc fc fa fb fb fb fb fb [ 47.680059] ^ [ 47.680948] ffff88800e6c9980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.681907] ffff88800e6c9a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.682871] ================================================================== [ 47.683835] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 19:36:54 Registers: info registers vcpu 0 RAX=dffffc0000000000 RBX=0000000000000001 RCX=0000000000000000 RDX=1ffff11001d32f1a RSI=ffffffff8115b915 RDI=ffff88800e997878 RBP=ffff88800e9978d0 RSP=ffff88800e9977f8 R8 =ffffffff860dcfac R9 =ffffffff860dcfb0 R10=ffffed1001d32f1c R11=ffff88800e9978b8 R12=ffff88800e997940 R13=0000000000000000 R14=ffff88800e997878 R15=ffff888008c8ec80 RIP=ffffffff8112cc5b RFL=00000246 [---Z-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 fffffe2815bca000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe2815bc8000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000563182d2e628 CR3=000000000c676000 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=ffffffffffffffffffffffffffffffff XMM01=00000000000000000000000000000000 XMM02=ffffff0f0e0d0c0b0a09080706050403 XMM03=696e656420737365636341002f737973 XMM04=00000000000000000000000000000018 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 XMM08=616c702f736563697665642f7379732f XMM09=00000000000000000000000000000000 XMM10=00000020000000000000002000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000 info registers vcpu 1 RAX=0000000000000020 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff82484355 RDI=ffffffff87fb1ae0 RBP=ffffffff87fb1aa0 RSP=ffff88801671f2f8 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000020 R11=0000000000000001 R12=0000000000000020 R13=ffffffff87fb1aa0 R14=0000000000000010 R15=ffffffff82484340 RIP=ffffffff824843ad 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 0000555555e99400 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe68aecf0000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe68aecee000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000563182d3fa90 CR3=00000000104dc000 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=00001fa0 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=0000000000000000bfe62e42fefa39ef XMM03=0000ff00000000000000000000000000 XMM04=732f6c61636f6c2f7273752f3d485441 XMM05=622f6c61636f6c2f7273752f3a6e6962 XMM06=73752f3a6e6962732f7273752f3a6e69 XMM07=6e69622f3a6e6962732f3a6e69622f72 XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000