Warning: Permanently added '10.128.15.198' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 26.392359] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program executing program [ 26.455235] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. [ 26.494552] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.534049] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.584322] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.634497] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.693912] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.744044] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program [ 26.794476] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program executing program [ 26.843482] netlink: 4 bytes leftover after parsing attributes in process `syz-executor991'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 28.032799] ================================================================== [ 28.040295] BUG: KASAN: use-after-free in ex_handler_refcount+0x164/0x1a0 [ 28.047200] Write of size 4 at addr ffff8880a1525118 by task systemd-udevd/8129 [ 28.054625] [ 28.056233] CPU: 1 PID: 8129 Comm: systemd-udevd Not tainted 4.14.295-syzkaller #0 [ 28.063917] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 28.073255] Call Trace: [ 28.075831] dump_stack+0x1b2/0x281 [ 28.079445] print_address_description.cold+0x54/0x1d3 [ 28.084705] kasan_report_error.cold+0x8a/0x191 [ 28.089355] ? ex_handler_refcount+0x164/0x1a0 [ 28.093913] __asan_report_store4_noabort+0x68/0x70 [ 28.098908] ? ex_handler_refcount+0x164/0x1a0 [ 28.103480] ex_handler_refcount+0x164/0x1a0 [ 28.107875] ? ex_handler_clear_fs+0xb0/0xb0 [ 28.112262] fixup_exception+0x8a/0xd0 [ 28.116267] do_trap+0x61/0x250 [ 28.119530] ? do_error_trap+0x1d0/0x2d0 [ 28.123576] do_error_trap+0x132/0x2d0 [ 28.127475] ? math_error+0x2d0/0x2d0 [ 28.131256] ? flags_string.cold+0x1b3e/0x6c42 [ 28.135816] ? __mutex_lock+0x360/0x1310 [ 28.139860] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.144683] invalid_op+0x1b/0x40 [ 28.148125] RIP: 0010:flags_string.cold+0x1b3e/0x6c42 [ 28.153294] RSP: 0018:ffff88809c6e7cd0 EFLAGS: 00010296 [ 28.158635] RAX: 0000000000000000 RBX: ffff8880a1525118 RCX: ffff8880a1525118 [ 28.165888] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 28.173141] RBP: ffffffff89510a40 R08: 0000000000000000 R09: 0000000000000002 [ 28.180389] R10: 0000000000000000 R11: ffff8880b06ea3c0 R12: 0000000000000000 [ 28.187634] R13: ffff88808d7e6884 R14: ffffed1011afcd5e R15: dffffc0000000000 [ 28.194895] nbd_release+0xf3/0x150 [ 28.198499] ? nbd_ioctl+0xac0/0xac0 [ 28.202194] __blkdev_put+0x5aa/0x800 [ 28.205975] ? revalidate_disk+0x1f0/0x1f0 [ 28.210189] ? locks_remove_file+0x2cd/0x420 [ 28.214580] ? blkdev_put+0x75/0x4c0 [ 28.218273] ? blkdev_put+0x4c0/0x4c0 [ 28.222049] blkdev_close+0x86/0xb0 [ 28.225657] __fput+0x25f/0x7a0 [ 28.229098] task_work_run+0x11f/0x190 [ 28.232974] exit_to_usermode_loop+0x1ad/0x200 [ 28.237534] do_syscall_64+0x4a3/0x640 [ 28.241408] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.246573] RIP: 0033:0x7f0fb3ca8270 [ 28.250288] RSP: 002b:00007fff39fc4a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 28.257980] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f0fb3ca8270 [ 28.265230] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 28.272475] RBP: 00007f0fb4b62710 R08: 0000000000000045 R09: 0000000000000018 [ 28.279725] R10: 00005558f1fb08f8 R11: 0000000000000246 R12: 0000000000000000 [ 28.286970] R13: 00005558f1fb3ce0 R14: 0000000000000003 R15: 000000000000000e [ 28.294221] [ 28.295825] Allocated by task 8149: [ 28.299432] kasan_kmalloc+0xeb/0x160 [ 28.303209] kmem_cache_alloc_trace+0x131/0x3d0 [ 28.307851] nbd_dev_add+0x7c/0x800 [ 28.311454] nbd_genl_connect+0x3a4/0x13e0 [ 28.315664] genl_family_rcv_msg+0x572/0xb20 [ 28.320043] genl_rcv_msg+0xaf/0x140 [ 28.323739] netlink_rcv_skb+0x125/0x390 [ 28.327783] genl_rcv+0x24/0x40 [ 28.331036] netlink_unicast+0x437/0x610 [ 28.335073] netlink_sendmsg+0x648/0xbc0 [ 28.339108] sock_sendmsg+0xb5/0x100 [ 28.342795] ___sys_sendmsg+0x6c8/0x800 [ 28.346742] __sys_sendmsg+0xa3/0x120 [ 28.350514] SyS_sendmsg+0x27/0x40 [ 28.354030] do_syscall_64+0x1d5/0x640 [ 28.357895] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.363062] [ 28.364689] Freed by task 8151: [ 28.367943] kasan_slab_free+0xc3/0x1a0 [ 28.371893] kfree+0xc9/0x250 [ 28.374975] nbd_put.part.0+0x100/0x140 [ 28.378921] nbd_genl_connect+0xcf6/0x13e0 [ 28.383131] genl_family_rcv_msg+0x572/0xb20 [ 28.387511] genl_rcv_msg+0xaf/0x140 [ 28.391468] netlink_rcv_skb+0x125/0x390 [ 28.395509] genl_rcv+0x24/0x40 [ 28.398763] netlink_unicast+0x437/0x610 [ 28.402797] netlink_sendmsg+0x648/0xbc0 [ 28.406832] sock_sendmsg+0xb5/0x100 [ 28.410519] ___sys_sendmsg+0x6c8/0x800 [ 28.414466] __sys_sendmsg+0xa3/0x120 [ 28.418238] SyS_sendmsg+0x27/0x40 [ 28.421754] do_syscall_64+0x1d5/0x640 [ 28.425617] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.430780] [ 28.432383] The buggy address belongs to the object at ffff8880a1525040 [ 28.432383] which belongs to the cache kmalloc-512 of size 512 [ 28.445010] The buggy address is located 216 bytes inside of [ 28.445010] 512-byte region [ffff8880a1525040, ffff8880a1525240) [ 28.456862] The buggy address belongs to the page: [ 28.461774] page:ffffea0002854940 count:1 mapcount:0 mapping:ffff8880a1525040 index:0xffff8880a15252c0 [ 28.471290] flags: 0xfff00000000100(slab) [ 28.475429] raw: 00fff00000000100 ffff8880a1525040 ffff8880a15252c0 0000000100000002 [ 28.483283] raw: ffffea0002604360 ffffea00028542a0 ffff88813fe74940 0000000000000000 [ 28.491133] page dumped because: kasan: bad access detected [ 28.496814] [ 28.498418] Memory state around the buggy address: [ 28.503323] ffff8880a1525000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 28.510654] ffff8880a1525080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.517996] >ffff8880a1525100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.525334] ^ [ 28.529453] ffff8880a1525180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.536784] ffff8880a1525200: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 28.544113] ================================================================== [ 28.551445] Disabling lock debugging due to kernel taint [ 28.557723] Kernel panic - not syncing: panic_on_warn set ... [ 28.557723] [ 28.565088] CPU: 1 PID: 8129 Comm: systemd-udevd Tainted: G B 4.14.295-syzkaller #0 [ 28.574001] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 28.583341] Call Trace: [ 28.585919] dump_stack+0x1b2/0x281 [ 28.589536] panic+0x1f9/0x42d [ 28.592724] ? add_taint.cold+0x16/0x16 [ 28.596673] ? ___preempt_schedule+0x16/0x18 [ 28.601059] kasan_end_report+0x43/0x49 [ 28.605010] kasan_report_error.cold+0xa7/0x191 [ 28.609656] ? ex_handler_refcount+0x164/0x1a0 [ 28.614222] __asan_report_store4_noabort+0x68/0x70 [ 28.619211] ? ex_handler_refcount+0x164/0x1a0 [ 28.623769] ex_handler_refcount+0x164/0x1a0 [ 28.628151] ? ex_handler_clear_fs+0xb0/0xb0 [ 28.632531] fixup_exception+0x8a/0xd0 [ 28.636392] do_trap+0x61/0x250 [ 28.639644] ? do_error_trap+0x1d0/0x2d0 [ 28.643680] do_error_trap+0x132/0x2d0 [ 28.647541] ? math_error+0x2d0/0x2d0 [ 28.651319] ? flags_string.cold+0x1b3e/0x6c42 [ 28.655875] ? __mutex_lock+0x360/0x1310 [ 28.659912] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.664731] invalid_op+0x1b/0x40 [ 28.668158] RIP: 0010:flags_string.cold+0x1b3e/0x6c42 [ 28.673318] RSP: 0018:ffff88809c6e7cd0 EFLAGS: 00010296 [ 28.678662] RAX: 0000000000000000 RBX: ffff8880a1525118 RCX: ffff8880a1525118 [ 28.685906] RDX: 0000000000000004 RSI: 0000000000000003 RDI: 0000000000000001 [ 28.693149] RBP: ffffffff89510a40 R08: 0000000000000000 R09: 0000000000000002 [ 28.700393] R10: 0000000000000000 R11: ffff8880b06ea3c0 R12: 0000000000000000 [ 28.707635] R13: ffff88808d7e6884 R14: ffffed1011afcd5e R15: dffffc0000000000 [ 28.714892] nbd_release+0xf3/0x150 [ 28.718496] ? nbd_ioctl+0xac0/0xac0 [ 28.722182] __blkdev_put+0x5aa/0x800 [ 28.725965] ? revalidate_disk+0x1f0/0x1f0 [ 28.730175] ? locks_remove_file+0x2cd/0x420 [ 28.734558] ? blkdev_put+0x75/0x4c0 [ 28.738247] ? blkdev_put+0x4c0/0x4c0 [ 28.742022] blkdev_close+0x86/0xb0 [ 28.745629] __fput+0x25f/0x7a0 [ 28.748883] task_work_run+0x11f/0x190 [ 28.752767] exit_to_usermode_loop+0x1ad/0x200 [ 28.757333] do_syscall_64+0x4a3/0x640 [ 28.761197] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.766359] RIP: 0033:0x7f0fb3ca8270 [ 28.770045] RSP: 002b:00007fff39fc4a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 28.777726] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f0fb3ca8270 [ 28.784972] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 28.792215] RBP: 00007f0fb4b62710 R08: 0000000000000045 R09: 0000000000000018 [ 28.799460] R10: 00005558f1fb08f8 R11: 0000000000000246 R12: 0000000000000000 [ 28.806704] R13: 00005558f1fb3ce0 R14: 0000000000000003 R15: 000000000000000e [ 28.814125] Kernel Offset: disabled [ 28.817731] Rebooting in 86400 seconds..