DUID 00:04:11:31:ea:d8:bb:db:47:a8:80:cb:7d:0b:3c:d8:ea:74 forked to background, child pid 3182 [ 30.405352][ T3183] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.414859][ T3183] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.228' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 46.905563][ T3597] FAULT_INJECTION: forcing a failure. [ 46.905563][ T3597] name failslab, interval 1, probability 0, space 0, times 1 [ 46.918511][ T3597] CPU: 1 PID: 3597 Comm: syz-executor274 Not tainted 5.16.0-rc8-syzkaller #0 [ 46.927406][ T3597] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.937457][ T3597] Call Trace: [ 46.940879][ T3597] [ 46.943944][ T3597] dump_stack_lvl+0xcd/0x134 [ 46.948546][ T3597] should_fail.cold+0x5/0xa [ 46.953043][ T3597] ? kvmalloc_node+0x61/0x120 [ 46.957710][ T3597] should_failslab+0x5/0x10 [ 46.962206][ T3597] __kmalloc_node+0x75/0x390 [ 46.966871][ T3597] kvmalloc_node+0x61/0x120 [ 46.971372][ T3597] drm_gem_get_pages+0x14e/0x590 [ 46.976310][ T3597] ? drm_gem_shmem_get_pages+0x56/0x250 [ 46.981846][ T3597] ? drm_gem_object_lookup+0xc0/0xc0 [ 46.987266][ T3597] ? mutex_lock_io_nested+0x1150/0x1150 [ 46.992802][ T3597] ? drm_vma_node_is_allowed+0xc4/0x100 [ 46.998332][ T3597] ? lock_downgrade+0x6e0/0x6e0 [ 47.003172][ T3597] drm_gem_shmem_get_pages+0xd6/0x250 [ 47.008532][ T3597] ? drm_gem_shmem_dumb_create+0x290/0x290 [ 47.014332][ T3597] drm_gem_shmem_mmap+0x137/0x2e0 [ 47.019355][ T3597] ? drm_gem_shmem_dumb_create+0x290/0x290 [ 47.025160][ T3597] drm_gem_mmap_obj+0x1b6/0x3e0 [ 47.030008][ T3597] drm_gem_mmap+0x419/0x680 [ 47.034509][ T3597] ? drm_gem_fence_array_add_implicit+0x150/0x150 [ 47.040923][ T3597] ? kmem_cache_alloc+0x2ec/0x3a0 [ 47.045951][ T3597] mmap_region+0xd86/0x1630 [ 47.050466][ T3597] do_mmap+0x869/0xfb0 [ 47.054537][ T3597] vm_mmap_pgoff+0x1b7/0x290 [ 47.059144][ T3597] ? randomize_stack_top+0x100/0x100 [ 47.064432][ T3597] ? __fget_files+0x28c/0x470 [ 47.069115][ T3597] ksys_mmap_pgoff+0x40d/0x5a0 [ 47.073883][ T3597] do_syscall_64+0x35/0xb0 [ 47.078296][ T3597] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 47.084207][ T3597] RIP: 0033:0x7fd006dcbcf9 [ 47.088615][ T3597] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 47.108302][ T3597] RSP: 002b:00007ffd04329568 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 47.116707][ T3597] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fd006dcbcf9 [ 47.124667][ T3597] RDX: 0000000000000000 RSI: 0000000000003028 RDI: 0000000020ffc000 [ 47.132636][ T3597] RBP: 00007ffd04329580 R08: 0000000000000003 R09: 0000000100000000 [ 47.140601][ T3597] R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000004 [ 47.148561][ T3597] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 47.156610][ T3597] [ 47.164235][ T3597] ================================================================== [ 47.172399][ T3597] BUG: KASAN: use-after-free in drm_gem_object_release_handle+0xf2/0x110 [ 47.180817][ T3597] Read of size 8 at addr ffff8881478caa28 by task syz-executor274/3597 [ 47.189044][ T3597] [ 47.191387][ T3597] CPU: 1 PID: 3597 Comm: syz-executor274 Not tainted 5.16.0-rc8-syzkaller #0 [ 47.200127][ T3597] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.210250][ T3597] Call Trace: [ 47.213531][ T3597] [ 47.216445][ T3597] dump_stack_lvl+0xcd/0x134 [ 47.221030][ T3597] print_address_description.constprop.0.cold+0x8d/0x320 [ 47.228044][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.234097][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.240147][ T3597] kasan_report.cold+0x83/0xdf [ 47.244899][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.251066][ T3597] ? drm_gem_object_handle_put_unlocked+0x320/0x320 [ 47.257643][ T3597] drm_gem_object_release_handle+0xf2/0x110 [ 47.263525][ T3597] ? drm_gem_object_handle_put_unlocked+0x320/0x320 [ 47.270121][ T3597] idr_for_each+0x113/0x220 [ 47.274710][ T3597] ? idr_find+0x50/0x50 [ 47.278871][ T3597] drm_gem_release+0x22/0x30 [ 47.283634][ T3597] drm_file_free.part.0+0x805/0xb80 [ 47.288834][ T3597] ? fsnotify+0x12c0/0x12c0 [ 47.293870][ T3597] drm_close_helper.isra.0+0x17d/0x1f0 [ 47.299330][ T3597] drm_release+0x1e6/0x530 [ 47.303743][ T3597] __fput+0x286/0x9f0 [ 47.307718][ T3597] ? drm_release_noglobal+0x180/0x180 [ 47.313094][ T3597] task_work_run+0xdd/0x1a0 [ 47.317600][ T3597] do_exit+0xc14/0x2b40 [ 47.321779][ T3597] ? lock_downgrade+0x6e0/0x6e0 [ 47.326626][ T3597] ? lock_downgrade+0x6e0/0x6e0 [ 47.331477][ T3597] ? mm_update_next_owner+0x7a0/0x7a0 [ 47.336853][ T3597] do_group_exit+0x125/0x310 [ 47.341443][ T3597] __x64_sys_exit_group+0x3a/0x50 [ 47.346461][ T3597] do_syscall_64+0x35/0xb0 [ 47.350871][ T3597] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 47.356765][ T3597] RIP: 0033:0x7fd006dca9f9 [ 47.361172][ T3597] Code: Unable to access opcode bytes at RIP 0x7fd006dca9cf. [ 47.368521][ T3597] RSP: 002b:00007ffd04329558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 47.376922][ T3597] RAX: ffffffffffffffda RBX: 00007fd006e3e3f0 RCX: 00007fd006dca9f9 [ 47.384883][ T3597] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 47.392845][ T3597] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000100000000 [ 47.400806][ T3597] R10: 0000000000000012 R11: 0000000000000246 R12: 00007fd006e3e3f0 [ 47.409117][ T3597] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 47.417098][ T3597] [ 47.420107][ T3597] [ 47.422417][ T3597] Allocated by task 3597: [ 47.426730][ T3597] kasan_save_stack+0x1e/0x50 [ 47.431401][ T3597] __kasan_kmalloc+0xa9/0xd0 [ 47.435981][ T3597] vgem_gem_create_object+0x38/0xa0 [ 47.441171][ T3597] __drm_gem_shmem_create+0x80/0x470 [ 47.446454][ T3597] drm_gem_shmem_create_with_handle+0x26/0x100 [ 47.452608][ T3597] drm_gem_shmem_dumb_create+0x13f/0x290 [ 47.458242][ T3597] drm_mode_create_dumb+0x26c/0x2f0 [ 47.463450][ T3597] drm_ioctl_kernel+0x27d/0x4e0 [ 47.468289][ T3597] drm_ioctl+0x51e/0x9d0 [ 47.472516][ T3597] __x64_sys_ioctl+0x193/0x200 [ 47.477275][ T3597] do_syscall_64+0x35/0xb0 [ 47.481682][ T3597] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 47.487568][ T3597] [ 47.489878][ T3597] Freed by task 3597: [ 47.493839][ T3597] kasan_save_stack+0x1e/0x50 [ 47.498527][ T3597] kasan_set_track+0x21/0x30 [ 47.503111][ T3597] kasan_set_free_info+0x20/0x30 [ 47.508042][ T3597] __kasan_slab_free+0xff/0x130 [ 47.512879][ T3597] slab_free_freelist_hook+0x8b/0x1c0 [ 47.518242][ T3597] kfree+0xf6/0x560 [ 47.522058][ T3597] drm_gem_object_free+0x58/0x80 [ 47.526989][ T3597] drm_gem_mmap+0x4aa/0x680 [ 47.531482][ T3597] mmap_region+0xd86/0x1630 [ 47.535977][ T3597] do_mmap+0x869/0xfb0 [ 47.540038][ T3597] vm_mmap_pgoff+0x1b7/0x290 [ 47.544622][ T3597] ksys_mmap_pgoff+0x40d/0x5a0 [ 47.549378][ T3597] do_syscall_64+0x35/0xb0 [ 47.553785][ T3597] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 47.559672][ T3597] [ 47.561980][ T3597] The buggy address belongs to the object at ffff8881478ca800 [ 47.561980][ T3597] which belongs to the cache kmalloc-1k of size 1024 [ 47.576021][ T3597] The buggy address is located 552 bytes inside of [ 47.576021][ T3597] 1024-byte region [ffff8881478ca800, ffff8881478cac00) [ 47.589373][ T3597] The buggy address belongs to the page: [ 47.594987][ T3597] page:ffffea00051e3200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1478c8 [ 47.605214][ T3597] head:ffffea00051e3200 order:3 compound_mapcount:0 compound_pincount:0 [ 47.613550][ T3597] flags: 0x57ff00000010200(slab|head|node=1|zone=2|lastcpupid=0x7ff) [ 47.621621][ T3597] raw: 057ff00000010200 0000000000000000 dead000000000001 ffff888010c41dc0 [ 47.630193][ T3597] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 47.638771][ T3597] page dumped because: kasan: bad access detected [ 47.645183][ T3597] page_owner tracks the page as allocated [ 47.650881][ T3597] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, ts 8680233726, free_ts 0 [ 47.668156][ T3597] get_page_from_freelist+0xa72/0x2f50 [ 47.673615][ T3597] __alloc_pages+0x1b2/0x500 [ 47.678193][ T3597] alloc_page_interleave+0x1e/0x200 [ 47.683394][ T3597] alloc_pages+0x29f/0x300 [ 47.687804][ T3597] new_slab+0x32d/0x4a0 [ 47.691949][ T3597] ___slab_alloc+0x918/0xfe0 [ 47.696557][ T3597] __slab_alloc.constprop.0+0x4d/0xa0 [ 47.701924][ T3597] __kmalloc_node_track_caller+0x2cb/0x360 [ 47.707721][ T3597] __alloc_skb+0xde/0x340 [ 47.712068][ T3597] new_skb+0x24/0x1c0 [ 47.716039][ T3597] aoecmd_cfg+0x256/0x6d0 [ 47.720367][ T3597] aoe_init+0x127/0x169 [ 47.724515][ T3597] do_one_initcall+0x103/0x650 [ 47.729291][ T3597] kernel_init_freeable+0x6b1/0x73a [ 47.734571][ T3597] kernel_init+0x1a/0x1d0 [ 47.738893][ T3597] ret_from_fork+0x1f/0x30 [ 47.743301][ T3597] page_owner free stack trace missing [ 47.748651][ T3597] [ 47.750963][ T3597] Memory state around the buggy address: [ 47.756587][ T3597] ffff8881478ca900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.764638][ T3597] ffff8881478ca980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.772692][ T3597] >ffff8881478caa00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.780736][ T3597] ^ [ 47.786090][ T3597] ffff8881478caa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.794137][ T3597] ffff8881478cab00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.802181][ T3597] ================================================================== [ 47.810221][ T3597] Disabling lock debugging due to kernel taint [ 47.816910][ T3597] Kernel panic - not syncing: panic_on_warn set ... [ 47.823487][ T3597] CPU: 1 PID: 3597 Comm: syz-executor274 Tainted: G B 5.16.0-rc8-syzkaller #0 [ 47.833685][ T3597] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.843724][ T3597] Call Trace: [ 47.846988][ T3597] [ 47.849904][ T3597] dump_stack_lvl+0xcd/0x134 [ 47.854486][ T3597] panic+0x2b0/0x6dd [ 47.858383][ T3597] ? __warn_printk+0xf3/0xf3 [ 47.862963][ T3597] ? preempt_schedule_common+0x59/0xc0 [ 47.868411][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.874470][ T3597] ? preempt_schedule_thunk+0x16/0x18 [ 47.879853][ T3597] ? trace_hardirqs_on+0x38/0x1c0 [ 47.884868][ T3597] ? trace_hardirqs_on+0x51/0x1c0 [ 47.889887][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.895946][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.902006][ T3597] end_report.cold+0x63/0x6f [ 47.906587][ T3597] kasan_report.cold+0x71/0xdf [ 47.911342][ T3597] ? drm_gem_object_release_handle+0xf2/0x110 [ 47.917402][ T3597] ? drm_gem_object_handle_put_unlocked+0x320/0x320 [ 47.923981][ T3597] drm_gem_object_release_handle+0xf2/0x110 [ 47.929869][ T3597] ? drm_gem_object_handle_put_unlocked+0x320/0x320 [ 47.936448][ T3597] idr_for_each+0x113/0x220 [ 47.940947][ T3597] ? idr_find+0x50/0x50 [ 47.945102][ T3597] drm_gem_release+0x22/0x30 [ 47.949683][ T3597] drm_file_free.part.0+0x805/0xb80 [ 47.954884][ T3597] ? fsnotify+0x12c0/0x12c0 [ 47.959389][ T3597] drm_close_helper.isra.0+0x17d/0x1f0 [ 47.964858][ T3597] drm_release+0x1e6/0x530 [ 47.969280][ T3597] __fput+0x286/0x9f0 [ 47.973266][ T3597] ? drm_release_noglobal+0x180/0x180 [ 47.978634][ T3597] task_work_run+0xdd/0x1a0 [ 47.983128][ T3597] do_exit+0xc14/0x2b40 [ 47.987279][ T3597] ? lock_downgrade+0x6e0/0x6e0 [ 47.992120][ T3597] ? lock_downgrade+0x6e0/0x6e0 [ 47.997046][ T3597] ? mm_update_next_owner+0x7a0/0x7a0 [ 48.002411][ T3597] do_group_exit+0x125/0x310 [ 48.006995][ T3597] __x64_sys_exit_group+0x3a/0x50 [ 48.012016][ T3597] do_syscall_64+0x35/0xb0 [ 48.016430][ T3597] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 48.022320][ T3597] RIP: 0033:0x7fd006dca9f9 [ 48.026721][ T3597] Code: Unable to access opcode bytes at RIP 0x7fd006dca9cf. [ 48.034067][ T3597] RSP: 002b:00007ffd04329558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 48.042471][ T3597] RAX: ffffffffffffffda RBX: 00007fd006e3e3f0 RCX: 00007fd006dca9f9 [ 48.050430][ T3597] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 48.058390][ T3597] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000100000000 [ 48.066348][ T3597] R10: 0000000000000012 R11: 0000000000000246 R12: 00007fd006e3e3f0 [ 48.074303][ T3597] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 48.082265][ T3597] [ 48.085545][ T3597] Kernel Offset: disabled [ 48.089860][ T3597] Rebooting in 86400 seconds..