Warning: Permanently added '10.128.1.93' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 29.276889] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.286316] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. executing program executing program [ 29.349176] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.361006] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.388971] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.397948] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. executing program [ 29.459396] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.471888] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. executing program [ 29.518374] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. [ 29.528086] netlink: 4 bytes leftover after parsing attributes in process `syz-executor701'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 31.197604] ================================================================== [ 31.205247] BUG: KASAN: use-after-free in ex_handler_refcount+0x164/0x1a0 [ 31.212431] Write of size 4 at addr ffff8880af0ac898 by task systemd-udevd/8300 [ 31.219872] [ 31.221484] CPU: 1 PID: 8300 Comm: systemd-udevd Not tainted 4.14.237-syzkaller #0 [ 31.229275] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.238611] Call Trace: [ 31.241196] dump_stack+0x1b2/0x281 [ 31.244840] print_address_description.cold+0x54/0x1d3 [ 31.250126] kasan_report_error.cold+0x8a/0x191 [ 31.254788] ? ex_handler_refcount+0x164/0x1a0 [ 31.259529] __asan_report_store4_noabort+0x68/0x70 [ 31.264535] ? ex_handler_refcount+0x164/0x1a0 [ 31.269228] ex_handler_refcount+0x164/0x1a0 [ 31.273759] ? ex_handler_clear_fs+0xb0/0xb0 [ 31.278373] fixup_exception+0x8a/0xd0 [ 31.282409] do_trap+0x61/0x250 [ 31.285713] ? do_error_trap+0x1d0/0x2d0 [ 31.289756] do_error_trap+0x132/0x2d0 [ 31.293645] ? math_error+0x2d0/0x2d0 [ 31.297428] ? flags_string.cold+0x1b15/0x6a9f [ 31.301992] ? __mutex_lock+0x360/0x1310 [ 31.306089] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.310922] invalid_op+0x1b/0x40 [ 31.314370] RIP: 0010:flags_string.cold+0x1b15/0x6a9f [ 31.319538] RSP: 0018:ffff88809a2a7cd0 EFLAGS: 00010296 [ 31.324885] RAX: 0000000000000000 RBX: ffff8880af0ac898 RCX: ffff8880af0ac898 [ 31.332187] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 31.339455] RBP: ffffffff89512ae0 R08: 0000000000000000 R09: 0000000000000002 [ 31.346731] R10: 0000000000000000 R11: ffff8880abccc000 R12: 0000000000000000 [ 31.353981] R13: ffff88808ace8984 R14: ffffed101159d17e R15: dffffc0000000000 [ 31.361251] nbd_release+0xf3/0x150 [ 31.364862] ? nbd_queue_rq+0xc50/0xc50 [ 31.368945] __blkdev_put+0x5aa/0x800 [ 31.372744] ? revalidate_disk+0x1f0/0x1f0 [ 31.377102] ? locks_remove_file+0x2cd/0x420 [ 31.381507] ? blkdev_put+0x75/0x4c0 [ 31.385201] ? blkdev_put+0x4c0/0x4c0 [ 31.388999] blkdev_close+0x86/0xb0 [ 31.392840] __fput+0x25f/0x7a0 [ 31.396300] task_work_run+0x11f/0x190 [ 31.400174] exit_to_usermode_loop+0x1ad/0x200 [ 31.404781] do_syscall_64+0x4a3/0x640 [ 31.408710] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.413934] RIP: 0033:0x7f5d4ff91270 [ 31.417635] RSP: 002b:00007ffc7fc995b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 31.425329] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f5d4ff91270 [ 31.432674] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 31.440097] RBP: 00007f5d50e4b710 R08: 000055be6e51fe50 R09: 0000000000000008 [ 31.447357] R10: 000055be6e5201b8 R11: 0000000000000246 R12: 0000000000000000 [ 31.454774] R13: 000055be6e51e720 R14: 0000000000000003 R15: 000000000000000e [ 31.462055] [ 31.463693] Allocated by task 8275: [ 31.467319] kasan_kmalloc+0xeb/0x160 [ 31.471119] kmem_cache_alloc_trace+0x131/0x3d0 [ 31.476255] nbd_dev_add+0x7c/0x800 [ 31.479967] nbd_genl_connect+0x3a4/0x1400 [ 31.484185] genl_family_rcv_msg+0x572/0xb20 [ 31.488574] genl_rcv_msg+0xaf/0x140 [ 31.492303] netlink_rcv_skb+0x125/0x390 [ 31.496490] genl_rcv+0x24/0x40 [ 31.499753] netlink_unicast+0x437/0x610 [ 31.503796] netlink_sendmsg+0x62e/0xb80 [ 31.507835] sock_sendmsg+0xb5/0x100 [ 31.511524] ___sys_sendmsg+0x6c8/0x800 [ 31.515478] __sys_sendmsg+0xa3/0x120 [ 31.519266] SyS_sendmsg+0x27/0x40 [ 31.522809] do_syscall_64+0x1d5/0x640 [ 31.526691] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.531942] [ 31.533562] Freed by task 8292: [ 31.536819] kasan_slab_free+0xc3/0x1a0 [ 31.540808] kfree+0xc9/0x250 [ 31.543901] nbd_put.part.0+0x100/0x140 [ 31.547968] nbd_genl_connect+0xfa9/0x1400 [ 31.552182] genl_family_rcv_msg+0x572/0xb20 [ 31.556682] genl_rcv_msg+0xaf/0x140 [ 31.560397] netlink_rcv_skb+0x125/0x390 [ 31.564445] genl_rcv+0x24/0x40 [ 31.568025] netlink_unicast+0x437/0x610 [ 31.572122] netlink_sendmsg+0x62e/0xb80 [ 31.576591] sock_sendmsg+0xb5/0x100 [ 31.580286] ___sys_sendmsg+0x6c8/0x800 [ 31.584240] __sys_sendmsg+0xa3/0x120 [ 31.588019] SyS_sendmsg+0x27/0x40 [ 31.591538] do_syscall_64+0x1d5/0x640 [ 31.595408] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.600680] [ 31.602299] The buggy address belongs to the object at ffff8880af0ac7c0 [ 31.602299] which belongs to the cache kmalloc-512 of size 512 [ 31.614940] The buggy address is located 216 bytes inside of [ 31.614940] 512-byte region [ffff8880af0ac7c0, ffff8880af0ac9c0) [ 31.626984] The buggy address belongs to the page: [ 31.632004] page:ffffea0002bc2b00 count:1 mapcount:0 mapping:ffff8880af0ac040 index:0x0 [ 31.640136] flags: 0xfff00000000100(slab) [ 31.644275] raw: 00fff00000000100 ffff8880af0ac040 0000000000000000 0000000100000006 [ 31.652221] raw: ffffea0002c64660 ffffea0002a7cb60 ffff88813fe80940 0000000000000000 [ 31.660093] page dumped because: kasan: bad access detected [ 31.665779] [ 31.667401] Memory state around the buggy address: [ 31.672309] ffff8880af0ac780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 31.679654] ffff8880af0ac800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.687074] >ffff8880af0ac880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.694431] ^ [ 31.698610] ffff8880af0ac900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.705947] ffff8880af0ac980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 31.713292] ================================================================== [ 31.720652] Disabling lock debugging due to kernel taint [ 31.730357] Kernel panic - not syncing: panic_on_warn set ... [ 31.730357] [ 31.737740] CPU: 1 PID: 8300 Comm: systemd-udevd Tainted: G B 4.14.237-syzkaller #0 [ 31.746664] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.756070] Call Trace: [ 31.758658] dump_stack+0x1b2/0x281 [ 31.762282] panic+0x1f9/0x42d [ 31.765630] ? add_taint.cold+0x16/0x16 [ 31.769595] ? ___preempt_schedule+0x16/0x18 [ 31.773986] kasan_end_report+0x43/0x49 [ 31.777959] kasan_report_error.cold+0xa7/0x191 [ 31.782606] ? ex_handler_refcount+0x164/0x1a0 [ 31.787313] __asan_report_store4_noabort+0x68/0x70 [ 31.792440] ? ex_handler_refcount+0x164/0x1a0 [ 31.797002] ex_handler_refcount+0x164/0x1a0 [ 31.801442] ? ex_handler_clear_fs+0xb0/0xb0 [ 31.805829] fixup_exception+0x8a/0xd0 [ 31.809702] do_trap+0x61/0x250 [ 31.812974] ? do_error_trap+0x1d0/0x2d0 [ 31.817170] do_error_trap+0x132/0x2d0 [ 31.821039] ? math_error+0x2d0/0x2d0 [ 31.824819] ? flags_string.cold+0x1b15/0x6a9f [ 31.829388] ? __mutex_lock+0x360/0x1310 [ 31.833435] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.838260] invalid_op+0x1b/0x40 [ 31.841699] RIP: 0010:flags_string.cold+0x1b15/0x6a9f [ 31.846865] RSP: 0018:ffff88809a2a7cd0 EFLAGS: 00010296 [ 31.852246] RAX: 0000000000000000 RBX: ffff8880af0ac898 RCX: ffff8880af0ac898 [ 31.859496] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 31.866829] RBP: ffffffff89512ae0 R08: 0000000000000000 R09: 0000000000000002 [ 31.874171] R10: 0000000000000000 R11: ffff8880abccc000 R12: 0000000000000000 [ 31.881430] R13: ffff88808ace8984 R14: ffffed101159d17e R15: dffffc0000000000 [ 31.888689] nbd_release+0xf3/0x150 [ 31.892296] ? nbd_queue_rq+0xc50/0xc50 [ 31.896269] __blkdev_put+0x5aa/0x800 [ 31.900193] ? revalidate_disk+0x1f0/0x1f0 [ 31.904434] ? locks_remove_file+0x2cd/0x420 [ 31.908909] ? blkdev_put+0x75/0x4c0 [ 31.912710] ? blkdev_put+0x4c0/0x4c0 [ 31.916630] blkdev_close+0x86/0xb0 [ 31.920242] __fput+0x25f/0x7a0 [ 31.923615] task_work_run+0x11f/0x190 [ 31.927507] exit_to_usermode_loop+0x1ad/0x200 [ 31.932069] do_syscall_64+0x4a3/0x640 [ 31.935939] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.941121] RIP: 0033:0x7f5d4ff91270 [ 31.944836] RSP: 002b:00007ffc7fc995b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 31.952524] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f5d4ff91270 [ 31.959773] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 31.967039] RBP: 00007f5d50e4b710 R08: 000055be6e51fe50 R09: 0000000000000008 [ 31.974307] R10: 000055be6e5201b8 R11: 0000000000000246 R12: 0000000000000000 [ 31.981578] R13: 000055be6e51e720 R14: 0000000000000003 R15: 000000000000000e [ 31.990222] Kernel Offset: disabled [ 31.993849] Rebooting in 86400 seconds..