[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.63' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 36.570627] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. [ 36.583259] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. executing program [ 36.634652] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. [ 36.643593] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. executing program [ 36.693805] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. [ 36.702649] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. executing program [ 36.743560] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. [ 36.752323] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. executing program [ 36.803551] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. [ 36.812828] netlink: 4 bytes leftover after parsing attributes in process `syz-executor972'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.561227] ================================================================== [ 39.568771] BUG: KASAN: use-after-free in ex_handler_refcount+0x18f/0x1c0 [ 39.575690] Write of size 4 at addr ffff8880ac2c4d98 by task systemd-udevd/8533 [ 39.583115] [ 39.584733] CPU: 0 PID: 8533 Comm: systemd-udevd Not tainted 4.19.190-syzkaller #0 [ 39.592456] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.601791] Call Trace: [ 39.604370] dump_stack+0x1fc/0x2ef [ 39.607980] print_address_description.cold+0x54/0x219 [ 39.613241] kasan_report_error.cold+0x8a/0x1b9 [ 39.617890] ? ex_handler_refcount+0x18f/0x1c0 [ 39.622453] __asan_report_store4_noabort+0x88/0x90 [ 39.627450] ? ex_handler_refcount+0x18f/0x1c0 [ 39.632014] ex_handler_refcount+0x18f/0x1c0 [ 39.636400] ? ex_handler_clear_fs+0xb0/0xb0 [ 39.640788] fixup_exception+0x8a/0xd0 [ 39.644657] do_trap+0x61/0x250 [ 39.647921] do_error_trap+0x15d/0x310 [ 39.651792] ? math_error+0x310/0x310 [ 39.655574] ? __noinstr_text_end+0x2446/0x77e7 [ 39.660228] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.665103] invalid_op+0x14/0x20 [ 39.668555] RIP: 0010:__noinstr_text_end+0x2446/0x77e7 [ 39.673810] Code: 0f 0b 48 8d 4b 50 0f 0b 48 8d 4b 08 0f 0b 48 8d 4d 08 0f 0b 48 8d 8d 08 02 00 00 0f 0b 48 8d 0b 0f 0b 48 8d 0b 0f 0b 48 8d 0b <0f> 0b 48 8d 4d 00 0f 0b 49 8d 0c 24 0f 0b 48 8d 8b c0 00 00 00 0f [ 39.692742] RSP: 0018:ffff8880aa99fcd8 EFLAGS: 00010296 [ 39.698106] RAX: 0000000000000000 RBX: ffff8880ac2c4d98 RCX: ffff8880ac2c4d98 [ 39.705363] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 39.712611] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7829 [ 39.719860] R10: ffffffff8a5bc14b R11: 0000000000000000 R12: ffffffff8a5bc140 [ 39.727108] R13: 0000000000000000 R14: 1ffff110114ebead R15: dffffc0000000000 [ 39.734379] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 39.739462] nbd_release+0x108/0x170 [ 39.743159] ? nbd_queue_rq+0xe60/0xe60 [ 39.747132] __blkdev_put+0x636/0x870 [ 39.750916] ? fsync_bdev+0xc0/0xc0 [ 39.754522] ? locks_remove_file+0x2cd/0x450 [ 39.758913] ? blkdev_put+0x85/0x520 [ 39.762608] ? blkdev_put+0x520/0x520 [ 39.766390] blkdev_close+0x86/0xb0 [ 39.770060] __fput+0x2ce/0x890 [ 39.773328] task_work_run+0x148/0x1c0 [ 39.777253] exit_to_usermode_loop+0x251/0x2a0 [ 39.781821] do_syscall_64+0x538/0x620 [ 39.785707] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.790888] RIP: 0033:0x7f2b0c33e270 [ 39.794627] Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 [ 39.813509] RSP: 002b:00007ffdf97dddd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 39.821316] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f2b0c33e270 [ 39.828664] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 39.835919] RBP: 00007f2b0d1f8710 R08: 0000559b0952deb0 R09: 0000000000000018 [ 39.843197] R10: 0000559b0952dc98 R11: 0000000000000246 R12: 0000000000000000 [ 39.850460] R13: 0000559b0952c880 R14: 0000000000000003 R15: 000000000000000e [ 39.857715] [ 39.859324] Allocated by task 8508: [ 39.862936] kmem_cache_alloc_trace+0x12f/0x380 [ 39.867588] nbd_dev_add+0x44/0x890 [ 39.871200] nbd_genl_connect+0x4cc/0x1630 [ 39.875516] genl_family_rcv_msg+0x642/0xc40 [ 39.879904] genl_rcv_msg+0xbf/0x160 [ 39.883598] netlink_rcv_skb+0x160/0x440 [ 39.887637] genl_rcv+0x24/0x40 [ 39.890893] netlink_unicast+0x4d5/0x690 [ 39.894937] netlink_sendmsg+0x6bb/0xc40 [ 39.898982] sock_sendmsg+0xc3/0x120 [ 39.902682] ___sys_sendmsg+0x7bb/0x8e0 [ 39.906634] __x64_sys_sendmsg+0x132/0x220 [ 39.910848] do_syscall_64+0xf9/0x620 [ 39.914646] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.919814] [ 39.921420] Freed by task 8529: [ 39.924681] kfree+0xcc/0x210 [ 39.927768] nbd_put.part.0+0xfe/0x140 [ 39.931637] nbd_genl_connect+0x120e/0x1630 [ 39.935942] genl_family_rcv_msg+0x642/0xc40 [ 39.940330] genl_rcv_msg+0xbf/0x160 [ 39.944090] netlink_rcv_skb+0x160/0x440 [ 39.948179] genl_rcv+0x24/0x40 [ 39.951442] netlink_unicast+0x4d5/0x690 [ 39.955496] netlink_sendmsg+0x6bb/0xc40 [ 39.959550] sock_sendmsg+0xc3/0x120 [ 39.963247] ___sys_sendmsg+0x7bb/0x8e0 [ 39.967200] __x64_sys_sendmsg+0x132/0x220 [ 39.971415] do_syscall_64+0xf9/0x620 [ 39.975203] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.980377] [ 39.981986] The buggy address belongs to the object at ffff8880ac2c4cc0 [ 39.981986] which belongs to the cache kmalloc-512 of size 512 [ 39.994624] The buggy address is located 216 bytes inside of [ 39.994624] 512-byte region [ffff8880ac2c4cc0, ffff8880ac2c4ec0) [ 40.006473] The buggy address belongs to the page: [ 40.011398] page:ffffea0002b0b100 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 40.019564] flags: 0xfff00000000100(slab) [ 40.023694] raw: 00fff00000000100 ffffea0002b0a988 ffffea00028be188 ffff88813bff0940 [ 40.031558] raw: 0000000000000000 ffff8880ac2c4040 0000000100000006 0000000000000000 [ 40.039425] page dumped because: kasan: bad access detected [ 40.045115] [ 40.046728] Memory state around the buggy address: [ 40.051639] ffff8880ac2c4c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 40.059000] ffff8880ac2c4d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.066337] >ffff8880ac2c4d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.073672] ^ [ 40.077798] ffff8880ac2c4e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.085136] ffff8880ac2c4e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 40.092471] ================================================================== [ 40.099817] Disabling lock debugging due to kernel taint executing program [ 40.110627] Kernel panic - not syncing: panic_on_warn set ... [ 40.110627] [ 40.118014] CPU: 1 PID: 8533 Comm: systemd-udevd Tainted: G B 4.19.190-syzkaller #0 [ 40.127102] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.136446] Call Trace: [ 40.139018] dump_stack+0x1fc/0x2ef [ 40.142625] panic+0x26a/0x50e [ 40.145795] ? __warn_printk+0xf3/0xf3 [ 40.149660] ? preempt_schedule_common+0x45/0xc0 [ 40.154395] ? ___preempt_schedule+0x16/0x18 [ 40.158832] ? trace_hardirqs_on+0x55/0x210 [ 40.163135] kasan_end_report+0x43/0x49 [ 40.167087] kasan_report_error.cold+0xa7/0x1b9 [ 40.171747] ? ex_handler_refcount+0x18f/0x1c0 [ 40.176311] __asan_report_store4_noabort+0x88/0x90 [ 40.181315] ? ex_handler_refcount+0x18f/0x1c0 [ 40.185879] ex_handler_refcount+0x18f/0x1c0 [ 40.190265] ? ex_handler_clear_fs+0xb0/0xb0 [ 40.194651] fixup_exception+0x8a/0xd0 [ 40.198517] do_trap+0x61/0x250 [ 40.201775] do_error_trap+0x15d/0x310 [ 40.205640] ? math_error+0x310/0x310 [ 40.209420] ? __noinstr_text_end+0x2446/0x77e7 [ 40.214068] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.218894] invalid_op+0x14/0x20 [ 40.222326] RIP: 0010:__noinstr_text_end+0x2446/0x77e7 [ 40.227579] Code: 0f 0b 48 8d 4b 50 0f 0b 48 8d 4b 08 0f 0b 48 8d 4d 08 0f 0b 48 8d 8d 08 02 00 00 0f 0b 48 8d 0b 0f 0b 48 8d 0b 0f 0b 48 8d 0b <0f> 0b 48 8d 4d 00 0f 0b 49 8d 0c 24 0f 0b 48 8d 8b c0 00 00 00 0f [ 40.246457] RSP: 0018:ffff8880aa99fcd8 EFLAGS: 00010296 [ 40.251795] RAX: 0000000000000000 RBX: ffff8880ac2c4d98 RCX: ffff8880ac2c4d98 [ 40.259046] RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000001 [ 40.266291] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff14b7829 [ 40.273547] R10: ffffffff8a5bc14b R11: 0000000000000000 R12: ffffffff8a5bc140 [ 40.280794] R13: 0000000000000000 R14: 1ffff110114ebead R15: dffffc0000000000 [ 40.288057] ? refcount_dec_and_mutex_lock+0x4a/0x80 [ 40.293145] nbd_release+0x108/0x170 [ 40.296836] ? nbd_queue_rq+0xe60/0xe60 [ 40.300845] __blkdev_put+0x636/0x870 [ 40.304638] ? fsync_bdev+0xc0/0xc0 [ 40.308288] ? locks_remove_file+0x2cd/0x450 [ 40.312689] ? blkdev_put+0x85/0x520 [ 40.316384] ? blkdev_put+0x520/0x520 [ 40.320167] blkdev_close+0x86/0xb0 [ 40.323827] __fput+0x2ce/0x890 [ 40.327090] task_work_run+0x148/0x1c0 [ 40.330976] exit_to_usermode_loop+0x251/0x2a0 [ 40.335539] do_syscall_64+0x538/0x620 [ 40.339525] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.344692] RIP: 0033:0x7f2b0c33e270 [ 40.348382] Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 [ 40.367262] RSP: 002b:00007ffdf97dddd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 40.374947] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f2b0c33e270 [ 40.382204] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 40.389470] RBP: 00007f2b0d1f8710 R08: 0000559b0952deb0 R09: 0000000000000018 [ 40.396719] R10: 0000559b0952dc98 R11: 0000000000000246 R12: 0000000000000000 [ 40.404052] R13: 0000559b0952c880 R14: 0000000000000003 R15: 000000000000000e [ 40.411921] Kernel Offset: disabled [ 40.415531] Rebooting in 86400 seconds..