Warning: Permanently added '10.128.1.201' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.141901][ T6533] ================================================================== [ 68.150126][ T6533] BUG: KASAN: use-after-free in snd_mixer_oss_get_volume1+0x574/0x610 [ 68.158314][ T6533] Read of size 4 at addr ffff888070afc984 by task syz-executor166/6533 [ 68.166577][ T6533] [ 68.168903][ T6533] CPU: 0 PID: 6533 Comm: syz-executor166 Not tainted 5.15.0-rc5-syzkaller #0 [ 68.177671][ T6533] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.187729][ T6533] Call Trace: executing program executing program executing program executing program executing program executing program [ 68.191009][ T6533] dump_stack_lvl+0xcd/0x134 [ 68.195614][ T6533] print_address_description.constprop.0.cold+0x6c/0x309 [ 68.202652][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.208470][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.214286][ T6533] kasan_report.cold+0x83/0xdf [ 68.219064][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.224885][ T6533] snd_mixer_oss_get_volume1+0x574/0x610 [ 68.230539][ T6533] snd_mixer_oss_ioctl1+0x249/0x1880 [ 68.235826][ T6533] ? snd_mixer_oss_get_volume1_vol.isra.0+0x4c0/0x4c0 [ 68.242587][ T6533] ? snd_mixer_oss_conv1.isra.0+0x130/0x130 [ 68.248480][ T6533] ? find_held_lock+0x2d/0x110 [ 68.253243][ T6533] ? __context_tracking_exit+0xb8/0xe0 [ 68.258698][ T6533] ? lock_downgrade+0x6e0/0x6e0 [ 68.263539][ T6533] ? lock_downgrade+0x6e0/0x6e0 [ 68.268391][ T6533] snd_mixer_oss_ioctl_compat+0x45/0x60 [ 68.273931][ T6533] ? snd_mixer_oss_ioctl_card+0x160/0x160 [ 68.279647][ T6533] __do_compat_sys_ioctl+0x1c7/0x290 [ 68.284938][ T6533] __do_fast_syscall_32+0x65/0xf0 [ 68.289956][ T6533] do_fast_syscall_32+0x2f/0x70 [ 68.294835][ T6533] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 68.301160][ T6533] RIP: 0023:0xf7f42549 [ 68.305218][ T6533] Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 [ 68.324812][ T6533] RSP: 002b:00000000ffa708bc EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 68.333476][ T6533] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080254d18 [ 68.341436][ T6533] RDX: 0000000000000000 RSI: 0000000003700000 RDI: 0000000001000000 [ 68.349396][ T6533] RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 [ 68.357357][ T6533] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 68.365314][ T6533] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 68.373288][ T6533] [ 68.375599][ T6533] Allocated by task 6526: [ 68.379908][ T6533] kasan_save_stack+0x1b/0x40 [ 68.384572][ T6533] __kasan_kmalloc+0xa4/0xd0 [ 68.389148][ T6533] snd_mixer_oss_build_input+0x656/0xe30 [ 68.394774][ T6533] snd_mixer_oss_proc_write+0x384/0x5c0 [ 68.400309][ T6533] snd_info_text_entry_release+0xfa/0x260 [ 68.406112][ T6533] close_pdeo.part.0+0xdc/0x2e0 [ 68.410953][ T6533] proc_reg_release+0x2e9/0x360 [ 68.415796][ T6533] __fput+0x288/0x9f0 [ 68.419767][ T6533] task_work_run+0xdd/0x1a0 [ 68.424258][ T6533] do_exit+0xbae/0x2a30 [ 68.428403][ T6533] do_group_exit+0x125/0x310 [ 68.433071][ T6533] __ia32_sys_exit_group+0x3a/0x50 [ 68.438174][ T6533] __do_fast_syscall_32+0x65/0xf0 [ 68.443188][ T6533] do_fast_syscall_32+0x2f/0x70 [ 68.448027][ T6533] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 68.454357][ T6533] [ 68.456666][ T6533] Freed by task 6531: [ 68.460626][ T6533] kasan_save_stack+0x1b/0x40 [ 68.465291][ T6533] kasan_set_track+0x1c/0x30 [ 68.469868][ T6533] kasan_set_free_info+0x20/0x30 [ 68.474795][ T6533] __kasan_slab_free+0xff/0x130 [ 68.479643][ T6533] slab_free_freelist_hook+0x81/0x190 [ 68.485009][ T6533] kfree+0xe4/0x530 [ 68.488805][ T6533] snd_mixer_oss_slot_free+0xf3/0x130 [ 68.494267][ T6533] mixer_slot_clear+0x5a/0xb0 [ 68.498957][ T6533] snd_mixer_oss_build_input+0x7f0/0xe30 [ 68.504665][ T6533] snd_mixer_oss_proc_write+0x384/0x5c0 [ 68.510204][ T6533] snd_info_text_entry_release+0xfa/0x260 [ 68.515915][ T6533] close_pdeo.part.0+0xdc/0x2e0 [ 68.520760][ T6533] proc_reg_release+0x2e9/0x360 [ 68.525597][ T6533] __fput+0x288/0x9f0 [ 68.529569][ T6533] task_work_run+0xdd/0x1a0 [ 68.534062][ T6533] do_exit+0xbae/0x2a30 [ 68.538391][ T6533] do_group_exit+0x125/0x310 [ 68.542971][ T6533] __ia32_sys_exit_group+0x3a/0x50 [ 68.548073][ T6533] __do_fast_syscall_32+0x65/0xf0 [ 68.553086][ T6533] do_fast_syscall_32+0x2f/0x70 [ 68.557926][ T6533] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 68.564253][ T6533] [ 68.566576][ T6533] The buggy address belongs to the object at ffff888070afc980 [ 68.566576][ T6533] which belongs to the cache kmalloc-96 of size 96 [ 68.580437][ T6533] The buggy address is located 4 bytes inside of [ 68.580437][ T6533] 96-byte region [ffff888070afc980, ffff888070afc9e0) [ 68.593524][ T6533] The buggy address belongs to the page: [ 68.599133][ T6533] page:ffffea0001c2bf00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x70afc [ 68.609277][ T6533] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 68.616828][ T6533] raw: 00fff00000000200 ffffea0000725740 0000000700000007 ffff888010c41780 [ 68.625423][ T6533] raw: 0000000000000000 0000000000200020 00000001ffffffff 0000000000000000 [ 68.633996][ T6533] page dumped because: kasan: bad access detected [ 68.640411][ T6533] page_owner tracks the page as allocated [ 68.646111][ T6533] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY), pid 4486, ts 39889903663, free_ts 39887746705 [ 68.662008][ T6533] get_page_from_freelist+0xa72/0x2f80 [ 68.667468][ T6533] __alloc_pages+0x1b2/0x500 [ 68.672049][ T6533] alloc_pages+0x1a7/0x300 [ 68.676552][ T6533] new_slab+0x319/0x490 [ 68.680728][ T6533] ___slab_alloc+0x921/0xfe0 [ 68.685328][ T6533] __slab_alloc.constprop.0+0x4d/0xa0 [ 68.690704][ T6533] __kmalloc+0x305/0x320 [ 68.694949][ T6533] tomoyo_encode2.part.0+0xe9/0x3a0 [ 68.700141][ T6533] tomoyo_encode+0x28/0x50 [ 68.704549][ T6533] tomoyo_realpath_from_path+0x186/0x620 [ 68.710179][ T6533] tomoyo_check_open_permission+0x272/0x380 [ 68.716070][ T6533] tomoyo_file_open+0xa3/0xd0 [ 68.720749][ T6533] security_file_open+0x45/0xb0 [ 68.725596][ T6533] do_dentry_open+0x353/0x11d0 [ 68.730357][ T6533] path_openat+0x1c9a/0x2740 [ 68.734947][ T6533] do_filp_open+0x1aa/0x400 [ 68.739453][ T6533] page last free stack trace: [ 68.744113][ T6533] free_pcp_prepare+0x2c5/0x780 [ 68.748956][ T6533] free_unref_page+0x19/0x690 [ 68.753623][ T6533] __vunmap+0x783/0xb70 [ 68.757770][ T6533] free_work+0x58/0x70 [ 68.761826][ T6533] process_one_work+0x9bf/0x16b0 [ 68.766755][ T6533] worker_thread+0x658/0x11f0 [ 68.771418][ T6533] kthread+0x3e5/0x4d0 [ 68.775478][ T6533] ret_from_fork+0x1f/0x30 [ 68.779888][ T6533] [ 68.782198][ T6533] Memory state around the buggy address: [ 68.787812][ T6533] ffff888070afc880: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc [ 68.795860][ T6533] ffff888070afc900: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 68.803910][ T6533] >ffff888070afc980: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 68.811957][ T6533] ^ [ 68.816006][ T6533] ffff888070afca00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 68.824141][ T6533] ffff888070afca80: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 68.832367][ T6533] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.840410][ T6533] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.914266][ T6533] Kernel panic - not syncing: panic_on_warn set ... [ 68.920874][ T6533] CPU: 0 PID: 6533 Comm: syz-executor166 Tainted: G B 5.15.0-rc5-syzkaller #0 [ 68.931036][ T6533] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.941377][ T6533] Call Trace: [ 68.944663][ T6533] dump_stack_lvl+0xcd/0x134 [ 68.949265][ T6533] panic+0x2b0/0x6dd [ 68.953169][ T6533] ? __warn_printk+0xf3/0xf3 [ 68.957771][ T6533] ? preempt_schedule_common+0x59/0xc0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.963261][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.969075][ T6533] ? preempt_schedule_thunk+0x16/0x18 [ 68.974466][ T6533] ? trace_hardirqs_on+0x38/0x1c0 [ 68.979510][ T6533] ? trace_hardirqs_on+0x51/0x1c0 [ 68.984546][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.990385][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 [ 68.996199][ T6533] end_report.cold+0x63/0x6f [ 69.000831][ T6533] kasan_report.cold+0x71/0xdf [ 69.005605][ T6533] ? snd_mixer_oss_get_volume1+0x574/0x610 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 69.011421][ T6533] snd_mixer_oss_get_volume1+0x574/0x610 [ 69.017066][ T6533] snd_mixer_oss_ioctl1+0x249/0x1880 [ 69.022452][ T6533] ? snd_mixer_oss_get_volume1_vol.isra.0+0x4c0/0x4c0 [ 69.029224][ T6533] ? snd_mixer_oss_conv1.isra.0+0x130/0x130 [ 69.035128][ T6533] ? find_held_lock+0x2d/0x110 [ 69.039902][ T6533] ? __context_tracking_exit+0xb8/0xe0 [ 69.045375][ T6533] ? lock_downgrade+0x6e0/0x6e0 [ 69.050234][ T6533] ? lock_downgrade+0x6e0/0x6e0 [ 69.055094][ T6533] snd_mixer_oss_ioctl_compat+0x45/0x60 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 69.060651][ T6533] ? snd_mixer_oss_ioctl_card+0x160/0x160 [ 69.066382][ T6533] __do_compat_sys_ioctl+0x1c7/0x290 [ 69.071677][ T6533] __do_fast_syscall_32+0x65/0xf0 [ 69.076710][ T6533] do_fast_syscall_32+0x2f/0x70 [ 69.081562][ T6533] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 69.087903][ T6533] RIP: 0023:0xf7f42549 [ 69.091971][ T6533] Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 69.111590][ T6533] RSP: 002b:00000000ffa708bc EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 69.120004][ T6533] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080254d18 [ 69.128070][ T6533] RDX: 0000000000000000 RSI: 0000000003700000 RDI: 0000000001000000 [ 69.136131][ T6533] RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 [ 69.144107][ T6533] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 69.152099][ T6533] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 69.160315][ T6533] Kernel Offset: disabled [ 69.164632][ T6533] Rebooting in 86400 seconds..