Debian GNU/Linux 11 syzkaller ttyS0 Warning: Permanently added '[localhost]:55403' (ECDSA) to the list of known hosts. 2022/07/28 23:38:21 fuzzer started 2022/07/28 23:38:21 dialing manager at localhost:41769 syzkaller login: [ 37.094273] cgroup: Unknown subsys name 'net' [ 37.193725] cgroup: Unknown subsys name 'rlimit' [ 46.425400] ================================================================== [ 46.426527] BUG: KASAN: use-after-free in __lock_acquire+0x42c9/0x5e70 [ 46.427525] Read of size 8 at addr ffff888008e532a8 by task syz-executor/278 [ 46.428708] [ 46.428955] CPU: 0 PID: 278 Comm: syz-executor Not tainted 5.19.0-rc8-next-20220728 #1 [ 46.430543] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 46.432489] Call Trace: [ 46.432764] [ 46.433002] dump_stack_lvl+0x8b/0xb3 [ 46.433406] print_report.cold+0x5e/0x5e5 [ 46.433835] ? __lock_acquire+0x42c9/0x5e70 [ 46.434274] kasan_report+0xb1/0x1c0 [ 46.434660] ? __lock_acquire+0x42c9/0x5e70 [ 46.435099] __lock_acquire+0x42c9/0x5e70 [ 46.435522] ? lock_chain_count+0x20/0x20 [ 46.435944] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 46.436514] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 46.437041] ? finish_task_switch.isra.0+0x22d/0x8a0 [ 46.437552] lock_acquire+0x1a2/0x530 [ 46.437945] ? kmemleak_scan+0x21d/0x16f0 [ 46.438367] ? lock_release+0x750/0x750 [ 46.438769] ? mark_held_locks+0x9e/0xe0 [ 46.439178] ? call_rcu+0x589/0xa30 [ 46.439547] ? call_rcu+0x589/0xa30 [ 46.439916] ? _raw_spin_lock_irq+0x41/0x50 [ 46.440364] _raw_spin_lock_irq+0x32/0x50 [ 46.440786] ? kmemleak_scan+0x21d/0x16f0 [ 46.441208] kmemleak_scan+0x21d/0x16f0 [ 46.441618] ? paint_ptr+0xc0/0xc0 [ 46.441986] ? strncpy_from_user+0x204/0x3e0 [ 46.442438] kmemleak_write+0x570/0x680 [ 46.442843] ? kmemleak_scan+0x16f0/0x16f0 [ 46.443281] ? debugfs_file_get+0x1ce/0x450 [ 46.443715] ? debugfs_file_put+0xd0/0xd0 [ 46.444159] full_proxy_write+0x11d/0x190 [ 46.444589] vfs_write+0x2cb/0xd90 [ 46.444959] ? full_proxy_poll+0x180/0x180 [ 46.445383] ? __ia32_sys_pread64+0x220/0x220 [ 46.445835] ? do_sys_openat2+0xa1/0x4c0 [ 46.446241] ? build_open_flags+0x6f0/0x6f0 [ 46.446685] ? xfd_validate_state+0x59/0x180 [ 46.447151] ? __fget_light+0x212/0x280 [ 46.447560] ksys_write+0x127/0x250 [ 46.447937] ? __ia32_sys_read+0xb0/0xb0 [ 46.448366] ? syscall_enter_from_user_mode+0x1d/0x50 [ 46.448852] ? syscall_enter_from_user_mode+0x1d/0x50 [ 46.449239] do_syscall_64+0x3b/0x90 [ 46.449524] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 46.449924] RIP: 0033:0x7f53683365c3 [ 46.450205] 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 [ 46.451525] RSP: 002b:00007ffd577db918 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 46.452090] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f53683365c3 [ 46.452608] RDX: 0000000000000004 RSI: 00007ffd577db940 RDI: 0000000000000003 [ 46.453129] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffd577db890 [ 46.453644] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f53683dce61 [ 46.454164] R13: 00007ffd577db940 R14: 0000000000000000 R15: 00007f536841e6c0 [ 46.454686] [ 46.454861] [ 46.454998] Allocated by task 129: [ 46.455253] kasan_save_stack+0x1e/0x40 [ 46.455550] __kasan_slab_alloc+0x66/0x80 [ 46.455860] kmem_cache_alloc+0x1b1/0x4a0 [ 46.456178] __create_object.isra.0+0x3d/0xc10 [ 46.456525] kmem_cache_alloc_lru+0x2e4/0x7e0 [ 46.456866] proc_alloc_inode+0x23/0x210 [ 46.457171] alloc_inode+0x63/0x240 [ 46.457450] new_inode+0x21/0x1e0 [ 46.457715] proc_pid_make_inode+0x22/0x220 [ 46.458038] proc_pid_make_base_inode.constprop.0+0x25/0x180 [ 46.458461] proc_task_instantiate+0x50/0x1e0 [ 46.458794] proc_task_lookup+0x446/0x4c0 [ 46.459101] __lookup_slow+0x252/0x490 [ 46.459394] walk_component+0x345/0x5b0 [ 46.459691] link_path_walk.part.0+0x68d/0xf80 [ 46.460046] path_openat+0x245/0x2800 [ 46.460332] do_filp_open+0x1b6/0x410 [ 46.460622] do_sys_openat2+0x171/0x4c0 [ 46.460919] __x64_sys_openat+0x13f/0x1f0 [ 46.461223] do_syscall_64+0x3b/0x90 [ 46.461508] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 46.461893] [ 46.462028] Freed by task 13: [ 46.462267] kasan_save_stack+0x1e/0x40 [ 46.462566] kasan_set_track+0x21/0x30 [ 46.462856] kasan_set_free_info+0x20/0x40 [ 46.463177] __kasan_slab_free+0x108/0x190 [ 46.463493] kmem_cache_free+0xfb/0x610 [ 46.463787] rcu_core+0x7e2/0x2080 [ 46.464059] __do_softirq+0x1c8/0x8d0 [ 46.464345] [ 46.464477] Last potentially related work creation: [ 46.464844] kasan_save_stack+0x1e/0x40 [ 46.465144] __kasan_record_aux_stack+0x97/0xb0 [ 46.465496] call_rcu+0x6a/0xa30 [ 46.465753] kmem_cache_free+0xc1/0x610 [ 46.466050] i_callback+0x42/0x70 [ 46.466317] rcu_core+0x7e2/0x2080 [ 46.466589] __do_softirq+0x1c8/0x8d0 [ 46.466873] [ 46.467006] Second to last potentially related work creation: [ 46.467434] kasan_save_stack+0x1e/0x40 [ 46.467736] __kasan_record_aux_stack+0x97/0xb0 [ 46.468101] call_rcu+0x6a/0xa30 [ 46.468366] kmem_cache_free+0xc1/0x610 [ 46.468668] rcu_core+0x7e2/0x2080 [ 46.468940] __do_softirq+0x1c8/0x8d0 [ 46.469222] [ 46.469349] The buggy address belongs to the object at ffff888008e53290 [ 46.469349] which belongs to the cache kmemleak_object of size 368 [ 46.470256] The buggy address is located 24 bytes inside of [ 46.470256] 368-byte region [ffff888008e53290, ffff888008e53400) [ 46.471093] [ 46.471221] The buggy address belongs to the physical page: [ 46.471625] page:00000000b8b33524 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8e52 [ 46.472327] head:00000000b8b33524 order:1 compound_mapcount:0 compound_pincount:0 [ 46.472876] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 46.473310] raw: 0100000000010200 ffffea000023ca80 dead000000000002 ffff888007c4f780 [ 46.473871] raw: 0000000000000000 0000000000120012 00000001ffffffff 0000000000000000 [ 46.474428] page dumped because: kasan: bad access detected [ 46.474835] [ 46.474967] Memory state around the buggy address: [ 46.475319] ffff888008e53180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.475850] ffff888008e53200: fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc [ 46.476383] >ffff888008e53280: fc fc fa fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.476903] ^ [ 46.477246] ffff888008e53300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.477783] ffff888008e53380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.478315] ================================================================== [ 46.478844] Disabling lock debugging due to kernel taint VM DIAGNOSIS: 23:38:32 Registers: info registers vcpu 0 RAX=000000000000002d RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff82405ab1 RDI=ffffffff8762a600 RBP=ffffffff8762a5c0 RSP=ffff88801857f2f8 R8 =0000000000000001 R9 =000000000000000a R10=000000000000002d R11=0000000000000001 R12=000000000000002d R13=ffffffff8762a5c0 R14=0000000000000010 R15=ffffffff82405aa0 RIP=ffffffff82405b09 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 0000555555d60400 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=0000564940c2fda0 CR3=000000000e2de000 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 0000000000000017 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 0000000000202000 0000000000200000 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=ffffffff841fdd40 RBX=ffff888008655100 RCX=ffffffff841dfbc2 RDX=0000000000000000 RSI=0000000000000001 RDI=0000000000000000 RBP=0000000000000001 RSP=ffff888008687e58 R8 =0000000000000001 R9 =ffff88806cf33b53 R10=ffffed100d9e676a R11=0000000000000001 R12=ffffed10010caa20 R13=ffffffff85aed790 R14=0000000000000000 R15=dffffc0000000000 RIP=ffffffff841fdd4b RFL=00000206 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=1 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=0000564940c17008 CR3=0000000017f94000 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 ffffffffffffffff 0000000000000000 YMM02=0000000000000000 0000000000000000 ffffff0f0e0d0c0b 0a09080706050403 YMM03=0000000000000000 0000000000000000 696e656420737365 636341002f737973 YMM04=0000000000000000 0000000000000000 2f2f2f2f2f2f2f2f 2f2f2f2f2f2f2f2f YMM05=0000000000000000 0000000000000000 ffffffffffff0000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000006561 6124242f6867632f YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 3a56000a73253a51 000a73253a47000a YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM10=0000000000000000 0000000000000000 0000000000202000 0000000000200000 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