Warning: Permanently added '10.128.1.33' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 45.757579] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 45.816409] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 45.865389] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 45.915655] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 45.955915] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 46.004924] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program [ 46.056403] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. [ 46.095348] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 46.145025] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program [ 46.195533] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 50.780831] nla_parse: 106 callbacks suppressed [ 50.780839] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 50.852284] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 50.910738] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 50.960667] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program [ 51.031427] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. [ 51.088973] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program [ 51.145816] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 51.199834] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 51.255902] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 51.308462] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.820289] nla_parse: 106 callbacks suppressed [ 55.820298] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. executing program [ 55.889108] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. [ 55.907737] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. [ 55.950116] netlink: 4 bytes leftover after parsing attributes in process `syz-executor945'. [ 55.999499] ================================================================== [ 56.007132] BUG: KASAN: use-after-free in refcount_dec_not_one+0x71/0x1d0 [ 56.014188] Read of size 4 at addr ffff8880905f5698 by task syz-executor945/9713 [ 56.021813] [ 56.023609] CPU: 1 PID: 9713 Comm: syz-executor945 Not tainted 4.19.190-syzkaller #0 [ 56.031513] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.040849] Call Trace: [ 56.043427] dump_stack+0x1fc/0x2ef [ 56.047042] print_address_description.cold+0x54/0x219 [ 56.052389] kasan_report_error.cold+0x8a/0x1b9 [ 56.057046] ? refcount_dec_not_one+0x71/0x1d0 [ 56.061636] kasan_report+0x8f/0xa0 [ 56.065250] ? refcount_dec_not_one+0x71/0x1d0 [ 56.069817] refcount_dec_not_one+0x71/0x1d0 [ 56.074211] ? refcount_dec_and_test_checked+0x20/0x20 [ 56.079473] ? nbd_config_put+0x5da/0x870 [ 56.083607] refcount_dec_and_mutex_lock+0x1c/0x80 [ 56.088531] nbd_genl_connect+0x11ee/0x1630 [ 56.092839] ? nbd_xmit_timeout+0x730/0x730 [ 56.097231] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 56.102408] ? validate_nla+0x270/0x820 [ 56.106369] ? nla_parse+0x1b2/0x290 [ 56.110083] genl_family_rcv_msg+0x642/0xc40 [ 56.114477] ? genl_rcv+0x40/0x40 [ 56.117910] ? genl_rcv_msg+0x12f/0x160 [ 56.121866] ? __mutex_add_waiter+0x160/0x160 [ 56.126414] ? __radix_tree_lookup+0x216/0x370 [ 56.130987] genl_rcv_msg+0xbf/0x160 [ 56.134683] netlink_rcv_skb+0x160/0x440 [ 56.138724] ? genl_family_rcv_msg+0xc40/0xc40 [ 56.143292] ? netlink_ack+0xae0/0xae0 [ 56.147161] ? genl_rcv+0x15/0x40 [ 56.150598] genl_rcv+0x24/0x40 [ 56.153949] netlink_unicast+0x4d5/0x690 [ 56.157993] ? netlink_sendskb+0x110/0x110 [ 56.162226] ? _copy_from_iter_full+0x229/0x7c0 [ 56.166877] ? __phys_addr_symbol+0x2c/0x70 [ 56.171181] ? __check_object_size+0x17b/0x3e0 [ 56.175745] netlink_sendmsg+0x6bb/0xc40 [ 56.179808] ? aa_af_perm+0x230/0x230 [ 56.183610] ? nlmsg_notify+0x1a0/0x1a0 [ 56.187564] ? kernel_recvmsg+0x220/0x220 [ 56.191710] ? nlmsg_notify+0x1a0/0x1a0 [ 56.195668] sock_sendmsg+0xc3/0x120 [ 56.199361] ___sys_sendmsg+0x7bb/0x8e0 [ 56.203323] ? copy_msghdr_from_user+0x440/0x440 [ 56.208068] ? netlink_dump+0xc10/0xc10 [ 56.212024] ? nlmsg_notify+0x1a0/0x1a0 [ 56.215984] ? security_socket_recvmsg+0x8f/0xc0 [ 56.220746] ? __sys_recvfrom+0x2cd/0x3a0 [ 56.224873] ? __ia32_sys_send+0x100/0x100 [ 56.229094] ? __fdget+0x1a0/0x230 [ 56.232619] __x64_sys_sendmsg+0x132/0x220 [ 56.236846] ? __sys_sendmsg+0x1b0/0x1b0 [ 56.240899] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 56.246267] ? trace_hardirqs_off_caller+0x6e/0x210 [ 56.251276] ? do_syscall_64+0x21/0x620 [ 56.255238] do_syscall_64+0xf9/0x620 [ 56.259096] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.264383] RIP: 0033:0x441479 [ 56.267571] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c4 ff ff ff f7 d8 64 89 01 48 [ 56.286543] RSP: 002b:00007ffc5250d368 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 56.294350] RAX: ffffffffffffffda RBX: 000000000000da59 RCX: 0000000000441479 [ 56.301679] RDX: 0000000004004010 RSI: 0000000020000400 RDI: 0000000000000004 [ 56.308998] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 56.316265] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5250d39c [ 56.323524] R13: 431bde82d7b634db R14: 00007ffc5250d3b0 R15: 00000000004004a0 [ 56.330790] [ 56.332487] Allocated by task 9707: [ 56.336098] kmem_cache_alloc_trace+0x12f/0x380 [ 56.340769] nbd_dev_add+0x44/0x890 [ 56.344489] nbd_genl_connect+0x4cc/0x1630 [ 56.348706] genl_family_rcv_msg+0x642/0xc40 [ 56.353219] genl_rcv_msg+0xbf/0x160 [ 56.356999] netlink_rcv_skb+0x160/0x440 [ 56.361040] genl_rcv+0x24/0x40 [ 56.364301] netlink_unicast+0x4d5/0x690 [ 56.368700] netlink_sendmsg+0x6bb/0xc40 [ 56.372842] sock_sendmsg+0xc3/0x120 [ 56.376544] ___sys_sendmsg+0x7bb/0x8e0 [ 56.380502] __x64_sys_sendmsg+0x132/0x220 [ 56.384841] do_syscall_64+0xf9/0x620 [ 56.388669] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.393884] [ 56.395540] Freed by task 9713: [ 56.398907] kfree+0xcc/0x210 [ 56.401999] nbd_put.part.0+0xfe/0x140 [ 56.405956] nbd_config_put+0x6a0/0x870 [ 56.410004] nbd_genl_connect+0x11bb/0x1630 [ 56.414331] genl_family_rcv_msg+0x642/0xc40 [ 56.418737] genl_rcv_msg+0xbf/0x160 [ 56.422440] netlink_rcv_skb+0x160/0x440 [ 56.426481] genl_rcv+0x24/0x40 [ 56.429785] netlink_unicast+0x4d5/0x690 [ 56.433868] netlink_sendmsg+0x6bb/0xc40 [ 56.437912] sock_sendmsg+0xc3/0x120 [ 56.441606] ___sys_sendmsg+0x7bb/0x8e0 [ 56.445736] __x64_sys_sendmsg+0x132/0x220 [ 56.449956] do_syscall_64+0xf9/0x620 [ 56.453843] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.459204] [ 56.460817] The buggy address belongs to the object at ffff8880905f55c0 [ 56.460817] which belongs to the cache kmalloc-512 of size 512 [ 56.473458] The buggy address is located 216 bytes inside of [ 56.473458] 512-byte region [ffff8880905f55c0, ffff8880905f57c0) [ 56.485839] The buggy address belongs to the page: [ 56.490779] page:ffffea0002417d40 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 56.498920] flags: 0xfff00000000100(slab) [ 56.503064] raw: 00fff00000000100 ffffea00026f86c8 ffffea000284d748 ffff88813bff0940 [ 56.510941] raw: 0000000000000000 ffff8880905f50c0 0000000100000006 0000000000000000 [ 56.518807] page dumped because: kasan: bad access detected [ 56.524534] [ 56.526150] Memory state around the buggy address: [ 56.531080] ffff8880905f5580: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 56.538429] ffff8880905f5600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.545797] >ffff8880905f5680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.553150] ^ [ 56.557561] ffff8880905f5700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.564918] ffff8880905f5780: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 56.572273] ================================================================== [ 56.580276] Disabling lock debugging due to kernel taint [ 56.587786] Kernel panic - not syncing: panic_on_warn set ... [ 56.587786] [ 56.595900] CPU: 1 PID: 9713 Comm: syz-executor945 Tainted: G B 4.19.190-syzkaller #0 [ 56.605710] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.615262] Call Trace: [ 56.617983] dump_stack+0x1fc/0x2ef [ 56.621802] panic+0x26a/0x50e [ 56.625008] ? __warn_printk+0xf3/0xf3 [ 56.629745] ? preempt_schedule_common+0x45/0xc0 [ 56.635014] ? ___preempt_schedule+0x16/0x18 [ 56.640339] ? trace_hardirqs_on+0x55/0x210 [ 56.646811] kasan_end_report+0x43/0x49 [ 56.651073] kasan_report_error.cold+0xa7/0x1b9 [ 56.656615] ? refcount_dec_not_one+0x71/0x1d0 [ 56.662511] kasan_report+0x8f/0xa0 [ 56.666145] ? refcount_dec_not_one+0x71/0x1d0 [ 56.670864] refcount_dec_not_one+0x71/0x1d0 [ 56.675990] ? refcount_dec_and_test_checked+0x20/0x20 [ 56.681485] ? nbd_config_put+0x5da/0x870 [ 56.685644] refcount_dec_and_mutex_lock+0x1c/0x80 [ 56.690582] nbd_genl_connect+0x11ee/0x1630 [ 56.695084] ? nbd_xmit_timeout+0x730/0x730 [ 56.699394] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 56.704572] ? validate_nla+0x270/0x820 [ 56.708552] ? nla_parse+0x1b2/0x290 [ 56.712269] genl_family_rcv_msg+0x642/0xc40 [ 56.716675] ? genl_rcv+0x40/0x40 [ 56.720130] ? genl_rcv_msg+0x12f/0x160 [ 56.724089] ? __mutex_add_waiter+0x160/0x160 [ 56.728675] ? __radix_tree_lookup+0x216/0x370 [ 56.733760] genl_rcv_msg+0xbf/0x160 [ 56.737582] netlink_rcv_skb+0x160/0x440 [ 56.741637] ? genl_family_rcv_msg+0xc40/0xc40 [ 56.746209] ? netlink_ack+0xae0/0xae0 [ 56.750085] ? genl_rcv+0x15/0x40 [ 56.753546] genl_rcv+0x24/0x40 [ 56.756836] netlink_unicast+0x4d5/0x690 [ 56.761065] ? netlink_sendskb+0x110/0x110 [ 56.765321] ? _copy_from_iter_full+0x229/0x7c0 [ 56.769978] ? __phys_addr_symbol+0x2c/0x70 [ 56.774284] ? __check_object_size+0x17b/0x3e0 [ 56.778864] netlink_sendmsg+0x6bb/0xc40 [ 56.782930] ? aa_af_perm+0x230/0x230 [ 56.786730] ? nlmsg_notify+0x1a0/0x1a0 [ 56.790804] ? kernel_recvmsg+0x220/0x220 [ 56.794963] ? nlmsg_notify+0x1a0/0x1a0 [ 56.798937] sock_sendmsg+0xc3/0x120 [ 56.802647] ___sys_sendmsg+0x7bb/0x8e0 [ 56.806608] ? copy_msghdr_from_user+0x440/0x440 [ 56.811348] ? netlink_dump+0xc10/0xc10 [ 56.815307] ? nlmsg_notify+0x1a0/0x1a0 [ 56.819266] ? security_socket_recvmsg+0x8f/0xc0 [ 56.824024] ? __sys_recvfrom+0x2cd/0x3a0 [ 56.828167] ? __ia32_sys_send+0x100/0x100 [ 56.832397] ? __fdget+0x1a0/0x230 [ 56.835924] __x64_sys_sendmsg+0x132/0x220 [ 56.840324] ? __sys_sendmsg+0x1b0/0x1b0 [ 56.844381] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 56.849777] ? trace_hardirqs_off_caller+0x6e/0x210 [ 56.854824] ? do_syscall_64+0x21/0x620 [ 56.858784] do_syscall_64+0xf9/0x620 [ 56.862579] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.867753] RIP: 0033:0x441479 [ 56.870928] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c4 ff ff ff f7 d8 64 89 01 48 [ 56.890150] RSP: 002b:00007ffc5250d368 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 56.897866] RAX: ffffffffffffffda RBX: 000000000000da59 RCX: 0000000000441479 [ 56.905297] RDX: 0000000004004010 RSI: 0000000020000400 RDI: 0000000000000004 [ 56.912556] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 56.919920] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5250d39c [ 56.927182] R13: 431bde82d7b634db R14: 00007ffc5250d3b0 R15: 00000000004004a0 [ 56.935255] Kernel Offset: disabled [ 56.938889] Rebooting in 86400 seconds..