Warning: Permanently added '10.128.0.234' (ECDSA) to the list of known hosts. 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 [ 30.241001] ================================================================== [ 30.248443] BUG: KASAN: use-after-free in refcount_dec_not_one+0x9a/0xc0 [ 30.255258] Read of size 4 at addr ffff8880985da198 by task syz-executor356/8130 [ 30.262848] [ 30.264451] CPU: 1 PID: 8130 Comm: syz-executor356 Not tainted 4.14.298-syzkaller #0 [ 30.272301] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 30.281632] Call Trace: [ 30.284214] dump_stack+0x1b2/0x281 [ 30.287999] print_address_description.cold+0x54/0x1d3 [ 30.293257] kasan_report_error.cold+0x8a/0x191 [ 30.298109] ? refcount_dec_not_one+0x9a/0xc0 [ 30.302597] __asan_report_load4_noabort+0x68/0x70 [ 30.307502] ? refcount_dec_not_one+0x9a/0xc0 [ 30.311973] refcount_dec_not_one+0x9a/0xc0 [ 30.316272] refcount_dec_and_mutex_lock+0x1a/0x60 [ 30.321181] nbd_genl_connect+0xce1/0x13e0 [ 30.325389] ? nbd_xmit_timeout+0x500/0x500 [ 30.329686] ? do_syscall_64+0x1d5/0x640 [ 30.333722] ? validate_nla+0x192/0x5e0 [ 30.337669] ? nla_parse+0x157/0x1f0 [ 30.341361] genl_family_rcv_msg+0x572/0xb20 [ 30.345752] ? genl_rcv+0x40/0x40 [ 30.349270] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 30.354695] ? __kmalloc_node_track_caller+0x4c/0x70 [ 30.359770] ? trace_hardirqs_on+0x10/0x10 [ 30.364009] genl_rcv_msg+0xaf/0x140 [ 30.367713] netlink_rcv_skb+0x125/0x390 [ 30.371764] ? genl_family_rcv_msg+0xb20/0xb20 [ 30.376333] ? netlink_ack+0x9a0/0x9a0 [ 30.380196] ? lock_acquire+0x170/0x3f0 [ 30.384179] genl_rcv+0x24/0x40 [ 30.387433] netlink_unicast+0x437/0x610 [ 30.391496] ? netlink_sendskb+0xd0/0xd0 [ 30.395533] ? __check_object_size+0x179/0x230 [ 30.400089] netlink_sendmsg+0x648/0xbc0 [ 30.404129] ? nlmsg_notify+0x1b0/0x1b0 [ 30.408081] ? kernel_recvmsg+0x210/0x210 [ 30.412213] ? security_socket_sendmsg+0x83/0xb0 [ 30.417059] ? nlmsg_notify+0x1b0/0x1b0 [ 30.421018] sock_sendmsg+0xb5/0x100 [ 30.424892] ___sys_sendmsg+0x6c8/0x800 [ 30.428841] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 30.433573] ? netlink_dump+0xb90/0xb90 [ 30.437530] ? nlmsg_notify+0x1b0/0x1b0 [ 30.441575] ? security_socket_recvmsg+0x8b/0xc0 [ 30.446304] ? SyS_recvfrom+0x27f/0x340 [ 30.450252] ? SyS_send+0x40/0x40 [ 30.453690] ? vm_insert_page+0x7c0/0x7c0 [ 30.457811] ? __fdget+0x167/0x1f0 [ 30.461324] ? sockfd_lookup_light+0xb2/0x160 [ 30.465795] __sys_sendmsg+0xa3/0x120 [ 30.469575] ? SyS_shutdown+0x160/0x160 [ 30.473533] ? up_read+0x17/0x30 [ 30.476882] ? __do_page_fault+0x159/0xad0 [ 30.481201] SyS_sendmsg+0x27/0x40 [ 30.484820] ? __sys_sendmsg+0x120/0x120 [ 30.488860] do_syscall_64+0x1d5/0x640 [ 30.492741] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 30.497912] [ 30.499522] Allocated by task 8111: [ 30.503243] kasan_kmalloc+0xeb/0x160 [ 30.507018] kmem_cache_alloc_trace+0x131/0x3d0 [ 30.511669] nbd_dev_add+0x7c/0x800 [ 30.515270] nbd_genl_connect+0x3a4/0x13e0 [ 30.519479] genl_family_rcv_msg+0x572/0xb20 [ 30.523861] genl_rcv_msg+0xaf/0x140 [ 30.527549] netlink_rcv_skb+0x125/0x390 [ 30.531587] genl_rcv+0x24/0x40 [ 30.534837] netlink_unicast+0x437/0x610 [ 30.538868] netlink_sendmsg+0x648/0xbc0 [ 30.542901] sock_sendmsg+0xb5/0x100 [ 30.546584] ___sys_sendmsg+0x6c8/0x800 [ 30.550540] __sys_sendmsg+0xa3/0x120 [ 30.554334] SyS_sendmsg+0x27/0x40 [ 30.557854] do_syscall_64+0x1d5/0x640 [ 30.561719] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 30.566964] [ 30.568568] Freed by task 8130: [ 30.571828] kasan_slab_free+0xc3/0x1a0 [ 30.575775] kfree+0xc9/0x250 [ 30.578853] nbd_put.part.0+0x100/0x140 [ 30.582800] nbd_config_put+0x51c/0x6c0 [ 30.586833] nbd_genl_connect+0xcb9/0x13e0 [ 30.591042] genl_family_rcv_msg+0x572/0xb20 [ 30.595422] genl_rcv_msg+0xaf/0x140 [ 30.599114] netlink_rcv_skb+0x125/0x390 [ 30.603149] genl_rcv+0x24/0x40 [ 30.606399] netlink_unicast+0x437/0x610 [ 30.610440] netlink_sendmsg+0x648/0xbc0 [ 30.614472] sock_sendmsg+0xb5/0x100 [ 30.618161] ___sys_sendmsg+0x6c8/0x800 [ 30.622108] __sys_sendmsg+0xa3/0x120 [ 30.625881] SyS_sendmsg+0x27/0x40 [ 30.629393] do_syscall_64+0x1d5/0x640 [ 30.633253] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 30.638502] [ 30.640106] The buggy address belongs to the object at ffff8880985da0c0 [ 30.640106] which belongs to the cache kmalloc-512 of size 512 [ 30.652820] The buggy address is located 216 bytes inside of [ 30.652820] 512-byte region [ffff8880985da0c0, ffff8880985da2c0) [ 30.664665] The buggy address belongs to the page: [ 30.669569] page:ffffea0002617680 count:1 mapcount:0 mapping:ffff8880985da0c0 index:0xffff8880985daac0 [ 30.678987] flags: 0xfff00000000100(slab) [ 30.683110] raw: 00fff00000000100 ffff8880985da0c0 ffff8880985daac0 0000000100000004 [ 30.690966] raw: ffffea00025dd8e0 ffffea00028c4d20 ffff88813fe74940 0000000000000000 [ 30.698901] page dumped because: kasan: bad access detected [ 30.704581] [ 30.706180] Memory state around the buggy address: [ 30.711086] ffff8880985da080: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 30.718426] ffff8880985da100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.725758] >ffff8880985da180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.733122] ^ [ 30.737252] ffff8880985da200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.744583] ffff8880985da280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 30.751916] ================================================================== [ 30.759248] Disabling lock debugging due to kernel taint [ 30.767377] Kernel panic - not syncing: panic_on_warn set ... [ 30.767377] [ 30.774736] CPU: 1 PID: 8130 Comm: syz-executor356 Tainted: G B 4.14.298-syzkaller #0 [ 30.783817] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 30.793156] Call Trace: [ 30.795743] dump_stack+0x1b2/0x281 [ 30.799361] panic+0x1f9/0x42d [ 30.802542] ? add_taint.cold+0x16/0x16 [ 30.806552] ? ___preempt_schedule+0x16/0x18 [ 30.810942] kasan_end_report+0x43/0x49 [ 30.814891] kasan_report_error.cold+0xa7/0x191 [ 30.819538] ? refcount_dec_not_one+0x9a/0xc0 [ 30.824019] __asan_report_load4_noabort+0x68/0x70 [ 30.828928] ? refcount_dec_not_one+0x9a/0xc0 [ 30.833395] refcount_dec_not_one+0x9a/0xc0 [ 30.837778] refcount_dec_and_mutex_lock+0x1a/0x60 [ 30.842679] nbd_genl_connect+0xce1/0x13e0 [ 30.846886] ? nbd_xmit_timeout+0x500/0x500 [ 30.851181] ? do_syscall_64+0x1d5/0x640 [ 30.855214] ? validate_nla+0x192/0x5e0 [ 30.859165] ? nla_parse+0x157/0x1f0 [ 30.862858] genl_family_rcv_msg+0x572/0xb20 [ 30.867239] ? genl_rcv+0x40/0x40 [ 30.870664] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 30.876086] ? __kmalloc_node_track_caller+0x4c/0x70 [ 30.881168] ? trace_hardirqs_on+0x10/0x10 [ 30.885383] genl_rcv_msg+0xaf/0x140 [ 30.889078] netlink_rcv_skb+0x125/0x390 [ 30.893123] ? genl_family_rcv_msg+0xb20/0xb20 [ 30.897683] ? netlink_ack+0x9a0/0x9a0 [ 30.901544] ? lock_acquire+0x170/0x3f0 [ 30.905490] genl_rcv+0x24/0x40 [ 30.908922] netlink_unicast+0x437/0x610 [ 30.912963] ? netlink_sendskb+0xd0/0xd0 [ 30.917004] ? __check_object_size+0x179/0x230 [ 30.921568] netlink_sendmsg+0x648/0xbc0 [ 30.925615] ? nlmsg_notify+0x1b0/0x1b0 [ 30.929560] ? kernel_recvmsg+0x210/0x210 [ 30.933768] ? security_socket_sendmsg+0x83/0xb0 [ 30.938496] ? nlmsg_notify+0x1b0/0x1b0 [ 30.942442] sock_sendmsg+0xb5/0x100 [ 30.946132] ___sys_sendmsg+0x6c8/0x800 [ 30.950082] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 30.954810] ? netlink_dump+0xb90/0xb90 [ 30.958759] ? nlmsg_notify+0x1b0/0x1b0 [ 30.962710] ? security_socket_recvmsg+0x8b/0xc0 [ 30.967444] ? SyS_recvfrom+0x27f/0x340 [ 30.971396] ? SyS_send+0x40/0x40 [ 30.974822] ? vm_insert_page+0x7c0/0x7c0 [ 30.978942] ? __fdget+0x167/0x1f0 [ 30.982455] ? sockfd_lookup_light+0xb2/0x160 [ 30.986925] __sys_sendmsg+0xa3/0x120 [ 30.990698] ? SyS_shutdown+0x160/0x160 [ 30.994647] ? up_read+0x17/0x30 [ 30.997989] ? __do_page_fault+0x159/0xad0 [ 31.002200] SyS_sendmsg+0x27/0x40 [ 31.005713] ? __sys_sendmsg+0x120/0x120 [ 31.009745] do_syscall_64+0x1d5/0x640 [ 31.013608] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 31.019036] Kernel Offset: disabled [ 31.022650] Rebooting in 86400 seconds..