Warning: Permanently added '10.128.0.202' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 95.498720][ T26] audit: type=1400 audit(1598926599.380:8): avc: denied { execmem } for pid=6840 comm="syz-executor581" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 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 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 executing program executing program executing program executing program executing program executing program [ 96.060735][ T7048] ================================================================== [ 96.068971][ T7048] BUG: KASAN: use-after-free in kobject_put+0x220/0x270 [ 96.075909][ T7048] Read of size 1 at addr ffff8880978c7a3c by task syz-executor581/7048 [ 96.084133][ T7048] [ 96.086470][ T7048] CPU: 1 PID: 7048 Comm: syz-executor581 Not tainted 5.9.0-rc3-syzkaller #0 [ 96.095135][ T7048] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 96.105207][ T7048] Call Trace: [ 96.108504][ T7048] dump_stack+0x198/0x1fd [ 96.112859][ T7048] ? kobject_put+0x220/0x270 [ 96.117470][ T7048] ? kobject_put+0x220/0x270 [ 96.122066][ T7048] print_address_description.constprop.0.cold+0xae/0x497 [ 96.129099][ T7048] ? kobject_put+0x220/0x270 [ 96.133697][ T7048] ? lockdep_hardirqs_off+0x96/0xd0 [ 96.138899][ T7048] ? vprintk_func+0x97/0x1a6 [ 96.143494][ T7048] ? kobject_put+0x220/0x270 [ 96.148087][ T7048] ? kobject_put+0x220/0x270 [ 96.152684][ T7048] kasan_report.cold+0x1f/0x37 [ 96.157454][ T7048] ? kobject_put+0x220/0x270 [ 96.162053][ T7048] kobject_put+0x220/0x270 [ 96.166481][ T7048] delete_partition+0x134/0x220 [ 96.171336][ T7048] bdev_del_partition+0x18b/0x1d0 [ 96.176377][ T7048] blkpg_do_ioctl+0x2d6/0x330 [ 96.181056][ T7048] ? blkdev_pr_preempt+0x260/0x260 [ 96.186168][ T7048] ? lock_is_held_type+0xbb/0xf0 [ 96.191141][ T7048] blkdev_ioctl+0x58a/0x700 [ 96.195651][ T7048] ? blkdev_common_ioctl+0x1760/0x1760 [ 96.201113][ T7048] ? __fget_files+0x294/0x400 [ 96.205813][ T7048] block_ioctl+0xf9/0x140 [ 96.210147][ T7048] ? blkdev_fallocate+0x3f0/0x3f0 [ 96.215174][ T7048] __x64_sys_ioctl+0x193/0x200 [ 96.219948][ T7048] do_syscall_64+0x2d/0x70 [ 96.224373][ T7048] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 96.230286][ T7048] RIP: 0033:0x446959 [ 96.234180][ T7048] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 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 0f 83 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 96.253785][ T7048] RSP: 002b:00007fcab8868d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 96.262194][ T7048] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446959 [ 96.270165][ T7048] RDX: 0000000020000000 RSI: 0000000000001269 RDI: 0000000000000005 [ 96.278133][ T7048] RBP: 00000000006dbc30 R08: 00007fcab8869700 R09: 0000000000000000 [ 96.286101][ T7048] R10: 00007fcab8869700 R11: 0000000000000246 R12: 00000000006dbc3c [ 96.294069][ T7048] R13: 00000000000000a9 R14: 00b747111e42e3ec R15: 02ba2b7a04b8ac00 [ 96.302058][ T7048] [ 96.304386][ T7048] Allocated by task 7050: [ 96.308719][ T7048] kasan_save_stack+0x1b/0x40 [ 96.313394][ T7048] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 96.319028][ T7048] kmem_cache_alloc_trace+0x174/0x2c0 [ 96.324400][ T7048] kobject_create_and_add+0x42/0xb0 [ 96.329599][ T7048] add_partition+0x989/0xd80 [ 96.334185][ T7048] bdev_add_partition+0xb6/0x130 [ 96.339121][ T7048] blkpg_do_ioctl+0x2be/0x330 [ 96.343792][ T7048] blkdev_ioctl+0x58a/0x700 [ 96.348307][ T7048] block_ioctl+0xf9/0x140 [ 96.352662][ T7048] __x64_sys_ioctl+0x193/0x200 [ 96.357438][ T7048] do_syscall_64+0x2d/0x70 [ 96.361873][ T7048] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 96.367752][ T7048] [ 96.370072][ T7048] Freed by task 7049: [ 96.374053][ T7048] kasan_save_stack+0x1b/0x40 [ 96.378722][ T7048] kasan_set_track+0x1c/0x30 [ 96.383324][ T7048] kasan_set_free_info+0x1b/0x30 [ 96.388281][ T7048] __kasan_slab_free+0xd8/0x120 [ 96.393178][ T7048] kfree+0x10e/0x2b0 [ 96.397070][ T7048] kobject_put+0x171/0x270 [ 96.401482][ T7048] delete_partition+0x134/0x220 [ 96.406331][ T7048] bdev_del_partition+0x18b/0x1d0 [ 96.411357][ T7048] blkpg_do_ioctl+0x2d6/0x330 [ 96.416029][ T7048] blkdev_ioctl+0x58a/0x700 [ 96.420547][ T7048] block_ioctl+0xf9/0x140 [ 96.424872][ T7048] __x64_sys_ioctl+0x193/0x200 [ 96.429634][ T7048] do_syscall_64+0x2d/0x70 [ 96.434044][ T7048] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 96.439921][ T7048] [ 96.442244][ T7048] The buggy address belongs to the object at ffff8880978c7a00 [ 96.442244][ T7048] which belongs to the cache kmalloc-64 of size 64 [ 96.456116][ T7048] The buggy address is located 60 bytes inside of [ 96.456116][ T7048] 64-byte region [ffff8880978c7a00, ffff8880978c7a40) [ 96.469198][ T7048] The buggy address belongs to the page: [ 96.474849][ T7048] page:00000000d9b3b008 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x978c7 [ 96.484989][ T7048] flags: 0xfffe0000000200(slab) [ 96.489839][ T7048] raw: 00fffe0000000200 ffffea00027750c8 ffff8880aa041350 ffff8880aa040200 [ 96.498418][ T7048] raw: 0000000000000000 ffff8880978c7000 0000000100000020 0000000000000000 [ 96.506990][ T7048] page dumped because: kasan: bad access detected [ 96.513388][ T7048] [ 96.515706][ T7048] Memory state around the buggy address: [ 96.521349][ T7048] ffff8880978c7900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 96.529407][ T7048] ffff8880978c7980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 96.537469][ T7048] >ffff8880978c7a00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 96.545519][ T7048] ^ [ 96.551400][ T7048] ffff8880978c7a80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 96.559457][ T7048] ffff8880978c7b00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 96.567502][ T7048] ================================================================== [ 96.575548][ T7048] Disabling lock debugging due to kernel taint [ 96.604215][ T7048] Kernel panic - not syncing: panic_on_warn set ... [ 96.610822][ T7048] CPU: 1 PID: 7048 Comm: syz-executor581 Tainted: G B 5.9.0-rc3-syzkaller #0 [ 96.620869][ T7048] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 96.630909][ T7048] Call Trace: [ 96.634176][ T7048] dump_stack+0x198/0x1fd [ 96.638481][ T7048] ? kobject_put+0x1f0/0x270 [ 96.643047][ T7048] panic+0x347/0x7c0 [ 96.646919][ T7048] ? __warn_printk+0xf3/0xf3 [ 96.651507][ T7048] ? preempt_schedule_common+0x59/0xc0 [ 96.656952][ T7048] ? kobject_put+0x220/0x270 [ 96.661529][ T7048] ? preempt_schedule_thunk+0x16/0x18 [ 96.666873][ T7048] ? trace_hardirqs_on+0x55/0x220 [ 96.671872][ T7048] ? kobject_put+0x220/0x270 [ 96.676433][ T7048] ? kobject_put+0x220/0x270 [ 96.680996][ T7048] end_report+0x4d/0x53 [ 96.685124][ T7048] kasan_report.cold+0xd/0x37 [ 96.689777][ T7048] ? kobject_put+0x220/0x270 [ 96.694342][ T7048] kobject_put+0x220/0x270 [ 96.698738][ T7048] delete_partition+0x134/0x220 [ 96.703576][ T7048] bdev_del_partition+0x18b/0x1d0 [ 96.708586][ T7048] blkpg_do_ioctl+0x2d6/0x330 [ 96.713235][ T7048] ? blkdev_pr_preempt+0x260/0x260 [ 96.718323][ T7048] ? lock_is_held_type+0xbb/0xf0 [ 96.723244][ T7048] blkdev_ioctl+0x58a/0x700 [ 96.727722][ T7048] ? blkdev_common_ioctl+0x1760/0x1760 [ 96.733154][ T7048] ? __fget_files+0x294/0x400 [ 96.737806][ T7048] block_ioctl+0xf9/0x140 [ 96.742110][ T7048] ? blkdev_fallocate+0x3f0/0x3f0 [ 96.747107][ T7048] __x64_sys_ioctl+0x193/0x200 [ 96.751884][ T7048] do_syscall_64+0x2d/0x70 [ 96.756275][ T7048] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 96.762141][ T7048] RIP: 0033:0x446959 [ 96.766011][ T7048] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 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 0f 83 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 96.785855][ T7048] RSP: 002b:00007fcab8868d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 96.794258][ T7048] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446959 [ 96.802203][ T7048] RDX: 0000000020000000 RSI: 0000000000001269 RDI: 0000000000000005 [ 96.810147][ T7048] RBP: 00000000006dbc30 R08: 00007fcab8869700 R09: 0000000000000000 [ 96.818091][ T7048] R10: 00007fcab8869700 R11: 0000000000000246 R12: 00000000006dbc3c [ 96.826036][ T7048] R13: 00000000000000a9 R14: 00b747111e42e3ec R15: 02ba2b7a04b8ac00 [ 96.834985][ T7048] Kernel Offset: disabled [ 96.839308][ T7048] Rebooting in 86400 seconds..