Warning: Permanently added '10.128.1.14' (ECDSA) to the list of known hosts. executing program [ 40.665173] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.673845] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.682633] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. executing program executing program [ 40.755675] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.764313] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.773553] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. executing program [ 40.822671] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.831574] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.840215] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. [ 40.892978] netlink: 4 bytes leftover after parsing attributes in process `syz-executor464'. 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 [ 45.328501] ================================================================== [ 45.335983] BUG: KASAN: use-after-free in refcount_dec_not_one+0x9a/0xc0 [ 45.342820] Read of size 4 at addr ffff8880b4b9d658 by task syz-executor464/8666 [ 45.350335] [ 45.351943] CPU: 1 PID: 8666 Comm: syz-executor464 Not tainted 4.14.294-syzkaller #0 [ 45.359795] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 45.369128] Call Trace: [ 45.371694] dump_stack+0x1b2/0x281 [ 45.375308] print_address_description.cold+0x54/0x1d3 [ 45.380563] kasan_report_error.cold+0x8a/0x191 [ 45.385208] ? refcount_dec_not_one+0x9a/0xc0 [ 45.389677] __asan_report_load4_noabort+0x68/0x70 [ 45.394583] ? refcount_dec_not_one+0x9a/0xc0 [ 45.399070] refcount_dec_not_one+0x9a/0xc0 [ 45.403366] refcount_dec_and_mutex_lock+0x1a/0x60 [ 45.408272] nbd_genl_connect+0xce1/0x13e0 [ 45.412486] ? nbd_xmit_timeout+0x500/0x500 [ 45.416783] ? validate_nla+0x192/0x5e0 [ 45.420733] genl_family_rcv_msg+0x572/0xb20 [ 45.425134] ? genl_rcv+0x40/0x40 [ 45.428562] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 45.433987] ? __kmalloc_node_track_caller+0x4c/0x70 [ 45.439063] ? trace_hardirqs_on+0x10/0x10 [ 45.443290] genl_rcv_msg+0xaf/0x140 [ 45.446989] netlink_rcv_skb+0x125/0x390 [ 45.451043] ? genl_family_rcv_msg+0xb20/0xb20 [ 45.455602] ? netlink_ack+0x9a0/0x9a0 [ 45.459466] ? lock_acquire+0x170/0x3f0 [ 45.463419] genl_rcv+0x24/0x40 [ 45.466673] netlink_unicast+0x437/0x610 [ 45.470713] ? netlink_sendskb+0xd0/0xd0 [ 45.474766] ? __check_object_size+0x179/0x230 [ 45.479330] netlink_sendmsg+0x648/0xbc0 [ 45.483380] ? nlmsg_notify+0x1b0/0x1b0 [ 45.487387] ? kernel_recvmsg+0x210/0x210 [ 45.491524] ? security_socket_sendmsg+0x83/0xb0 [ 45.496263] ? nlmsg_notify+0x1b0/0x1b0 [ 45.500214] sock_sendmsg+0xb5/0x100 [ 45.503913] ___sys_sendmsg+0x6c8/0x800 [ 45.507872] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 45.512612] ? netlink_dump+0xb90/0xb90 [ 45.516561] ? nlmsg_notify+0x1b0/0x1b0 [ 45.520512] ? security_socket_recvmsg+0x8b/0xc0 [ 45.525503] ? SyS_recvfrom+0x27f/0x340 [ 45.529468] ? SyS_send+0x40/0x40 [ 45.532895] ? vm_insert_page+0x7c0/0x7c0 [ 45.537025] ? __fdget+0x167/0x1f0 [ 45.540738] ? sockfd_lookup_light+0xb2/0x160 [ 45.545217] __sys_sendmsg+0xa3/0x120 [ 45.549007] ? SyS_shutdown+0x160/0x160 [ 45.552960] ? up_read+0x17/0x30 [ 45.556317] ? __do_page_fault+0x159/0xad0 [ 45.560554] SyS_sendmsg+0x27/0x40 [ 45.564068] ? __sys_sendmsg+0x120/0x120 [ 45.568105] do_syscall_64+0x1d5/0x640 [ 45.571969] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 45.577135] RIP: 0033:0x7ff5f05d8b09 [ 45.580818] RSP: 002b:00007fff1ee33188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.588502] RAX: ffffffffffffffda RBX: 000000000000b0c0 RCX: 00007ff5f05d8b09 [ 45.595753] RDX: 0000000024040810 RSI: 0000000020000280 RDI: 0000000000000003 [ 45.602999] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 45.610246] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff1ee331bc [ 45.617496] R13: 431bde82d7b634db R14: 00007fff1ee331d0 R15: 0000000000000000 [ 45.624755] [ 45.626364] Allocated by task 8661: [ 45.629970] kasan_kmalloc+0xeb/0x160 [ 45.633842] kmem_cache_alloc_trace+0x131/0x3d0 [ 45.638485] nbd_dev_add+0x7c/0x800 [ 45.642258] nbd_genl_connect+0x3a4/0x13e0 [ 45.646465] genl_family_rcv_msg+0x572/0xb20 [ 45.650846] genl_rcv_msg+0xaf/0x140 [ 45.654532] netlink_rcv_skb+0x125/0x390 [ 45.658827] genl_rcv+0x24/0x40 [ 45.662088] netlink_unicast+0x437/0x610 [ 45.666237] netlink_sendmsg+0x648/0xbc0 [ 45.670277] sock_sendmsg+0xb5/0x100 [ 45.673983] ___sys_sendmsg+0x6c8/0x800 [ 45.677931] __sys_sendmsg+0xa3/0x120 [ 45.681705] SyS_sendmsg+0x27/0x40 [ 45.685229] do_syscall_64+0x1d5/0x640 [ 45.689094] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 45.694265] [ 45.695868] Freed by task 8666: [ 45.699126] kasan_slab_free+0xc3/0x1a0 [ 45.703088] kfree+0xc9/0x250 [ 45.706181] nbd_put.part.0+0x100/0x140 [ 45.710160] nbd_config_put+0x51c/0x6c0 [ 45.714130] nbd_genl_connect+0xcb9/0x13e0 [ 45.718346] genl_family_rcv_msg+0x572/0xb20 [ 45.722734] genl_rcv_msg+0xaf/0x140 [ 45.726425] netlink_rcv_skb+0x125/0x390 [ 45.730461] genl_rcv+0x24/0x40 [ 45.733717] netlink_unicast+0x437/0x610 [ 45.737756] netlink_sendmsg+0x648/0xbc0 [ 45.741792] sock_sendmsg+0xb5/0x100 [ 45.745490] ___sys_sendmsg+0x6c8/0x800 [ 45.749449] __sys_sendmsg+0xa3/0x120 [ 45.753223] SyS_sendmsg+0x27/0x40 [ 45.756745] do_syscall_64+0x1d5/0x640 [ 45.760610] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 45.765774] [ 45.767380] The buggy address belongs to the object at ffff8880b4b9d580 [ 45.767380] which belongs to the cache kmalloc-512 of size 512 [ 45.780014] The buggy address is located 216 bytes inside of [ 45.780014] 512-byte region [ffff8880b4b9d580, ffff8880b4b9d780) [ 45.791863] The buggy address belongs to the page: [ 45.796771] page:ffffea0002d2e740 count:1 mapcount:0 mapping:ffff8880b4b9d080 index:0x0 [ 45.804889] flags: 0xfff00000000100(slab) [ 45.809014] raw: 00fff00000000100 ffff8880b4b9d080 0000000000000000 0000000100000006 [ 45.816884] raw: ffffea0002aba2e0 ffffea0002aceda0 ffff88813fe74940 0000000000000000 [ 45.824738] page dumped because: kasan: bad access detected [ 45.830421] [ 45.832030] Memory state around the buggy address: [ 45.836932] ffff8880b4b9d500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.844266] ffff8880b4b9d580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.851606] >ffff8880b4b9d600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.858942] ^ [ 45.865148] ffff8880b4b9d680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.872483] ffff8880b4b9d700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.879817] ================================================================== [ 45.887154] Disabling lock debugging due to kernel taint [ 45.895987] Kernel panic - not syncing: panic_on_warn set ... [ 45.895987] [ 45.903358] CPU: 0 PID: 8666 Comm: syz-executor464 Tainted: G B 4.14.294-syzkaller #0 [ 45.912441] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 45.921786] Call Trace: [ 45.924360] dump_stack+0x1b2/0x281 [ 45.927965] panic+0x1f9/0x42d [ 45.931131] ? add_taint.cold+0x16/0x16 [ 45.935082] ? ___preempt_schedule+0x16/0x18 [ 45.939469] kasan_end_report+0x43/0x49 [ 45.943422] kasan_report_error.cold+0xa7/0x191 [ 45.948071] ? refcount_dec_not_one+0x9a/0xc0 [ 45.952544] __asan_report_load4_noabort+0x68/0x70 [ 45.957450] ? refcount_dec_not_one+0x9a/0xc0 [ 45.961919] refcount_dec_not_one+0x9a/0xc0 [ 45.966221] refcount_dec_and_mutex_lock+0x1a/0x60 [ 45.971123] nbd_genl_connect+0xce1/0x13e0 [ 45.975333] ? nbd_xmit_timeout+0x500/0x500 [ 45.979632] ? validate_nla+0x192/0x5e0 [ 45.983583] genl_family_rcv_msg+0x572/0xb20 [ 45.987970] ? genl_rcv+0x40/0x40 [ 45.991422] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 45.996961] ? __kmalloc_node_track_caller+0x4c/0x70 [ 46.002038] ? trace_hardirqs_on+0x10/0x10 [ 46.006250] genl_rcv_msg+0xaf/0x140 [ 46.009939] netlink_rcv_skb+0x125/0x390 [ 46.013977] ? genl_family_rcv_msg+0xb20/0xb20 [ 46.018552] ? netlink_ack+0x9a0/0x9a0 [ 46.022416] ? lock_acquire+0x170/0x3f0 [ 46.026364] genl_rcv+0x24/0x40 [ 46.029619] netlink_unicast+0x437/0x610 [ 46.033657] ? netlink_sendskb+0xd0/0xd0 [ 46.037694] ? __check_object_size+0x179/0x230 [ 46.042281] netlink_sendmsg+0x648/0xbc0 [ 46.046323] ? nlmsg_notify+0x1b0/0x1b0 [ 46.050325] ? kernel_recvmsg+0x210/0x210 [ 46.054453] ? security_socket_sendmsg+0x83/0xb0 [ 46.059192] ? nlmsg_notify+0x1b0/0x1b0 [ 46.063144] sock_sendmsg+0xb5/0x100 [ 46.066836] ___sys_sendmsg+0x6c8/0x800 [ 46.070792] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 46.075529] ? netlink_dump+0xb90/0xb90 [ 46.079480] ? nlmsg_notify+0x1b0/0x1b0 [ 46.083442] ? security_socket_recvmsg+0x8b/0xc0 [ 46.088176] ? SyS_recvfrom+0x27f/0x340 [ 46.092125] ? SyS_send+0x40/0x40 [ 46.095553] ? vm_insert_page+0x7c0/0x7c0 [ 46.099675] ? __fdget+0x167/0x1f0 [ 46.103194] ? sockfd_lookup_light+0xb2/0x160 [ 46.107761] __sys_sendmsg+0xa3/0x120 [ 46.111551] ? SyS_shutdown+0x160/0x160 [ 46.115500] ? up_read+0x17/0x30 [ 46.118843] ? __do_page_fault+0x159/0xad0 [ 46.123066] SyS_sendmsg+0x27/0x40 [ 46.126584] ? __sys_sendmsg+0x120/0x120 [ 46.130622] do_syscall_64+0x1d5/0x640 [ 46.134486] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 46.139649] RIP: 0033:0x7ff5f05d8b09 [ 46.143335] RSP: 002b:00007fff1ee33188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 46.151015] RAX: ffffffffffffffda RBX: 000000000000b0c0 RCX: 00007ff5f05d8b09 [ 46.158288] RDX: 0000000024040810 RSI: 0000000020000280 RDI: 0000000000000003 [ 46.165532] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 46.172776] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff1ee331bc [ 46.180021] R13: 431bde82d7b634db R14: 00007fff1ee331d0 R15: 0000000000000000 [ 46.187475] Kernel Offset: disabled [ 46.191085] Rebooting in 86400 seconds..