Warning: Permanently added '10.128.10.54' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 34.856702] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. [ 34.868260] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. executing program [ 34.921422] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. [ 34.930177] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. executing program [ 34.981650] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. [ 34.990760] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. executing program [ 35.040611] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. [ 35.049543] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. executing program executing program [ 35.092195] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. [ 35.102723] netlink: 4 bytes leftover after parsing attributes in process `syz-executor233'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.878427] ================================================================== [ 39.885947] BUG: KASAN: use-after-free in ex_handler_refcount+0x18f/0x1c0 [ 39.892863] Write of size 4 at addr ffff8880a320c618 by task systemd-udevd/8890 [ 39.900283] [ 39.901901] CPU: 1 PID: 8890 Comm: systemd-udevd Not tainted 4.19.211-syzkaller #0 [ 39.909706] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 39.919067] Call Trace: [ 39.921660] dump_stack+0x1fc/0x2ef [ 39.925276] print_address_description.cold+0x54/0x219 [ 39.930537] kasan_report_error.cold+0x8a/0x1b9 [ 39.935187] ? ex_handler_refcount+0x18f/0x1c0 [ 39.939750] __asan_report_store4_noabort+0x88/0x90 [ 39.944748] ? ex_handler_refcount+0x18f/0x1c0 [ 39.949312] ex_handler_refcount+0x18f/0x1c0 [ 39.953701] ? ex_handler_clear_fs+0xb0/0xb0 [ 39.958087] fixup_exception+0x8a/0xd0 [ 39.962051] do_trap+0x61/0x250 [ 39.965313] do_error_trap+0x15d/0x310 [ 39.969185] ? math_error+0x310/0x310 [ 39.972969] ? __noinstr_text_end+0x243b/0x7813 [ 39.977629] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.982458] invalid_op+0x14/0x20 [ 39.985894] RIP: 0010:__noinstr_text_end+0x243b/0x7813 [ 39.991157] 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 [ 40.010055] RSP: 0018:ffff8880a3f97cd8 EFLAGS: 00010296 [ 40.015541] RAX: 0000000000000000 RBX: ffff8880a320c618 RCX: ffff8880a320c618 [ 40.022794] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 40.030046] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7985 [ 40.037314] R10: ffffffff8a5bcc2b R11: 0000000000000000 R12: ffffffff8a5bcc20 [ 40.044570] R13: 0000000000000000 R14: 1ffff11011477f5d R15: dffffc0000000000 [ 40.051852] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 40.056943] nbd_release+0x108/0x170 [ 40.060644] ? nbd_queue_rq+0xe60/0xe60 [ 40.064610] __blkdev_put+0x636/0x870 [ 40.068403] ? fsync_bdev+0xc0/0xc0 [ 40.072030] ? locks_remove_file+0x2cd/0x450 [ 40.076445] ? blkdev_put+0x85/0x520 [ 40.080157] ? blkdev_put+0x520/0x520 [ 40.083947] blkdev_close+0x86/0xb0 [ 40.087557] __fput+0x2ce/0x890 [ 40.090819] task_work_run+0x148/0x1c0 [ 40.094704] exit_to_usermode_loop+0x251/0x2a0 [ 40.099266] do_syscall_64+0x538/0x620 [ 40.103195] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.108372] RIP: 0033:0x7efd5362d270 [ 40.112067] 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 [ 40.130953] RSP: 002b:00007ffc0e603548 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 40.138646] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007efd5362d270 [ 40.145915] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 40.153178] RBP: 00007efd544e7710 R08: 0000000000000045 R09: 0000000000000018 [ 40.160426] R10: 0000562c9a8ecc88 R11: 0000000000000246 R12: 0000000000000000 [ 40.167682] R13: 0000562c9a8ea880 R14: 0000000000000003 R15: 000000000000000e [ 40.174937] [ 40.176553] Allocated by task 8873: [ 40.180179] kmem_cache_alloc_trace+0x12f/0x380 [ 40.184835] nbd_dev_add+0x44/0x890 [ 40.188448] nbd_genl_connect+0x4cc/0x1630 [ 40.192661] genl_family_rcv_msg+0x642/0xc40 [ 40.197047] genl_rcv_msg+0xbf/0x160 [ 40.200749] netlink_rcv_skb+0x160/0x440 [ 40.204787] genl_rcv+0x24/0x40 [ 40.208046] netlink_unicast+0x4d5/0x690 [ 40.212085] netlink_sendmsg+0x6c3/0xc50 [ 40.216127] sock_sendmsg+0xc3/0x120 [ 40.219819] ___sys_sendmsg+0x7bb/0x8e0 [ 40.223778] __x64_sys_sendmsg+0x132/0x220 [ 40.228006] do_syscall_64+0xf9/0x620 [ 40.231796] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.236960] [ 40.238571] Freed by task 8891: [ 40.241831] kfree+0xcc/0x210 [ 40.244914] nbd_put.part.0+0xfe/0x140 [ 40.248778] nbd_genl_connect+0x120e/0x1630 [ 40.253078] genl_family_rcv_msg+0x642/0xc40 [ 40.257473] genl_rcv_msg+0xbf/0x160 [ 40.261169] netlink_rcv_skb+0x160/0x440 [ 40.265211] genl_rcv+0x24/0x40 [ 40.268473] netlink_unicast+0x4d5/0x690 [ 40.272521] netlink_sendmsg+0x6c3/0xc50 [ 40.276575] sock_sendmsg+0xc3/0x120 [ 40.280444] ___sys_sendmsg+0x7bb/0x8e0 [ 40.284397] __x64_sys_sendmsg+0x132/0x220 [ 40.288631] do_syscall_64+0xf9/0x620 [ 40.292433] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.297605] [ 40.299214] The buggy address belongs to the object at ffff8880a320c540 [ 40.299214] which belongs to the cache kmalloc-512 of size 512 [ 40.311853] The buggy address is located 216 bytes inside of [ 40.311853] 512-byte region [ffff8880a320c540, ffff8880a320c740) [ 40.323711] The buggy address belongs to the page: [ 40.328629] page:ffffea00028c8300 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 40.336875] flags: 0xfff00000000100(slab) [ 40.341012] raw: 00fff00000000100 ffffea0002a164c8 ffffea00028c8b48 ffff88813bff0940 [ 40.348887] raw: 0000000000000000 ffff8880a320c040 0000000100000006 0000000000000000 [ 40.356760] page dumped because: kasan: bad access detected [ 40.362445] [ 40.364061] Memory state around the buggy address: [ 40.368971] ffff8880a320c500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 40.376309] ffff8880a320c580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.383668] >ffff8880a320c600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.391024] ^ [ 40.395161] ffff8880a320c680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.402501] ffff8880a320c700: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 40.409834] ================================================================== [ 40.417169] Disabling lock debugging due to kernel taint [ 40.435048] Kernel panic - not syncing: panic_on_warn set ... [ 40.435048] [ 40.442525] CPU: 0 PID: 8890 Comm: systemd-udevd Tainted: G B 4.19.211-syzkaller #0 [ 40.451603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 40.460932] Call Trace: [ 40.463500] dump_stack+0x1fc/0x2ef [ 40.467105] panic+0x26a/0x50e [ 40.470273] ? __warn_printk+0xf3/0xf3 [ 40.474138] ? preempt_schedule_common+0x45/0xc0 [ 40.478872] ? ___preempt_schedule+0x16/0x18 [ 40.483256] ? trace_hardirqs_on+0x55/0x210 [ 40.487556] kasan_end_report+0x43/0x49 [ 40.491508] kasan_report_error.cold+0xa7/0x1b9 [ 40.496165] ? ex_handler_refcount+0x18f/0x1c0 [ 40.500725] __asan_report_store4_noabort+0x88/0x90 [ 40.505721] ? ex_handler_refcount+0x18f/0x1c0 [ 40.510281] ex_handler_refcount+0x18f/0x1c0 [ 40.514664] ? ex_handler_clear_fs+0xb0/0xb0 [ 40.519050] fixup_exception+0x8a/0xd0 [ 40.522915] do_trap+0x61/0x250 [ 40.526182] do_error_trap+0x15d/0x310 [ 40.530048] ? math_error+0x310/0x310 [ 40.533826] ? __noinstr_text_end+0x243b/0x7813 [ 40.538473] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.543303] invalid_op+0x14/0x20 [ 40.546733] RIP: 0010:__noinstr_text_end+0x243b/0x7813 [ 40.551996] 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 [ 40.570877] RSP: 0018:ffff8880a3f97cd8 EFLAGS: 00010296 [ 40.576217] RAX: 0000000000000000 RBX: ffff8880a320c618 RCX: ffff8880a320c618 [ 40.583466] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 40.590719] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7985 [ 40.597963] R10: ffffffff8a5bcc2b R11: 0000000000000000 R12: ffffffff8a5bcc20 [ 40.605208] R13: 0000000000000000 R14: 1ffff11011477f5d R15: dffffc0000000000 [ 40.612481] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 40.617566] nbd_release+0x108/0x170 [ 40.621258] ? nbd_queue_rq+0xe60/0xe60 [ 40.625210] __blkdev_put+0x636/0x870 [ 40.628990] ? fsync_bdev+0xc0/0xc0 [ 40.632614] ? locks_remove_file+0x2cd/0x450 [ 40.637013] ? blkdev_put+0x85/0x520 [ 40.640717] ? blkdev_put+0x520/0x520 [ 40.644495] blkdev_close+0x86/0xb0 [ 40.648106] __fput+0x2ce/0x890 [ 40.651367] task_work_run+0x148/0x1c0 [ 40.655251] exit_to_usermode_loop+0x251/0x2a0 [ 40.659817] do_syscall_64+0x538/0x620 [ 40.663694] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.668871] RIP: 0033:0x7efd5362d270 [ 40.672563] 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 [ 40.691466] RSP: 002b:00007ffc0e603548 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 40.699154] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007efd5362d270 [ 40.706410] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 40.713671] RBP: 00007efd544e7710 R08: 0000000000000045 R09: 0000000000000018 [ 40.720923] R10: 0000562c9a8ecc88 R11: 0000000000000246 R12: 0000000000000000 [ 40.728178] R13: 0000562c9a8ea880 R14: 0000000000000003 R15: 000000000000000e [ 40.735663] Kernel Offset: disabled [ 40.739275] Rebooting in 86400 seconds..