Debian GNU/Linux 11 syzkaller ttyS0 Warning: Permanently added '[localhost]:54334' (ECDSA) to the list of known hosts. 2022/09/26 00:34:25 fuzzer started 2022/09/26 00:34:25 dialing manager at localhost:38881 syzkaller login: [ 37.976462] cgroup: Unknown subsys name 'net' [ 38.090737] cgroup: Unknown subsys name 'rlimit' [ 38.495710] ================================================================== [ 38.496741] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 38.497621] Read of size 8 at addr ffff88800e92db18 by task syz-executor/280 [ 38.498595] [ 38.499037] CPU: 1 PID: 280 Comm: syz-executor Not tainted 6.0.0-rc6-next-20220923 #1 [ 38.500536] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 38.502354] Call Trace: [ 38.502701] [ 38.503008] dump_stack_lvl+0x8b/0xb3 [ 38.503530] print_report+0x172/0x475 [ 38.504052] ? __lock_acquire+0x42c9/0x5e70 [ 38.504636] kasan_report+0xbb/0x1c0 [ 38.505153] ? __lock_acquire+0x42c9/0x5e70 [ 38.505738] __lock_acquire+0x42c9/0x5e70 [ 38.506304] ? lock_chain_count+0x20/0x20 [ 38.506862] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 38.507556] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 38.508252] ? put_task_stack+0xe4/0x240 [ 38.508811] lock_acquire+0x1a2/0x530 [ 38.509322] ? kmemleak_scan+0x21d/0x16e0 [ 38.509873] ? lock_release+0x750/0x750 [ 38.510417] ? mark_held_locks+0x9e/0xe0 [ 38.510963] ? call_rcu+0x589/0xa30 [ 38.511460] ? call_rcu+0x589/0xa30 [ 38.511944] ? _raw_spin_lock_irq+0x41/0x50 [ 38.512566] _raw_spin_lock_irq+0x32/0x50 [ 38.513130] ? kmemleak_scan+0x21d/0x16e0 [ 38.513682] kmemleak_scan+0x21d/0x16e0 [ 38.514218] ? paint_ptr+0xc0/0xc0 [ 38.514696] ? strncpy_from_user+0x204/0x3e0 [ 38.515296] kmemleak_write+0x570/0x680 [ 38.515825] ? kmemleak_scan+0x16e0/0x16e0 [ 38.516393] ? debugfs_file_get+0x1ce/0x450 [ 38.516974] ? debugfs_file_put+0xd0/0xd0 [ 38.517556] full_proxy_write+0x11d/0x190 [ 38.518132] vfs_write+0x2cb/0xd90 [ 38.518629] ? full_proxy_poll+0x180/0x180 [ 38.519208] ? __ia32_sys_pread64+0x220/0x220 [ 38.519846] ? do_sys_openat2+0xa1/0x4c0 [ 38.520418] ? build_open_flags+0x6f0/0x6f0 [ 38.521059] ? __fget_light+0x212/0x280 [ 38.521627] ksys_write+0x127/0x250 [ 38.522150] ? __ia32_sys_read+0xb0/0xb0 [ 38.522731] ? syscall_enter_from_user_mode+0x1d/0x50 [ 38.523438] ? syscall_enter_from_user_mode+0x1d/0x50 [ 38.524143] do_syscall_64+0x3b/0x90 [ 38.524682] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 38.525408] RIP: 0033:0x7f0494d0b5c3 [ 38.525925] 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 [ 38.528369] RSP: 002b:00007ffecafda078 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 38.529415] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f0494d0b5c3 [ 38.530344] RDX: 0000000000000004 RSI: 00007ffecafda0a0 RDI: 0000000000000003 [ 38.531267] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffecafd9ff0 [ 38.532188] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0494db1e61 [ 38.533139] R13: 00007ffecafda0a0 R14: 0000000000000000 R15: 00007f0494df36c0 [ 38.534078] [ 38.534398] [ 38.534627] Allocated by task 130: [ 38.535088] kasan_save_stack+0x1e/0x40 [ 38.535650] kasan_set_track+0x21/0x30 [ 38.536191] __kasan_slab_alloc+0x58/0x70 [ 38.536783] kmem_cache_alloc+0x1b1/0x3e0 [ 38.537360] __create_object+0x3d/0xc10 [ 38.537903] kmem_cache_alloc_lru+0x2ce/0x720 [ 38.538502] __d_alloc+0x31/0x9a0 [ 38.538981] d_alloc_pseudo+0x19/0x70 [ 38.539491] alloc_file_pseudo+0xce/0x250 [ 38.540032] sock_alloc_file+0x4f/0x1a0 [ 38.540610] __sys_socket+0x1a8/0x250 [ 38.541140] __x64_sys_socket+0x6f/0xb0 [ 38.541691] do_syscall_64+0x3b/0x90 [ 38.542224] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 38.542942] [ 38.543175] Freed by task 138: [ 38.543631] kasan_save_stack+0x1e/0x40 [ 38.544186] kasan_set_track+0x21/0x30 [ 38.544745] kasan_save_free_info+0x2a/0x50 [ 38.545342] __kasan_slab_free+0x106/0x190 [ 38.545912] kmem_cache_free+0xf7/0x610 [ 38.546435] rcu_core+0x7e2/0x2080 [ 38.546912] __do_softirq+0x1c3/0x8f5 [ 38.547418] [ 38.547648] Last potentially related work creation: [ 38.548286] kasan_save_stack+0x1e/0x40 [ 38.548818] __kasan_record_aux_stack+0x95/0xb0 [ 38.549440] call_rcu+0x6a/0xa30 [ 38.549897] kmem_cache_free+0xbd/0x610 [ 38.550429] dentry_free+0xde/0x160 [ 38.550916] __dentry_kill+0x47d/0x5c0 [ 38.551438] dput+0x821/0xe10 [ 38.551872] __fput+0x3a6/0xa40 [ 38.552313] task_work_run+0x170/0x280 [ 38.552868] exit_to_user_mode_prepare+0x199/0x1a0 [ 38.553542] syscall_exit_to_user_mode+0x19/0x40 [ 38.554188] do_syscall_64+0x48/0x90 [ 38.554696] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 38.555396] [ 38.555632] The buggy address belongs to the object at ffff88800e92db00 [ 38.555632] which belongs to the cache kmemleak_object of size 368 [ 38.557306] The buggy address is located 24 bytes inside of [ 38.557306] 368-byte region [ffff88800e92db00, ffff88800e92dc70) [ 38.558843] [ 38.559079] The buggy address belongs to the physical page: [ 38.559828] page:00000000d6da6d36 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffffea000035c780 pfn:0xe92c [ 38.561253] head:00000000d6da6d36 order:1 compound_mapcount:0 compound_pincount:0 [ 38.562264] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 38.563063] raw: 0100000000010200 ffff888007c4f780 dead000000120012 0000000000000000 [ 38.564080] raw: ffffea000035c780 dead000000000003 00000001ffffffff 0000000000000000 [ 38.565134] page dumped because: kasan: bad access detected [ 38.565894] [ 38.566132] Memory state around the buggy address: [ 38.566782] ffff88800e92da00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.567754] ffff88800e92da80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 38.568730] >ffff88800e92db00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.569687] ^ [ 38.570235] ffff88800e92db80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.571167] ffff88800e92dc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc [ 38.572087] ================================================================== [ 38.573034] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 00:34:26 Registers: info registers vcpu 0 RAX=ffffffff81784c76 RBX=ffffffff81359dc0 RCX=0000000000000000 RDX=1ffff1100206ef1a RSI=ffffffff81784c76 RDI=ffff888010377940 RBP=ffff888010377910 RSP=ffff888010377870 R8 =ffffffff85eddc5a R9 =ffffffff85eddc5e R10=ffffed100206ef1c R11=ffff8880103778b8 R12=ffff888010377940 R13=0000000000000000 R14=ffff888015f90000 R15=ffff88800843cc80 RIP=ffffffff81359dc0 RFL=00000282 [--S----] 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=000055bd0410a648 CR3=000000000da78000 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 0000000000000000 0000000000000000 YMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM03=0000000000000000 0000000000000000 0000000000000001 0000000000000000 YMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000022 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=0000000000000030 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff822b17e1 RDI=ffffffff87645be0 RBP=ffffffff87645ba0 RSP=ffff8880103ef308 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000030 R11=0000000000000001 R12=0000000000000030 R13=ffffffff87645ba0 R14=0000000000000010 R15=ffffffff822b17d0 RIP=ffffffff822b1839 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 000055555602e400 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=000055bd0410a648 CR3=000000000ed68000 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 YMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM02=0000000000000000 0000000000000000 0000000000000000 4108fe4000000000 YMM03=0000000000000000 0000000000000000 0000ff0000000000 0000000000000000 YMM04=0000000000000000 0000000000000000 732f6c61636f6c2f 7273752f3d485441 YMM05=0000000000000000 0000000000000000 622f6c61636f6c2f 7273752f3a6e6962 YMM06=0000000000000000 0000000000000000 73752f3a6e696273 2f7273752f3a6e69 YMM07=0000000000000000 0000000000000000 6e69622f3a6e6962 732f3a6e69622f72 YMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 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