Warning: Permanently added '10.128.0.236' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 38.119849] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.132499] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.142238] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.151175] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. executing program executing program [ 38.224203] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.234801] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.244085] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.253860] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. executing program [ 38.312429] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 38.322038] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.158068] nla_parse: 430 callbacks suppressed [ 43.158078] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.178475] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.188054] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.196828] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. executing program [ 43.247495] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.261224] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.270230] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.279512] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. executing program executing program [ 43.325599] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.335505] netlink: 4 bytes leftover after parsing attributes in process `syz-executor440'. [ 43.399742] ================================================================== [ 43.407529] BUG: KASAN: use-after-free in ex_handler_refcount+0x18f/0x1c0 [ 43.414458] Write of size 4 at addr ffff8880a9213398 by task systemd-udevd/8956 [ 43.422430] [ 43.424077] CPU: 1 PID: 8956 Comm: systemd-udevd Not tainted 4.19.183-syzkaller #0 [ 43.431785] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.441147] Call Trace: [ 43.443864] dump_stack+0x1fc/0x2ef [ 43.449071] print_address_description.cold+0x54/0x219 [ 43.454357] kasan_report_error.cold+0x8a/0x1b9 [ 43.459044] ? ex_handler_refcount+0x18f/0x1c0 [ 43.463838] __asan_report_store4_noabort+0x88/0x90 [ 43.468859] ? ex_handler_refcount+0x18f/0x1c0 [ 43.473452] ex_handler_refcount+0x18f/0x1c0 [ 43.477847] ? ex_handler_clear_fs+0xb0/0xb0 [ 43.482257] fixup_exception+0x8a/0xd0 [ 43.486377] do_trap+0x61/0x250 [ 43.489675] do_error_trap+0x15d/0x310 [ 43.495559] ? math_error+0x310/0x310 [ 43.499381] ? __noinstr_text_end+0x2426/0x77c7 [ 43.504048] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.508882] invalid_op+0x14/0x20 [ 43.512340] RIP: 0010:__noinstr_text_end+0x2426/0x77c7 [ 43.517636] 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 [ 43.536896] RSP: 0018:ffff8880a24f7cd8 EFLAGS: 00010296 [ 43.542310] RAX: 0000000000000000 RBX: ffff8880a9213398 RCX: ffff8880a9213398 [ 43.549580] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 43.556953] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7519 [ 43.564323] R10: ffffffff8a5ba8cb R11: 0000000000000000 R12: ffffffff8a5ba8c0 [ 43.571590] R13: 0000000000000000 R14: 1ffff1101156fd65 R15: dffffc0000000000 [ 43.578894] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 43.584002] nbd_release+0x108/0x170 [ 43.587717] ? nbd_queue_rq+0xe60/0xe60 [ 43.591861] __blkdev_put+0x636/0x870 [ 43.595673] ? fsync_bdev+0xc0/0xc0 [ 43.599306] ? locks_remove_file+0x2cd/0x450 [ 43.603717] ? blkdev_put+0x85/0x520 [ 43.607430] ? blkdev_put+0x520/0x520 [ 43.611217] blkdev_close+0x86/0xb0 [ 43.614837] __fput+0x2ce/0x890 [ 43.618160] task_work_run+0x148/0x1c0 [ 43.622135] exit_to_usermode_loop+0x251/0x2a0 [ 43.627811] do_syscall_64+0x538/0x620 [ 43.631711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.636995] RIP: 0033:0x7ffae4dc8270 [ 43.640721] 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 [ 43.659660] RSP: 002b:00007ffcdf120718 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 43.667375] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007ffae4dc8270 [ 43.674672] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 43.681942] RBP: 00007ffae5c82710 R08: 0000000000000045 R09: 0000000000000018 [ 43.689307] R10: 000055b3d6cd9c98 R11: 0000000000000246 R12: 0000000000000000 [ 43.696599] R13: 000055b3d6cd9d20 R14: 0000000000000003 R15: 000000000000000e [ 43.703873] [ 43.705583] Allocated by task 8916: [ 43.709216] kmem_cache_alloc_trace+0x12f/0x380 [ 43.713883] nbd_dev_add+0x44/0x890 [ 43.717507] nbd_genl_connect+0x4cc/0x1630 [ 43.721748] genl_family_rcv_msg+0x642/0xc40 [ 43.726154] genl_rcv_msg+0xbf/0x160 [ 43.729865] netlink_rcv_skb+0x160/0x440 [ 43.734001] genl_rcv+0x24/0x40 [ 43.737302] netlink_unicast+0x4d5/0x690 [ 43.741366] netlink_sendmsg+0x6bb/0xc40 [ 43.745514] sock_sendmsg+0xc3/0x120 [ 43.749220] ___sys_sendmsg+0x7bb/0x8e0 [ 43.753209] __x64_sys_sendmsg+0x132/0x220 [ 43.757445] do_syscall_64+0xf9/0x620 [ 43.761238] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.766420] [ 43.768061] Freed by task 8927: [ 43.771351] kfree+0xcc/0x210 [ 43.774464] nbd_put.part.0+0xfe/0x140 [ 43.778464] nbd_genl_connect+0x120e/0x1630 [ 43.782852] genl_family_rcv_msg+0x642/0xc40 [ 43.787349] genl_rcv_msg+0xbf/0x160 [ 43.791090] netlink_rcv_skb+0x160/0x440 [ 43.795172] genl_rcv+0x24/0x40 [ 43.798447] netlink_unicast+0x4d5/0x690 [ 43.802669] netlink_sendmsg+0x6bb/0xc40 [ 43.806909] sock_sendmsg+0xc3/0x120 [ 43.810624] ___sys_sendmsg+0x7bb/0x8e0 [ 43.814691] __x64_sys_sendmsg+0x132/0x220 [ 43.819041] do_syscall_64+0xf9/0x620 [ 43.822857] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.828029] [ 43.829827] The buggy address belongs to the object at ffff8880a92132c0 [ 43.829827] which belongs to the cache kmalloc-512 of size 512 [ 43.842567] The buggy address is located 216 bytes inside of [ 43.842567] 512-byte region [ffff8880a92132c0, ffff8880a92134c0) [ 43.854786] The buggy address belongs to the page: [ 43.859805] page:ffffea0002a484c0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 43.868041] flags: 0xfff00000000100(slab) [ 43.872191] raw: 00fff00000000100 ffffea0002a49748 ffffea0002a23a88 ffff88813bff0940 [ 43.883257] raw: 0000000000000000 ffff8880a9213040 0000000100000006 0000000000000000 [ 43.891480] page dumped because: kasan: bad access detected [ 43.897455] executing program [ 43.899072] Memory state around the buggy address: [ 43.904014] ffff8880a9213280: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 43.911440] ffff8880a9213300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.918905] >ffff8880a9213380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.926401] ^ [ 43.930594] ffff8880a9213400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.938052] ffff8880a9213480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 43.945824] ================================================================== [ 43.953373] Disabling lock debugging due to kernel taint [ 43.959891] Kernel panic - not syncing: panic_on_warn set ... [ 43.959891] [ 43.967578] CPU: 1 PID: 8956 Comm: systemd-udevd Tainted: G B 4.19.183-syzkaller #0 [ 43.976868] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.986237] Call Trace: [ 43.988853] dump_stack+0x1fc/0x2ef [ 43.992501] panic+0x26a/0x50e [ 43.996017] ? __warn_printk+0xf3/0xf3 [ 43.999956] ? preempt_schedule_common+0x45/0xc0 [ 44.004763] ? ___preempt_schedule+0x16/0x18 [ 44.009188] ? trace_hardirqs_on+0x55/0x210 [ 44.013507] kasan_end_report+0x43/0x49 [ 44.017490] kasan_report_error.cold+0xa7/0x1b9 [ 44.022397] ? ex_handler_refcount+0x18f/0x1c0 [ 44.027006] __asan_report_store4_noabort+0x88/0x90 [ 44.032112] ? ex_handler_refcount+0x18f/0x1c0 [ 44.037823] ex_handler_refcount+0x18f/0x1c0 [ 44.042236] ? ex_handler_clear_fs+0xb0/0xb0 [ 44.046657] fixup_exception+0x8a/0xd0 [ 44.050580] do_trap+0x61/0x250 [ 44.053882] do_error_trap+0x15d/0x310 [ 44.057791] ? math_error+0x310/0x310 [ 44.061690] ? __noinstr_text_end+0x2426/0x77c7 [ 44.066363] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.071644] invalid_op+0x14/0x20 [ 44.075154] RIP: 0010:__noinstr_text_end+0x2426/0x77c7 [ 44.080433] 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.099636] RSP: 0018:ffff8880a24f7cd8 EFLAGS: 00010296 [ 44.105167] RAX: 0000000000000000 RBX: ffff8880a9213398 RCX: ffff8880a9213398 [ 44.112780] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 44.120076] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7519 [ 44.127468] R10: ffffffff8a5ba8cb R11: 0000000000000000 R12: ffffffff8a5ba8c0 [ 44.134878] R13: 0000000000000000 R14: 1ffff1101156fd65 R15: dffffc0000000000 [ 44.142259] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 44.148533] nbd_release+0x108/0x170 [ 44.152252] ? nbd_queue_rq+0xe60/0xe60 [ 44.156474] __blkdev_put+0x636/0x870 [ 44.160273] ? fsync_bdev+0xc0/0xc0 [ 44.163892] ? locks_remove_file+0x2cd/0x450 [ 44.168300] ? blkdev_put+0x85/0x520 [ 44.172028] ? blkdev_put+0x520/0x520 [ 44.175818] blkdev_close+0x86/0xb0 [ 44.179461] __fput+0x2ce/0x890 [ 44.182758] task_work_run+0x148/0x1c0 [ 44.186869] exit_to_usermode_loop+0x251/0x2a0 [ 44.191539] do_syscall_64+0x538/0x620 [ 44.195425] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.200611] RIP: 0033:0x7ffae4dc8270 [ 44.204437] 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.223942] RSP: 002b:00007ffcdf120718 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 44.232041] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007ffae4dc8270 [ 44.239554] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 44.247042] RBP: 00007ffae5c82710 R08: 0000000000000045 R09: 0000000000000018 [ 44.255305] R10: 000055b3d6cd9c98 R11: 0000000000000246 R12: 0000000000000000 [ 44.262590] R13: 000055b3d6cd9d20 R14: 0000000000000003 R15: 000000000000000e [ 44.270886] Kernel Offset: disabled [ 44.274619] Rebooting in 86400 seconds..