Warning: Permanently added '10.128.1.72' (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 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 [ 59.347649] ================================================================== [ 59.355167] BUG: KASAN: use-after-free in refcount_dec_not_one+0x71/0x1d0 [ 59.362091] Read of size 4 at addr ffff88809ad4f158 by task systemd-udevd/9524 [ 59.369451] [ 59.371092] CPU: 0 PID: 9524 Comm: systemd-udevd Not tainted 4.19.211-syzkaller #0 [ 59.378796] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 59.388157] Call Trace: [ 59.390739] dump_stack+0x1fc/0x2ef [ 59.394462] print_address_description.cold+0x54/0x219 [ 59.399738] kasan_report_error.cold+0x8a/0x1b9 [ 59.404513] ? refcount_dec_not_one+0x71/0x1d0 [ 59.409085] kasan_report+0x8f/0xa0 [ 59.412712] ? refcount_dec_not_one+0x71/0x1d0 [ 59.417287] refcount_dec_not_one+0x71/0x1d0 [ 59.421688] ? refcount_dec_and_test_checked+0x20/0x20 [ 59.426954] ? nbd_config_put+0x5da/0x870 [ 59.431107] refcount_dec_and_mutex_lock+0x1c/0x80 [ 59.436033] nbd_release+0x108/0x170 [ 59.439744] ? nbd_queue_rq+0xe60/0xe60 [ 59.443704] __blkdev_put+0x636/0x870 [ 59.447491] ? fsync_bdev+0xc0/0xc0 [ 59.451103] ? locks_remove_file+0x2cd/0x450 [ 59.455500] ? blkdev_put+0x85/0x520 [ 59.459203] ? blkdev_put+0x520/0x520 [ 59.462988] blkdev_close+0x86/0xb0 [ 59.466609] __fput+0x2ce/0x890 [ 59.469880] task_work_run+0x148/0x1c0 [ 59.473756] exit_to_usermode_loop+0x251/0x2a0 [ 59.478325] do_syscall_64+0x538/0x620 [ 59.482216] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.487420] RIP: 0033:0x7f8c2e7d0270 [ 59.491117] 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 [ 59.510161] RSP: 002b:00007ffdc71414a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 59.517860] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f8c2e7d0270 [ 59.525129] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 59.532407] RBP: 00007f8c2f68a710 R08: 0000000000000045 R09: 0000000000000018 [ 59.539674] R10: 00005631c77f3db8 R11: 0000000000000246 R12: 0000000000000000 [ 59.546930] R13: 00005631c77ee860 R14: 0000000000000003 R15: 000000000000000e [ 59.554244] [ 59.555857] Allocated by task 9517: [ 59.559475] kmem_cache_alloc_trace+0x12f/0x380 [ 59.564145] nbd_dev_add+0x44/0x890 [ 59.567790] nbd_genl_connect+0x4cc/0x1630 [ 59.572011] genl_family_rcv_msg+0x642/0xc40 [ 59.576417] genl_rcv_msg+0xbf/0x160 [ 59.580124] netlink_rcv_skb+0x160/0x440 [ 59.584176] genl_rcv+0x24/0x40 [ 59.587438] netlink_unicast+0x4d5/0x690 [ 59.591481] netlink_sendmsg+0x6c3/0xc50 [ 59.595527] sock_sendmsg+0xc3/0x120 [ 59.599226] ___sys_sendmsg+0x7bb/0x8e0 [ 59.603184] __x64_sys_sendmsg+0x132/0x220 [ 59.607402] do_syscall_64+0xf9/0x620 [ 59.611188] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.616356] [ 59.617969] Freed by task 9524: [ 59.621242] kfree+0xcc/0x210 [ 59.624337] nbd_put.part.0+0xfe/0x140 [ 59.628211] nbd_config_put+0x6a0/0x870 [ 59.632182] nbd_release+0xf4/0x170 [ 59.635797] __blkdev_put+0x636/0x870 [ 59.639588] blkdev_close+0x86/0xb0 [ 59.643218] __fput+0x2ce/0x890 [ 59.646482] task_work_run+0x148/0x1c0 [ 59.650353] exit_to_usermode_loop+0x251/0x2a0 [ 59.654919] do_syscall_64+0x538/0x620 [ 59.658814] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.663981] [ 59.665610] The buggy address belongs to the object at ffff88809ad4f080 [ 59.665610] which belongs to the cache kmalloc-512 of size 512 [ 59.678254] The buggy address is located 216 bytes inside of [ 59.678254] 512-byte region [ffff88809ad4f080, ffff88809ad4f280) [ 59.690118] The buggy address belongs to the page: [ 59.695038] page:ffffea00026b53c0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 59.703167] flags: 0xfff00000000100(slab) [ 59.707297] raw: 00fff00000000100 ffffea000267ec08 ffffea00026b5248 ffff88813bff0940 [ 59.715164] raw: 0000000000000000 ffff88809ad4f080 0000000100000006 0000000000000000 [ 59.723034] page dumped because: kasan: bad access detected [ 59.728733] [ 59.730343] Memory state around the buggy address: [ 59.735281] ffff88809ad4f000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 59.742874] ffff88809ad4f080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.750221] >ffff88809ad4f100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.757710] ^ [ 59.763938] ffff88809ad4f180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.771292] ffff88809ad4f200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.778658] ================================================================== [ 59.786093] Disabling lock debugging due to kernel taint [ 59.792770] Kernel panic - not syncing: panic_on_warn set ... [ 59.792770] [ 59.800146] CPU: 0 PID: 9524 Comm: systemd-udevd Tainted: G B 4.19.211-syzkaller #0 [ 59.809243] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 59.818607] Call Trace: [ 59.821203] dump_stack+0x1fc/0x2ef [ 59.824835] panic+0x26a/0x50e [ 59.828011] ? __warn_printk+0xf3/0xf3 [ 59.831895] ? preempt_schedule_common+0x45/0xc0 [ 59.836654] ? ___preempt_schedule+0x16/0x18 [ 59.841050] ? trace_hardirqs_on+0x55/0x210 [ 59.845358] kasan_end_report+0x43/0x49 [ 59.849321] kasan_report_error.cold+0xa7/0x1b9 [ 59.853987] ? refcount_dec_not_one+0x71/0x1d0 [ 59.858582] kasan_report+0x8f/0xa0 [ 59.862195] ? refcount_dec_not_one+0x71/0x1d0 [ 59.866762] refcount_dec_not_one+0x71/0x1d0 [ 59.871156] ? refcount_dec_and_test_checked+0x20/0x20 [ 59.876421] ? nbd_config_put+0x5da/0x870 [ 59.880556] refcount_dec_and_mutex_lock+0x1c/0x80 [ 59.885473] nbd_release+0x108/0x170 [ 59.889192] ? nbd_queue_rq+0xe60/0xe60 [ 59.893292] __blkdev_put+0x636/0x870 [ 59.897137] ? fsync_bdev+0xc0/0xc0 [ 59.900765] ? locks_remove_file+0x2cd/0x450 [ 59.905166] ? blkdev_put+0x85/0x520 [ 59.908867] ? blkdev_put+0x520/0x520 [ 59.912651] blkdev_close+0x86/0xb0 [ 59.916265] __fput+0x2ce/0x890 [ 59.919527] task_work_run+0x148/0x1c0 [ 59.923420] exit_to_usermode_loop+0x251/0x2a0 [ 59.928008] do_syscall_64+0x538/0x620 [ 59.931891] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.937066] RIP: 0033:0x7f8c2e7d0270 [ 59.940762] 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 [ 59.959672] RSP: 002b:00007ffdc71414a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 59.967363] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f8c2e7d0270 [ 59.974614] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 59.981867] RBP: 00007f8c2f68a710 R08: 0000000000000045 R09: 0000000000000018 [ 59.989123] R10: 00005631c77f3db8 R11: 0000000000000246 R12: 0000000000000000 [ 59.996377] R13: 00005631c77ee860 R14: 0000000000000003 R15: 000000000000000e [ 60.003865] Kernel Offset: disabled [ 60.007481] Rebooting in 86400 seconds..