[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.4' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 34.389053] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.398599] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.408212] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.416875] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program [ 34.480237] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.489743] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.499085] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.508244] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program [ 34.558825] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 34.568779] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.432737] nla_parse: 474 callbacks suppressed [ 39.432746] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.449172] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.458016] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.467048] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program [ 39.512854] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.523112] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.537459] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.546839] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program executing program [ 39.608115] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. [ 39.617546] netlink: 4 bytes leftover after parsing attributes in process `syz-executor185'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.164656] ================================================================== [ 42.172268] BUG: KASAN: use-after-free in refcount_dec_not_one+0x71/0x1d0 [ 42.179865] Read of size 4 at addr ffff8880a4a50dd8 by task syz-executor185/9493 [ 42.187403] [ 42.189184] CPU: 1 PID: 9493 Comm: syz-executor185 Not tainted 4.19.211-syzkaller #0 [ 42.197050] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 42.206407] Call Trace: [ 42.208996] dump_stack+0x1fc/0x2ef [ 42.212882] print_address_description.cold+0x54/0x219 [ 42.218160] kasan_report_error.cold+0x8a/0x1b9 [ 42.222863] ? refcount_dec_not_one+0x71/0x1d0 [ 42.227431] kasan_report+0x8f/0xa0 [ 42.231049] ? refcount_dec_not_one+0x71/0x1d0 [ 42.235644] refcount_dec_not_one+0x71/0x1d0 [ 42.240061] ? refcount_dec_and_test_checked+0x20/0x20 [ 42.245364] ? nbd_config_put+0x5da/0x870 [ 42.249508] refcount_dec_and_mutex_lock+0x1c/0x80 [ 42.254427] nbd_genl_connect+0x11ee/0x1630 [ 42.258743] ? nbd_xmit_timeout+0x730/0x730 [ 42.263063] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 42.268247] ? validate_nla+0x270/0x820 [ 42.272210] ? nla_parse+0x1b2/0x290 [ 42.275922] genl_family_rcv_msg+0x642/0xc40 [ 42.280319] ? genl_rcv+0x40/0x40 [ 42.283759] ? genl_rcv_msg+0x12f/0x160 [ 42.287726] ? mutex_trylock+0x1a0/0x1a0 [ 42.291792] ? __radix_tree_lookup+0x216/0x370 [ 42.296375] genl_rcv_msg+0xbf/0x160 [ 42.300086] netlink_rcv_skb+0x160/0x440 [ 42.304139] ? genl_family_rcv_msg+0xc40/0xc40 [ 42.308714] ? netlink_ack+0xae0/0xae0 [ 42.312596] ? genl_rcv+0x15/0x40 [ 42.316039] genl_rcv+0x24/0x40 [ 42.319313] netlink_unicast+0x4d5/0x690 [ 42.323398] ? netlink_sendskb+0x110/0x110 [ 42.327649] ? _copy_from_iter_full+0x229/0x7c0 [ 42.332312] ? __phys_addr_symbol+0x2c/0x70 [ 42.336628] ? __check_object_size+0x17b/0x3e0 [ 42.341232] netlink_sendmsg+0x6c3/0xc50 [ 42.345312] ? aa_af_perm+0x230/0x230 [ 42.349110] ? nlmsg_notify+0x1f0/0x1f0 [ 42.353080] ? kernel_recvmsg+0x220/0x220 [ 42.357217] ? nlmsg_notify+0x1f0/0x1f0 [ 42.361179] sock_sendmsg+0xc3/0x120 [ 42.364902] ___sys_sendmsg+0x7bb/0x8e0 [ 42.368862] ? copy_msghdr_from_user+0x440/0x440 [ 42.373622] ? netlink_dump+0xc10/0xc10 [ 42.377676] ? nlmsg_notify+0x1f0/0x1f0 [ 42.381668] ? security_socket_recvmsg+0x8f/0xc0 [ 42.386449] ? __sys_recvfrom+0x2cd/0x3a0 [ 42.390596] ? __ia32_sys_send+0x100/0x100 [ 42.394836] ? __fdget+0x1a0/0x230 [ 42.398391] __x64_sys_sendmsg+0x132/0x220 [ 42.402620] ? __sys_sendmsg+0x1b0/0x1b0 [ 42.406700] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.412054] ? trace_hardirqs_off_caller+0x6e/0x210 [ 42.417067] ? do_syscall_64+0x21/0x620 [ 42.421038] do_syscall_64+0xf9/0x620 [ 42.424840] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.430024] RIP: 0033:0x7fc16e720a99 [ 42.433731] 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 [ 42.452628] RSP: 002b:00007ffd336f8b48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 42.460413] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fc16e720a99 [ 42.467670] RDX: 0000000000004080 RSI: 0000000020000280 RDI: 0000000000000003 [ 42.474927] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 42.482181] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000a317 [ 42.489442] R13: 00007ffd336f8b5c R14: 00007ffd336f8b70 R15: 00007ffd336f8b60 [ 42.496715] [ 42.498336] Allocated by task 9486: [ 42.501957] kmem_cache_alloc_trace+0x12f/0x380 [ 42.506699] nbd_dev_add+0x44/0x890 [ 42.510307] nbd_genl_connect+0x4cc/0x1630 [ 42.514527] genl_family_rcv_msg+0x642/0xc40 [ 42.518914] genl_rcv_msg+0xbf/0x160 [ 42.522608] netlink_rcv_skb+0x160/0x440 [ 42.526656] genl_rcv+0x24/0x40 [ 42.529916] netlink_unicast+0x4d5/0x690 [ 42.533960] netlink_sendmsg+0x6c3/0xc50 [ 42.538022] sock_sendmsg+0xc3/0x120 [ 42.541736] ___sys_sendmsg+0x7bb/0x8e0 [ 42.545696] __x64_sys_sendmsg+0x132/0x220 [ 42.549939] do_syscall_64+0xf9/0x620 [ 42.553730] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.558898] [ 42.560519] Freed by task 9493: [ 42.563783] kfree+0xcc/0x210 [ 42.566872] nbd_put.part.0+0xfe/0x140 [ 42.570742] nbd_config_put+0x6a0/0x870 [ 42.574712] nbd_genl_connect+0x11bb/0x1630 [ 42.579019] genl_family_rcv_msg+0x642/0xc40 [ 42.583411] genl_rcv_msg+0xbf/0x160 [ 42.587109] netlink_rcv_skb+0x160/0x440 [ 42.591151] genl_rcv+0x24/0x40 [ 42.594412] netlink_unicast+0x4d5/0x690 [ 42.598454] netlink_sendmsg+0x6c3/0xc50 [ 42.602501] sock_sendmsg+0xc3/0x120 [ 42.606196] ___sys_sendmsg+0x7bb/0x8e0 [ 42.610153] __x64_sys_sendmsg+0x132/0x220 [ 42.614376] do_syscall_64+0xf9/0x620 [ 42.618164] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.623329] [ 42.624959] The buggy address belongs to the object at ffff8880a4a50d00 [ 42.624959] which belongs to the cache kmalloc-512 of size 512 [ 42.637614] The buggy address is located 216 bytes inside of [ 42.637614] 512-byte region [ffff8880a4a50d00, ffff8880a4a50f00) [ 42.649478] The buggy address belongs to the page: [ 42.654435] page:ffffea0002929400 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 42.662570] flags: 0xfff00000000100(slab) [ 42.666715] raw: 00fff00000000100 ffffea0002aab108 ffffea0002a74188 ffff88813bff0940 [ 42.674790] raw: 0000000000000000 ffff8880a4a50080 0000000100000006 0000000000000000 [ 42.682656] page dumped because: kasan: bad access detected [ 42.688351] [ 42.689965] Memory state around the buggy address: [ 42.694898] ffff8880a4a50c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.702253] ffff8880a4a50d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.709626] >ffff8880a4a50d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.716978] ^ [ 42.723201] ffff8880a4a50e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.730665] ffff8880a4a50e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.738380] ================================================================== [ 42.745760] Disabling lock debugging due to kernel taint [ 42.752267] Kernel panic - not syncing: panic_on_warn set ... [ 42.752267] [ 42.759681] CPU: 1 PID: 9493 Comm: syz-executor185 Tainted: G B 4.19.211-syzkaller #0 [ 42.768947] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 42.778311] Call Trace: [ 42.780928] dump_stack+0x1fc/0x2ef [ 42.784564] panic+0x26a/0x50e [ 42.787764] ? __warn_printk+0xf3/0xf3 [ 42.791660] ? preempt_schedule_common+0x45/0xc0 [ 42.796434] ? ___preempt_schedule+0x16/0x18 [ 42.800829] ? trace_hardirqs_on+0x55/0x210 [ 42.805242] kasan_end_report+0x43/0x49 [ 42.809218] kasan_report_error.cold+0xa7/0x1b9 [ 42.813881] ? refcount_dec_not_one+0x71/0x1d0 [ 42.818448] kasan_report+0x8f/0xa0 [ 42.822085] ? refcount_dec_not_one+0x71/0x1d0 [ 42.826671] refcount_dec_not_one+0x71/0x1d0 [ 42.831066] ? refcount_dec_and_test_checked+0x20/0x20 [ 42.836380] ? nbd_config_put+0x5da/0x870 [ 42.840685] refcount_dec_and_mutex_lock+0x1c/0x80 [ 42.845750] nbd_genl_connect+0x11ee/0x1630 [ 42.850095] ? nbd_xmit_timeout+0x730/0x730 [ 42.854416] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 42.859617] ? validate_nla+0x270/0x820 [ 42.863605] ? nla_parse+0x1b2/0x290 [ 42.867410] genl_family_rcv_msg+0x642/0xc40 [ 42.871809] ? genl_rcv+0x40/0x40 [ 42.875249] ? genl_rcv_msg+0x12f/0x160 [ 42.879296] ? mutex_trylock+0x1a0/0x1a0 [ 42.883355] ? __radix_tree_lookup+0x216/0x370 [ 42.887926] genl_rcv_msg+0xbf/0x160 [ 42.891971] netlink_rcv_skb+0x160/0x440 [ 42.896041] ? genl_family_rcv_msg+0xc40/0xc40 [ 42.900724] ? netlink_ack+0xae0/0xae0 [ 42.904608] ? genl_rcv+0x15/0x40 [ 42.908099] genl_rcv+0x24/0x40 [ 42.911364] netlink_unicast+0x4d5/0x690 [ 42.915428] ? netlink_sendskb+0x110/0x110 [ 42.919648] ? _copy_from_iter_full+0x229/0x7c0 [ 42.924405] ? __phys_addr_symbol+0x2c/0x70 [ 42.928731] ? __check_object_size+0x17b/0x3e0 [ 42.933314] netlink_sendmsg+0x6c3/0xc50 [ 42.937368] ? aa_af_perm+0x230/0x230 [ 42.941171] ? nlmsg_notify+0x1f0/0x1f0 [ 42.945204] ? kernel_recvmsg+0x220/0x220 [ 42.949353] ? nlmsg_notify+0x1f0/0x1f0 [ 42.953319] sock_sendmsg+0xc3/0x120 [ 42.957032] ___sys_sendmsg+0x7bb/0x8e0 [ 42.961034] ? copy_msghdr_from_user+0x440/0x440 [ 42.965777] ? netlink_dump+0xc10/0xc10 [ 42.969745] ? nlmsg_notify+0x1f0/0x1f0 [ 42.973712] ? security_socket_recvmsg+0x8f/0xc0 [ 42.978457] ? __sys_recvfrom+0x2cd/0x3a0 [ 42.982591] ? __ia32_sys_send+0x100/0x100 [ 42.986826] ? __fdget+0x1a0/0x230 [ 42.990378] __x64_sys_sendmsg+0x132/0x220 [ 42.994608] ? __sys_sendmsg+0x1b0/0x1b0 [ 42.998765] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 43.004115] ? trace_hardirqs_off_caller+0x6e/0x210 [ 43.009144] ? do_syscall_64+0x21/0x620 [ 43.013103] do_syscall_64+0xf9/0x620 [ 43.016892] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.022069] RIP: 0033:0x7fc16e720a99 [ 43.025762] 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 [ 43.044646] RSP: 002b:00007ffd336f8b48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 43.052338] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fc16e720a99 [ 43.059589] RDX: 0000000000004080 RSI: 0000000020000280 RDI: 0000000000000003 [ 43.066838] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 43.074089] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000a317 [ 43.081341] R13: 00007ffd336f8b5c R14: 00007ffd336f8b70 R15: 00007ffd336f8b60 [ 43.088680] Kernel Offset: disabled [ 43.092298] Rebooting in 86400 seconds..