Warning: Permanently added '10.128.0.249' (ECDSA) to the list of known hosts. executing program [ 39.370259] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program [ 39.440034] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.487911] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.537411] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.588626] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.636535] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.676836] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.717872] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.777491] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 39.827001] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 44.400146] nla_parse: 114 callbacks suppressed [ 44.400156] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.461263] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.508516] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.560690] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.618174] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.679258] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.731013] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.790000] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.851887] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 44.907921] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 49.429135] nla_parse: 108 callbacks suppressed [ 49.429143] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.489649] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.546841] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.598534] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program [ 49.648427] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. [ 49.668992] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.767524] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.827610] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program [ 49.875277] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program [ 49.935304] netlink: 4 bytes leftover after parsing attributes in process `syz-executor400'. executing program executing program [ 50.119755] ================================================================== [ 50.127195] BUG: KASAN: use-after-free in refcount_dec_not_one+0x71/0x1d0 [ 50.134111] Read of size 4 at addr ffff88809b9d7d58 by task syz-executor400/10077 [ 50.141717] [ 50.143342] CPU: 0 PID: 10077 Comm: syz-executor400 Not tainted 4.19.211-syzkaller #0 [ 50.151292] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.160630] Call Trace: [ 50.163206] dump_stack+0x1fc/0x2ef [ 50.166824] print_address_description.cold+0x54/0x219 [ 50.172101] kasan_report_error.cold+0x8a/0x1b9 [ 50.176753] ? refcount_dec_not_one+0x71/0x1d0 [ 50.181580] kasan_report+0x8f/0xa0 [ 50.185199] ? refcount_dec_not_one+0x71/0x1d0 [ 50.189770] refcount_dec_not_one+0x71/0x1d0 [ 50.194160] ? refcount_dec_and_test_checked+0x20/0x20 [ 50.199433] ? nbd_config_put+0x5da/0x870 [ 50.203570] refcount_dec_and_mutex_lock+0x1c/0x80 [ 50.208495] nbd_genl_connect+0x11ee/0x1630 [ 50.212831] ? nbd_xmit_timeout+0x730/0x730 [ 50.217169] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 50.222342] ? validate_nla+0x270/0x820 [ 50.226316] ? nla_parse+0x1b2/0x290 [ 50.230017] genl_family_rcv_msg+0x642/0xc40 [ 50.234444] ? genl_rcv+0x40/0x40 [ 50.237884] ? genl_rcv_msg+0x12f/0x160 [ 50.241848] ? mutex_trylock+0x1a0/0x1a0 [ 50.245900] ? __radix_tree_lookup+0x216/0x370 [ 50.250465] genl_rcv_msg+0xbf/0x160 [ 50.254172] netlink_rcv_skb+0x160/0x440 [ 50.258342] ? genl_family_rcv_msg+0xc40/0xc40 [ 50.262916] ? netlink_ack+0xae0/0xae0 [ 50.266789] ? genl_rcv+0x15/0x40 [ 50.270233] genl_rcv+0x24/0x40 [ 50.273499] netlink_unicast+0x4d5/0x690 [ 50.277549] ? netlink_sendskb+0x110/0x110 [ 50.281775] ? _copy_from_iter_full+0x229/0x7c0 [ 50.286424] ? __phys_addr_symbol+0x2c/0x70 [ 50.290726] ? __check_object_size+0x17b/0x3e0 [ 50.295383] netlink_sendmsg+0x6c3/0xc50 [ 50.299466] ? aa_af_perm+0x230/0x230 [ 50.303248] ? nlmsg_notify+0x1f0/0x1f0 [ 50.307200] ? kernel_recvmsg+0x220/0x220 [ 50.311331] ? nlmsg_notify+0x1f0/0x1f0 [ 50.315287] sock_sendmsg+0xc3/0x120 [ 50.318985] ___sys_sendmsg+0x7bb/0x8e0 [ 50.322941] ? copy_msghdr_from_user+0x440/0x440 [ 50.327678] ? netlink_dump+0xc10/0xc10 [ 50.331646] ? nlmsg_notify+0x1f0/0x1f0 [ 50.335613] ? security_socket_recvmsg+0x8f/0xc0 [ 50.340435] ? __sys_recvfrom+0x2cd/0x3a0 [ 50.344562] ? __ia32_sys_send+0x100/0x100 [ 50.348780] ? __fdget+0x1a0/0x230 [ 50.352302] __x64_sys_sendmsg+0x132/0x220 [ 50.356533] ? __sys_sendmsg+0x1b0/0x1b0 [ 50.360581] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.365933] ? trace_hardirqs_off_caller+0x6e/0x210 [ 50.370932] ? do_syscall_64+0x21/0x620 [ 50.374895] do_syscall_64+0xf9/0x620 [ 50.378690] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.383857] RIP: 0033:0x7fb162eb38f9 [ 50.387576] 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 c0 ff ff ff f7 d8 64 89 01 48 [ 50.406457] RSP: 002b:00007ffc5ed53c48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 50.414143] RAX: ffffffffffffffda RBX: 000000000000c377 RCX: 00007fb162eb38f9 [ 50.421394] RDX: 0000000000000094 RSI: 0000000020000100 RDI: 0000000000000003 [ 50.428647] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffc5ed53de8 [ 50.435920] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5ed53c5c [ 50.443202] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 [ 50.450475] [ 50.452089] Allocated by task 10074: [ 50.455814] kmem_cache_alloc_trace+0x12f/0x380 [ 50.460477] nbd_dev_add+0x44/0x890 [ 50.464168] nbd_genl_connect+0x4cc/0x1630 [ 50.468416] genl_family_rcv_msg+0x642/0xc40 [ 50.472808] genl_rcv_msg+0xbf/0x160 [ 50.476521] netlink_rcv_skb+0x160/0x440 [ 50.480567] genl_rcv+0x24/0x40 [ 50.484012] netlink_unicast+0x4d5/0x690 [ 50.488053] netlink_sendmsg+0x6c3/0xc50 [ 50.492102] sock_sendmsg+0xc3/0x120 [ 50.495802] ___sys_sendmsg+0x7bb/0x8e0 [ 50.499762] __x64_sys_sendmsg+0x132/0x220 [ 50.504846] do_syscall_64+0xf9/0x620 [ 50.508647] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.513810] [ 50.515430] Freed by task 10077: [ 50.518784] kfree+0xcc/0x210 [ 50.521873] nbd_put.part.0+0xfe/0x140 [ 50.525739] nbd_config_put+0x6a0/0x870 [ 50.529695] nbd_genl_connect+0x11bb/0x1630 [ 50.533998] genl_family_rcv_msg+0x642/0xc40 [ 50.538388] genl_rcv_msg+0xbf/0x160 [ 50.542079] netlink_rcv_skb+0x160/0x440 [ 50.546116] genl_rcv+0x24/0x40 [ 50.549374] netlink_unicast+0x4d5/0x690 [ 50.553410] netlink_sendmsg+0x6c3/0xc50 [ 50.557451] sock_sendmsg+0xc3/0x120 [ 50.561142] ___sys_sendmsg+0x7bb/0x8e0 [ 50.565095] __x64_sys_sendmsg+0x132/0x220 [ 50.569307] do_syscall_64+0xf9/0x620 [ 50.573086] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.578246] [ 50.579862] The buggy address belongs to the object at ffff88809b9d7c80 [ 50.579862] which belongs to the cache kmalloc-512 of size 512 [ 50.592514] The buggy address is located 216 bytes inside of [ 50.592514] 512-byte region [ffff88809b9d7c80, ffff88809b9d7e80) [ 50.604644] The buggy address belongs to the page: [ 50.609565] page:ffffea00026e75c0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 50.617701] flags: 0xfff00000000100(slab) [ 50.621841] raw: 00fff00000000100 ffffea00027f3108 ffffea0002772f48 ffff88813bff0940 [ 50.629854] raw: 0000000000000000 ffff88809b9d7000 0000000100000006 0000000000000000 [ 50.637726] page dumped because: kasan: bad access detected [ 50.643427] [ 50.645036] Memory state around the buggy address: [ 50.650041] ffff88809b9d7c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.657385] ffff88809b9d7c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.664728] >ffff88809b9d7d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.672067] ^ [ 50.678277] ffff88809b9d7d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.685625] ffff88809b9d7e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.692976] ================================================================== [ 50.700437] Disabling lock debugging due to kernel taint [ 50.710092] Kernel panic - not syncing: panic_on_warn set ... [ 50.710092] [ 50.717484] CPU: 1 PID: 10077 Comm: syz-executor400 Tainted: G B 4.19.211-syzkaller #0 [ 50.726839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.736189] Call Trace: [ 50.738792] dump_stack+0x1fc/0x2ef [ 50.742434] panic+0x26a/0x50e [ 50.745955] ? __warn_printk+0xf3/0xf3 [ 50.749892] ? preempt_schedule_common+0x45/0xc0 [ 50.754643] ? ___preempt_schedule+0x16/0x18 [ 50.759042] ? trace_hardirqs_on+0x55/0x210 [ 50.763350] kasan_end_report+0x43/0x49 [ 50.767313] kasan_report_error.cold+0xa7/0x1b9 [ 50.771966] ? refcount_dec_not_one+0x71/0x1d0 [ 50.776525] kasan_report+0x8f/0xa0 [ 50.781013] ? refcount_dec_not_one+0x71/0x1d0 [ 50.785580] refcount_dec_not_one+0x71/0x1d0 [ 50.789968] ? refcount_dec_and_test_checked+0x20/0x20 [ 50.795574] ? nbd_config_put+0x5da/0x870 [ 50.799702] refcount_dec_and_mutex_lock+0x1c/0x80 [ 50.804607] nbd_genl_connect+0x11ee/0x1630 [ 50.808908] ? nbd_xmit_timeout+0x730/0x730 [ 50.813207] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 50.818388] ? validate_nla+0x270/0x820 [ 50.822346] ? nla_parse+0x1b2/0x290 [ 50.826048] genl_family_rcv_msg+0x642/0xc40 [ 50.830439] ? genl_rcv+0x40/0x40 [ 50.835025] ? genl_rcv_msg+0x12f/0x160 [ 50.838988] ? mutex_trylock+0x1a0/0x1a0 [ 50.843044] ? __radix_tree_lookup+0x216/0x370 [ 50.847612] genl_rcv_msg+0xbf/0x160 [ 50.851307] netlink_rcv_skb+0x160/0x440 [ 50.855349] ? genl_family_rcv_msg+0xc40/0xc40 [ 50.859909] ? netlink_ack+0xae0/0xae0 [ 50.863773] ? genl_rcv+0x15/0x40 [ 50.867291] genl_rcv+0x24/0x40 [ 50.870687] netlink_unicast+0x4d5/0x690 [ 50.875683] ? netlink_sendskb+0x110/0x110 [ 50.879901] ? _copy_from_iter_full+0x229/0x7c0 [ 50.884549] ? __phys_addr_symbol+0x2c/0x70 [ 50.888861] ? __check_object_size+0x17b/0x3e0 [ 50.893450] netlink_sendmsg+0x6c3/0xc50 [ 50.897538] ? aa_af_perm+0x230/0x230 [ 50.901321] ? nlmsg_notify+0x1f0/0x1f0 [ 50.905272] ? kernel_recvmsg+0x220/0x220 [ 50.909410] ? nlmsg_notify+0x1f0/0x1f0 [ 50.913371] sock_sendmsg+0xc3/0x120 [ 50.917077] ___sys_sendmsg+0x7bb/0x8e0 [ 50.921032] ? copy_msghdr_from_user+0x440/0x440 [ 50.925766] ? netlink_dump+0xc10/0xc10 [ 50.929718] ? nlmsg_notify+0x1f0/0x1f0 [ 50.933681] ? security_socket_recvmsg+0x8f/0xc0 [ 50.938413] ? __sys_recvfrom+0x2cd/0x3a0 [ 50.942537] ? __ia32_sys_send+0x100/0x100 [ 50.946751] ? __fdget+0x1a0/0x230 [ 50.950274] __x64_sys_sendmsg+0x132/0x220 [ 50.954484] ? __sys_sendmsg+0x1b0/0x1b0 [ 50.958528] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.963908] ? trace_hardirqs_off_caller+0x6e/0x210 [ 50.968915] ? do_syscall_64+0x21/0x620 [ 50.972878] do_syscall_64+0xf9/0x620 [ 50.976658] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.981826] RIP: 0033:0x7fb162eb38f9 [ 50.985534] 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 c0 ff ff ff f7 d8 64 89 01 48 [ 51.004410] RSP: 002b:00007ffc5ed53c48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 51.012094] RAX: ffffffffffffffda RBX: 000000000000c377 RCX: 00007fb162eb38f9 [ 51.019427] RDX: 0000000000000094 RSI: 0000000020000100 RDI: 0000000000000003 [ 51.026768] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffc5ed53de8 [ 51.034101] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5ed53c5c [ 51.041345] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 [ 51.048876] Kernel Offset: disabled [ 51.052483] Rebooting in 86400 seconds..