Warning: Permanently added '10.128.0.128' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 29.771234] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. [ 29.780868] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. executing program [ 29.840849] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. [ 29.851785] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. executing program [ 29.908887] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. [ 29.917569] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. executing program [ 29.958513] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. [ 29.967114] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. executing program [ 30.028327] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. [ 30.038394] netlink: 4 bytes leftover after parsing attributes in process `syz-executor210'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 30.697797] ================================================================== [ 30.705295] BUG: KASAN: use-after-free in ex_handler_refcount+0x164/0x1a0 [ 30.712899] Write of size 4 at addr ffff8880a1d8c158 by task systemd-udevd/8057 [ 30.720323] [ 30.721932] CPU: 0 PID: 8057 Comm: systemd-udevd Not tainted 4.14.230-syzkaller #0 [ 30.729633] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.738963] Call Trace: [ 30.741532] dump_stack+0x1b2/0x281 [ 30.745139] print_address_description.cold+0x54/0x1d3 [ 30.750395] kasan_report_error.cold+0x8a/0x191 [ 30.755042] ? ex_handler_refcount+0x164/0x1a0 [ 30.759632] __asan_report_store4_noabort+0x68/0x70 [ 30.764632] ? ex_handler_refcount+0x164/0x1a0 [ 30.769189] ex_handler_refcount+0x164/0x1a0 [ 30.773573] ? ex_handler_clear_fs+0xb0/0xb0 [ 30.777960] fixup_exception+0x8a/0xd0 [ 30.781826] do_trap+0x61/0x250 [ 30.785081] ? do_error_trap+0x1d0/0x2d0 [ 30.789901] do_error_trap+0x132/0x2d0 [ 30.793763] ? math_error+0x2d0/0x2d0 [ 30.797544] ? flags_string.cold+0x1b15/0x6a9f [ 30.802103] ? __mutex_lock+0x360/0x1310 [ 30.806142] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.810964] invalid_op+0x1b/0x40 [ 30.814393] RIP: 0010:flags_string.cold+0x1b15/0x6a9f [ 30.819554] RSP: 0018:ffff8880b2ecfcd0 EFLAGS: 00010296 [ 30.824898] RAX: 0000000000000000 RBX: ffff8880a1d8c158 RCX: ffff8880a1d8c158 [ 30.832159] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 30.839404] RBP: ffffffff89512740 R08: 0000000000000000 R09: 0000000000000002 [ 30.846648] R10: 0000000000000000 R11: ffff88809633a300 R12: 0000000000000000 [ 30.854086] R13: ffff88808e2d0044 R14: ffffed1011c5a056 R15: dffffc0000000000 [ 30.861348] nbd_release+0xf3/0x150 [ 30.864963] ? nbd_queue_rq+0xc50/0xc50 [ 30.868922] __blkdev_put+0x5aa/0x800 [ 30.872712] ? revalidate_disk+0x1f0/0x1f0 [ 30.876930] ? locks_remove_file+0x2cd/0x420 [ 30.881328] ? blkdev_put+0x75/0x4c0 [ 30.885024] ? blkdev_put+0x4c0/0x4c0 [ 30.888868] blkdev_close+0x86/0xb0 [ 30.892471] __fput+0x25f/0x7a0 [ 30.895729] task_work_run+0x11f/0x190 [ 30.899600] exit_to_usermode_loop+0x1ad/0x200 [ 30.904157] do_syscall_64+0x4a3/0x640 [ 30.908022] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.913188] RIP: 0033:0x7f68d1125270 [ 30.916874] RSP: 002b:00007ffceb8d7478 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 30.924556] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f68d1125270 [ 30.931803] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 30.939051] RBP: 00007f68d1fdf710 R08: 0000000000000045 R09: 0000000000000018 [ 30.946299] R10: 000055a441a9c758 R11: 0000000000000246 R12: 0000000000000000 [ 30.953544] R13: 000055a441a9f880 R14: 0000000000000003 R15: 000000000000000e [ 30.960799] [ 30.962403] Allocated by task 8052: [ 30.966009] kasan_kmalloc+0xeb/0x160 [ 30.969790] kmem_cache_alloc_trace+0x131/0x3d0 [ 30.974431] nbd_dev_add+0x7c/0x800 [ 30.978033] nbd_genl_connect+0x3a4/0x1400 [ 30.982242] genl_family_rcv_msg+0x572/0xb20 [ 30.986626] genl_rcv_msg+0xaf/0x140 [ 30.990321] netlink_rcv_skb+0x125/0x390 [ 30.994377] genl_rcv+0x24/0x40 [ 30.997634] netlink_unicast+0x437/0x610 [ 31.001671] netlink_sendmsg+0x62e/0xb80 [ 31.005714] sock_sendmsg+0xb5/0x100 [ 31.009407] ___sys_sendmsg+0x6c8/0x800 [ 31.013359] __sys_sendmsg+0xa3/0x120 [ 31.017141] SyS_sendmsg+0x27/0x40 [ 31.020660] do_syscall_64+0x1d5/0x640 [ 31.024547] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.029707] [ 31.031309] Freed by task 8043: [ 31.034564] kasan_slab_free+0xc3/0x1a0 [ 31.038527] kfree+0xc9/0x250 [ 31.041612] nbd_put.part.0+0x100/0x140 [ 31.045566] nbd_genl_connect+0xfa9/0x1400 [ 31.049776] genl_family_rcv_msg+0x572/0xb20 [ 31.054171] genl_rcv_msg+0xaf/0x140 [ 31.057857] netlink_rcv_skb+0x125/0x390 [ 31.061893] genl_rcv+0x24/0x40 [ 31.065146] netlink_unicast+0x437/0x610 [ 31.069183] netlink_sendmsg+0x62e/0xb80 [ 31.073217] sock_sendmsg+0xb5/0x100 [ 31.076910] ___sys_sendmsg+0x6c8/0x800 [ 31.080866] __sys_sendmsg+0xa3/0x120 [ 31.084643] SyS_sendmsg+0x27/0x40 [ 31.088178] do_syscall_64+0x1d5/0x640 [ 31.092040] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.097201] [ 31.098812] The buggy address belongs to the object at ffff8880a1d8c080 [ 31.098812] which belongs to the cache kmalloc-512 of size 512 [ 31.111452] The buggy address is located 216 bytes inside of [ 31.111452] 512-byte region [ffff8880a1d8c080, ffff8880a1d8c280) [ 31.123301] The buggy address belongs to the page: [ 31.128207] page:ffffea0002876300 count:1 mapcount:0 mapping:ffff8880a1d8c080 index:0xffff8880a1d8c300 [ 31.137626] flags: 0xfff00000000100(slab) [ 31.141753] raw: 00fff00000000100 ffff8880a1d8c080 ffff8880a1d8c300 0000000100000004 [ 31.149614] raw: ffffea0002a806a0 ffffea0002b94a60 ffff88813fe80940 0000000000000000 [ 31.157467] page dumped because: kasan: bad access detected [ 31.163150] [ 31.164753] Memory state around the buggy address: [ 31.169658] ffff8880a1d8c000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.176991] ffff8880a1d8c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.184325] >ffff8880a1d8c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.191671] ^ [ 31.197877] ffff8880a1d8c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.205209] ffff8880a1d8c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.212555] ================================================================== [ 31.219901] Disabling lock debugging due to kernel taint [ 31.235785] Kernel panic - not syncing: panic_on_warn set ... [ 31.235785] [ 31.243160] CPU: 1 PID: 8057 Comm: systemd-udevd Tainted: G B 4.14.230-syzkaller #0 [ 31.252152] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.261483] Call Trace: [ 31.264048] dump_stack+0x1b2/0x281 [ 31.267654] panic+0x1f9/0x42d [ 31.270820] ? add_taint.cold+0x16/0x16 [ 31.274764] ? ___preempt_schedule+0x16/0x18 [ 31.279148] kasan_end_report+0x43/0x49 [ 31.283116] kasan_report_error.cold+0xa7/0x191 [ 31.287762] ? ex_handler_refcount+0x164/0x1a0 [ 31.292317] __asan_report_store4_noabort+0x68/0x70 [ 31.297325] ? ex_handler_refcount+0x164/0x1a0 [ 31.301880] ex_handler_refcount+0x164/0x1a0 [ 31.306261] ? ex_handler_clear_fs+0xb0/0xb0 [ 31.311683] fixup_exception+0x8a/0xd0 [ 31.315557] do_trap+0x61/0x250 [ 31.318811] ? do_error_trap+0x1d0/0x2d0 [ 31.322846] do_error_trap+0x132/0x2d0 [ 31.326705] ? math_error+0x2d0/0x2d0 [ 31.330478] ? flags_string.cold+0x1b15/0x6a9f [ 31.335046] ? __mutex_lock+0x360/0x1310 [ 31.339081] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.343898] invalid_op+0x1b/0x40 [ 31.347338] RIP: 0010:flags_string.cold+0x1b15/0x6a9f [ 31.352497] RSP: 0018:ffff8880b2ecfcd0 EFLAGS: 00010296 [ 31.357833] RAX: 0000000000000000 RBX: ffff8880a1d8c158 RCX: ffff8880a1d8c158 [ 31.365165] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 31.372409] RBP: ffffffff89512740 R08: 0000000000000000 R09: 0000000000000002 [ 31.379652] R10: 0000000000000000 R11: ffff88809633a300 R12: 0000000000000000 [ 31.386896] R13: ffff88808e2d0044 R14: ffffed1011c5a056 R15: dffffc0000000000 [ 31.394146] nbd_release+0xf3/0x150 [ 31.397745] ? nbd_queue_rq+0xc50/0xc50 [ 31.401691] __blkdev_put+0x5aa/0x800 [ 31.405465] ? revalidate_disk+0x1f0/0x1f0 [ 31.409793] ? locks_remove_file+0x2cd/0x420 [ 31.414201] ? blkdev_put+0x75/0x4c0 [ 31.418003] ? blkdev_put+0x4c0/0x4c0 [ 31.422582] blkdev_close+0x86/0xb0 [ 31.426361] __fput+0x25f/0x7a0 [ 31.429671] task_work_run+0x11f/0x190 [ 31.433931] exit_to_usermode_loop+0x1ad/0x200 [ 31.442532] do_syscall_64+0x4a3/0x640 [ 31.446451] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.452247] RIP: 0033:0x7f68d1125270 [ 31.456459] RSP: 002b:00007ffceb8d7478 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 31.464543] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f68d1125270 [ 31.472591] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 31.479841] RBP: 00007f68d1fdf710 R08: 0000000000000045 R09: 0000000000000018 [ 31.487518] R10: 000055a441a9c758 R11: 0000000000000246 R12: 0000000000000000 [ 31.495286] R13: 000055a441a9f880 R14: 0000000000000003 R15: 000000000000000e [ 31.503951] Kernel Offset: disabled [ 31.507570] Rebooting in 86400 seconds..