Warning: Permanently added '10.128.0.230' (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 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 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 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 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 [ 44.633803] ================================================================== [ 44.641332] BUG: KASAN: use-after-free in ex_handler_refcount+0x18f/0x1c0 [ 44.648262] Write of size 4 at addr ffff88809ae36858 by task systemd-udevd/9161 [ 44.655684] [ 44.657338] CPU: 1 PID: 9161 Comm: systemd-udevd Not tainted 4.19.190-syzkaller #0 [ 44.665039] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.674375] Call Trace: [ 44.676961] dump_stack+0x1fc/0x2ef [ 44.680587] print_address_description.cold+0x54/0x219 [ 44.685853] kasan_report_error.cold+0x8a/0x1b9 [ 44.690509] ? ex_handler_refcount+0x18f/0x1c0 [ 44.695113] __asan_report_store4_noabort+0x88/0x90 [ 44.700122] ? ex_handler_refcount+0x18f/0x1c0 [ 44.704701] ex_handler_refcount+0x18f/0x1c0 [ 44.709128] ? ex_handler_clear_fs+0xb0/0xb0 [ 44.713538] fixup_exception+0x8a/0xd0 [ 44.717428] do_trap+0x61/0x250 [ 44.720712] do_error_trap+0x15d/0x310 [ 44.724602] ? math_error+0x310/0x310 [ 44.728392] ? __noinstr_text_end+0x2446/0x77e7 [ 44.733067] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.737901] invalid_op+0x14/0x20 [ 44.741343] RIP: 0010:__noinstr_text_end+0x2446/0x77e7 [ 44.746603] Code: 0f 0b 48 8d 4b 50 0f 0b 48 8d 4b 08 0f 0b 48 8d 4d 08 0f 0b 48 8d 8d 08 02 00 00 0f 0b 48 8d 0b 0f 0b 48 8d 0b 0f 0b 48 8d 0b <0f> 0b 48 8d 4d 00 0f 0b 49 8d 0c 24 0f 0b 48 8d 8b c0 00 00 00 0f [ 44.765508] RSP: 0018:ffff8880a1117cd8 EFLAGS: 00010296 [ 44.770861] RAX: 0000000000000000 RBX: ffff88809ae36858 RCX: ffff88809ae36858 [ 44.778115] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 44.785388] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7829 [ 44.792648] R10: ffffffff8a5bc14b R11: 0000000000000000 R12: ffffffff8a5bc140 [ 44.799905] R13: 0000000000000000 R14: 1ffff11011449f15 R15: dffffc0000000000 [ 44.807189] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 44.813419] nbd_release+0x108/0x170 [ 44.817154] ? nbd_queue_rq+0xe60/0xe60 [ 44.821116] __blkdev_put+0x636/0x870 [ 44.824902] ? fsync_bdev+0xc0/0xc0 [ 44.828519] ? locks_remove_file+0x2cd/0x450 [ 44.832922] ? blkdev_put+0x85/0x520 [ 44.836625] ? blkdev_put+0x520/0x520 [ 44.840407] blkdev_close+0x86/0xb0 [ 44.844018] __fput+0x2ce/0x890 [ 44.847286] task_work_run+0x148/0x1c0 [ 44.851160] exit_to_usermode_loop+0x251/0x2a0 [ 44.855727] do_syscall_64+0x538/0x620 [ 44.859616] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.864787] RIP: 0033:0x7f4210de2270 [ 44.868484] Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 [ 44.887367] RSP: 002b:00007ffc8da132d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 44.895060] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f4210de2270 [ 44.902310] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 44.909565] RBP: 00007f4211c9c710 R08: 0000000000000045 R09: 0000000000000018 [ 44.916827] R10: 0000555c28af6758 R11: 0000000000000246 R12: 0000000000000000 [ 44.924084] R13: 0000555c28af6860 R14: 0000000000000003 R15: 000000000000000e [ 44.931366] [ 44.932974] Allocated by task 9131: [ 44.936601] kmem_cache_alloc_trace+0x12f/0x380 [ 44.941269] nbd_dev_add+0x44/0x890 [ 44.944893] nbd_genl_connect+0x4cc/0x1630 [ 44.949125] genl_family_rcv_msg+0x642/0xc40 [ 44.953511] genl_rcv_msg+0xbf/0x160 [ 44.957205] netlink_rcv_skb+0x160/0x440 [ 44.961290] genl_rcv+0x24/0x40 [ 44.964581] netlink_unicast+0x4d5/0x690 [ 44.968630] netlink_sendmsg+0x6bb/0xc40 [ 44.972688] sock_sendmsg+0xc3/0x120 [ 44.976398] ___sys_sendmsg+0x7bb/0x8e0 [ 44.980367] __x64_sys_sendmsg+0x132/0x220 [ 44.984595] do_syscall_64+0xf9/0x620 [ 44.988381] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.993545] [ 44.995153] Freed by task 9153: [ 44.998424] kfree+0xcc/0x210 [ 45.001522] nbd_put.part.0+0xfe/0x140 [ 45.005391] nbd_genl_connect+0x120e/0x1630 [ 45.009700] genl_family_rcv_msg+0x642/0xc40 [ 45.014100] genl_rcv_msg+0xbf/0x160 [ 45.017829] netlink_rcv_skb+0x160/0x440 [ 45.021888] genl_rcv+0x24/0x40 [ 45.025148] netlink_unicast+0x4d5/0x690 [ 45.029189] netlink_sendmsg+0x6bb/0xc40 [ 45.033242] sock_sendmsg+0xc3/0x120 [ 45.036950] ___sys_sendmsg+0x7bb/0x8e0 [ 45.040906] __x64_sys_sendmsg+0x132/0x220 [ 45.045140] do_syscall_64+0xf9/0x620 [ 45.048924] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.054116] [ 45.055733] The buggy address belongs to the object at ffff88809ae36780 [ 45.055733] which belongs to the cache kmalloc-512 of size 512 [ 45.068390] The buggy address is located 216 bytes inside of [ 45.068390] 512-byte region [ffff88809ae36780, ffff88809ae36980) [ 45.080252] The buggy address belongs to the page: [ 45.085163] page:ffffea00026b8d80 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 45.093308] flags: 0xfff00000000100(slab) [ 45.097456] raw: 00fff00000000100 ffffea0002af0b88 ffffea0002ab9bc8 ffff88813bff0940 [ 45.105338] raw: 0000000000000000 ffff88809ae36000 0000000100000006 0000000000000000 [ 45.113204] page dumped because: kasan: bad access detected [ 45.118903] [ 45.120506] Memory state around the buggy address: [ 45.125432] ffff88809ae36700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.132772] ffff88809ae36780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.140109] >ffff88809ae36800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.147450] ^ [ 45.153664] ffff88809ae36880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.161021] ffff88809ae36900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.168362] ================================================================== [ 45.175701] Disabling lock debugging due to kernel taint [ 45.201939] Kernel panic - not syncing: panic_on_warn set ... [ 45.201939] [ 45.209335] CPU: 0 PID: 9161 Comm: systemd-udevd Tainted: G B 4.19.190-syzkaller #0 [ 45.218436] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.227781] Call Trace: [ 45.230352] dump_stack+0x1fc/0x2ef [ 45.233985] panic+0x26a/0x50e [ 45.237373] ? __warn_printk+0xf3/0xf3 [ 45.241241] ? preempt_schedule_common+0x45/0xc0 [ 45.245978] ? ___preempt_schedule+0x16/0x18 [ 45.250371] ? trace_hardirqs_on+0x55/0x210 [ 45.254679] kasan_end_report+0x43/0x49 [ 45.258645] kasan_report_error.cold+0xa7/0x1b9 [ 45.263297] ? ex_handler_refcount+0x18f/0x1c0 [ 45.267861] __asan_report_store4_noabort+0x88/0x90 [ 45.272868] ? ex_handler_refcount+0x18f/0x1c0 [ 45.277436] ex_handler_refcount+0x18f/0x1c0 [ 45.281826] ? ex_handler_clear_fs+0xb0/0xb0 [ 45.286347] fixup_exception+0x8a/0xd0 [ 45.290214] do_trap+0x61/0x250 [ 45.293482] do_error_trap+0x15d/0x310 [ 45.297354] ? math_error+0x310/0x310 [ 45.301143] ? __noinstr_text_end+0x2446/0x77e7 [ 45.305795] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.310617] invalid_op+0x14/0x20 [ 45.314066] RIP: 0010:__noinstr_text_end+0x2446/0x77e7 [ 45.319330] Code: 0f 0b 48 8d 4b 50 0f 0b 48 8d 4b 08 0f 0b 48 8d 4d 08 0f 0b 48 8d 8d 08 02 00 00 0f 0b 48 8d 0b 0f 0b 48 8d 0b 0f 0b 48 8d 0b <0f> 0b 48 8d 4d 00 0f 0b 49 8d 0c 24 0f 0b 48 8d 8b c0 00 00 00 0f [ 45.338223] RSP: 0018:ffff8880a1117cd8 EFLAGS: 00010296 [ 45.343576] RAX: 0000000000000000 RBX: ffff88809ae36858 RCX: ffff88809ae36858 [ 45.350911] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 45.358159] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7829 [ 45.365421] R10: ffffffff8a5bc14b R11: 0000000000000000 R12: ffffffff8a5bc140 [ 45.372683] R13: 0000000000000000 R14: 1ffff11011449f15 R15: dffffc0000000000 [ 45.379951] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 45.385059] nbd_release+0x108/0x170 [ 45.388755] ? nbd_queue_rq+0xe60/0xe60 [ 45.392732] __blkdev_put+0x636/0x870 [ 45.396537] ? fsync_bdev+0xc0/0xc0 [ 45.400141] ? locks_remove_file+0x2cd/0x450 [ 45.404564] ? blkdev_put+0x85/0x520 [ 45.408255] ? blkdev_put+0x520/0x520 [ 45.412047] blkdev_close+0x86/0xb0 [ 45.415653] __fput+0x2ce/0x890 [ 45.418915] task_work_run+0x148/0x1c0 [ 45.422794] exit_to_usermode_loop+0x251/0x2a0 [ 45.427358] do_syscall_64+0x538/0x620 [ 45.431226] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.436405] RIP: 0033:0x7f4210de2270 [ 45.440101] Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 [ 45.458990] RSP: 002b:00007ffc8da132d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 45.466676] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f4210de2270 [ 45.473940] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 45.481190] RBP: 00007f4211c9c710 R08: 0000000000000045 R09: 0000000000000018 [ 45.488453] R10: 0000555c28af6758 R11: 0000000000000246 R12: 0000000000000000 [ 45.495711] R13: 0000555c28af6860 R14: 0000000000000003 R15: 000000000000000e [ 45.503384] Kernel Offset: disabled [ 45.507008] Rebooting in 86400 seconds..