Warning: Permanently added '[localhost]:21123' (ECDSA) to the list of known hosts. 2022/10/04 01:45:06 fuzzer started 2022/10/04 01:45:06 dialing manager at localhost:35095 syzkaller login: [ 41.356871] cgroup: Unknown subsys name 'net' [ 41.455363] cgroup: Unknown subsys name 'rlimit' [ 50.568975] ================================================================== [ 50.570079] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 50.571034] Read of size 8 at addr ffff88800eb62f48 by task syz-executor/279 [ 50.572031] [ 50.572435] CPU: 0 PID: 279 Comm: syz-executor Not tainted 6.0.0-rc7-next-20220930 #1 [ 50.574076] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 50.576032] Call Trace: [ 50.576402] [ 50.576740] dump_stack_lvl+0x8b/0xb3 [ 50.577299] print_report+0x172/0x475 [ 50.577864] ? __lock_acquire+0x42c9/0x5e70 [ 50.578481] kasan_report+0xbb/0x1c0 [ 50.579023] ? __lock_acquire+0x42c9/0x5e70 [ 50.579648] __lock_acquire+0x42c9/0x5e70 [ 50.580260] ? lock_chain_count+0x20/0x20 [ 50.580883] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 50.581628] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 50.582373] ? finish_task_switch.isra.0+0x22d/0x8a0 [ 50.583095] lock_acquire+0x1a2/0x530 [ 50.583639] ? kmemleak_scan+0x21d/0x16d0 [ 50.584229] ? lock_release+0x750/0x750 [ 50.584801] ? mark_held_locks+0x9e/0xe0 [ 50.585380] ? call_rcu+0x589/0xa30 [ 50.585900] ? call_rcu+0x589/0xa30 [ 50.586414] ? _raw_spin_lock_irq+0x41/0x50 [ 50.587015] _raw_spin_lock_irq+0x32/0x50 [ 50.587592] ? kmemleak_scan+0x21d/0x16d0 [ 50.588172] kmemleak_scan+0x21d/0x16d0 [ 50.588733] ? paint_ptr+0xc0/0xc0 [ 50.589243] ? strncpy_from_user+0x204/0x3e0 [ 50.589863] kmemleak_write+0x570/0x680 [ 50.590433] ? kmemleak_scan+0x16d0/0x16d0 [ 50.591025] ? debugfs_file_get+0x1ce/0x450 [ 50.591617] ? debugfs_file_put+0xd0/0xd0 [ 50.592197] full_proxy_write+0x11d/0x190 [ 50.592793] vfs_write+0x2cb/0xd90 [ 50.593306] ? full_proxy_poll+0x180/0x180 [ 50.593892] ? kernel_write+0x630/0x630 [ 50.594461] ? do_sys_openat2+0xa1/0x4c0 [ 50.595039] ? build_open_flags+0x6f0/0x6f0 [ 50.595642] ? xfd_validate_state+0x59/0x180 [ 50.596270] ? __fget_light+0x212/0x280 [ 50.596836] ksys_write+0x127/0x250 [ 50.597357] ? __ia32_sys_read+0xb0/0xb0 [ 50.597935] ? syscall_enter_from_user_mode+0x1d/0x50 [ 50.598675] ? syscall_enter_from_user_mode+0x1d/0x50 [ 50.599441] do_syscall_64+0x3b/0x90 [ 50.600004] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.600775] RIP: 0033:0x7fe16ef315c3 [ 50.601339] 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 [ 50.603970] RSP: 002b:00007fffcc472a58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.605090] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fe16ef315c3 [ 50.606120] RDX: 0000000000000004 RSI: 00007fffcc472a80 RDI: 0000000000000003 [ 50.607151] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007fffcc4729d0 [ 50.608190] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe16efd7e61 [ 50.609225] R13: 00007fffcc472a80 R14: 0000000000000000 R15: 00007fe16f0196c0 [ 50.610269] [ 50.610613] [ 50.610865] Allocated by task 140: [ 50.611384] kasan_save_stack+0x1e/0x40 [ 50.611974] kasan_set_track+0x21/0x30 [ 50.612566] __kasan_slab_alloc+0x58/0x70 [ 50.613189] kmem_cache_alloc+0x1a9/0x3e0 [ 50.613796] __create_object+0x3d/0xc10 [ 50.614378] kmem_cache_alloc_lru+0x2d8/0x740 [ 50.615020] sock_alloc_inode+0x23/0x1d0 [ 50.615630] alloc_inode+0x63/0x240 [ 50.616164] new_inode_pseudo+0x13/0x80 [ 50.616757] sock_alloc+0x3c/0x260 [ 50.617287] __sock_create+0xbd/0x760 [ 50.617911] __sys_socket+0x133/0x250 [ 50.618473] __x64_sys_socket+0x6f/0xb0 [ 50.619063] do_syscall_64+0x3b/0x90 [ 50.619608] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.620351] [ 50.620635] Freed by task 19: [ 50.621092] kasan_save_stack+0x1e/0x40 [ 50.621680] kasan_set_track+0x21/0x30 [ 50.622245] kasan_save_free_info+0x2a/0x50 [ 50.622891] __kasan_slab_free+0x106/0x190 [ 50.623516] kmem_cache_free+0xf7/0x610 [ 50.624090] rcu_core+0x7e2/0x2080 [ 50.624649] __do_softirq+0x1c3/0x8f5 [ 50.625204] [ 50.625461] Last potentially related work creation: [ 50.626261] kasan_save_stack+0x1e/0x40 [ 50.626905] __kasan_record_aux_stack+0x95/0xb0 [ 50.627596] call_rcu+0x6a/0xa30 [ 50.628109] kmem_cache_free+0xbd/0x610 [ 50.628704] i_callback+0x42/0x70 [ 50.629228] rcu_core+0x7e2/0x2080 [ 50.629741] __do_softirq+0x1c3/0x8f5 [ 50.630306] [ 50.630557] Second to last potentially related work creation: [ 50.631374] kasan_save_stack+0x1e/0x40 [ 50.631962] __kasan_record_aux_stack+0x95/0xb0 [ 50.632638] call_rcu+0x6a/0xa30 [ 50.633141] __kmem_cache_free+0x91/0x400 [ 50.633747] security_cred_free+0xc0/0x120 [ 50.634364] put_cred_rcu+0x73/0x390 [ 50.634910] __put_cred+0x12e/0x180 [ 50.635442] revert_creds+0xaf/0xd0 [ 50.635956] do_faccessat+0x2e7/0x810 [ 50.636522] do_syscall_64+0x3b/0x90 [ 50.637059] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.637781] [ 50.638021] The buggy address belongs to the object at ffff88800eb62f30 [ 50.638021] which belongs to the cache kmemleak_object of size 368 [ 50.639655] The buggy address is located 24 bytes inside of [ 50.639655] 368-byte region [ffff88800eb62f30, ffff88800eb630a0) [ 50.641207] [ 50.641455] The buggy address belongs to the physical page: [ 50.642260] page:00000000b75582b5 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffffea0000226e80 pfn:0xeb62 [ 50.643769] head:00000000b75582b5 order:1 compound_mapcount:0 compound_pincount:0 [ 50.644849] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 50.645718] raw: 0100000000010200 ffff888007c4f780 dead000000120012 0000000000000000 [ 50.646827] raw: ffffea0000226e80 dead000000000002 00000001ffffffff 0000000000000000 [ 50.647921] page dumped because: kasan: bad access detected [ 50.648648] [ 50.648879] Memory state around the buggy address: [ 50.649509] ffff88800eb62e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.650436] ffff88800eb62e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc [ 50.651365] >ffff88800eb62f00: fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb fb [ 50.652298] ^ [ 50.653049] ffff88800eb62f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.653977] ffff88800eb63000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.654904] ================================================================== [ 50.655822] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 01:45:16 Registers: info registers vcpu 0 RAX=0000000000000072 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff823bb0f1 RDI=ffffffff8765a9a0 RBP=ffffffff8765a960 RSP=ffff88801e6a72d8 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000072 R11=0000000000000001 R12=0000000000000072 R13=ffffffff8765a960 R14=0000000000000010 R15=ffffffff823bb0e0 RIP=ffffffff823bb149 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 00005555569ba400 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=00005585a5fa6648 CR3=000000000e738000 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 000000000000006f 00005585a5fa8870 YMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 3a56000a73253a51 000a73253a47000a 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=0000000000000001 RBX=1ffff1100308deb1 RCX=1ffffffff0a1e515 RDX=0000000000000001 RSI=0000000000000002 RDI=0000000000000000 RBP=0000000000000000 RSP=ffff88801846f540 R8 =0000000000000000 R9 =ffffffff85b06ed7 R10=fffffbfff0b60dda R11=0000000000000001 R12=0000000000000001 R13=0000000000000000 R14=ffffffff85407320 R15=0000000000000000 RIP=ffffffff84254125 RFL=00000202 [-------] 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 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000048000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00005585a5fa6648 CR3=000000000fa7e000 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 ffffffffffffffff ffffffffffffffff YMM01=0000000000000000 0000000000000000 000000000000006f 00005585a5fa8870 YMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 732f636f72702f00 6b63616d7300632e 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