[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 22.392521] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 23.206882] random: sshd: uninitialized urandom read (32 bytes read) [ 23.649356] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 24.188892] random: sshd: uninitialized urandom read (32 bytes read) [ 155.910624] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.40' (ECDSA) to the list of known hosts. [ 161.425715] random: sshd: uninitialized urandom read (32 bytes read) net.ipv6.conf.syz_tun.accept_dad = 0 [ 161.531442] IPVS: ftp: loaded support on port[0] = 21 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 161.735565] bridge0: port 1(bridge_slave_0) entered blocking state [ 161.742140] bridge0: port 1(bridge_slave_0) entered disabled state [ 161.750149] device bridge_slave_0 entered promiscuous mode [ 161.766590] bridge0: port 2(bridge_slave_1) entered blocking state [ 161.772984] bridge0: port 2(bridge_slave_1) entered disabled state [ 161.780528] device bridge_slave_1 entered promiscuous mode [ 161.796808] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 161.812751] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 161.856418] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 161.875406] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 161.939129] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 161.946746] team0: Port device team_slave_0 added [ 161.962422] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 161.969720] team0: Port device team_slave_1 added [ 161.986588] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 162.005440] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 162.022437] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 162.040691] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 162.157530] bridge0: port 2(bridge_slave_1) entered blocking state [ 162.164078] bridge0: port 2(bridge_slave_1) entered forwarding state [ 162.170911] bridge0: port 1(bridge_slave_0) entered blocking state [ 162.177343] bridge0: port 1(bridge_slave_0) entered forwarding state RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 162.608586] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 162.614812] 8021q: adding VLAN 0 to HW filter on device bond0 [ 162.658454] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 162.702406] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 162.710774] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 162.750960] 8021q: adding VLAN 0 to HW filter on device team0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 226.785285] ================================================================== [ 226.792915] BUG: KASAN: use-after-free in work_is_static_object+0x39/0x40 [ 226.799832] Read of size 8 at addr ffff8801bfb8ebe0 by task kworker/1:2/1876 [ 226.807008] [ 226.808641] CPU: 1 PID: 1876 Comm: kworker/1:2 Not tainted 4.18.0-rc8+ #182 [ 226.815723] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 226.825097] Workqueue: events p9_poll_workfn [ 226.829493] Call Trace: [ 226.832080] dump_stack+0x1c9/0x2b4 [ 226.835701] ? dump_stack_print_info.cold.2+0x52/0x52 [ 226.840944] ? printk+0xa7/0xcf [ 226.844218] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 226.848969] ? work_is_static_object+0x39/0x40 [ 226.853582] print_address_description+0x6c/0x20b [ 226.858519] ? work_is_static_object+0x39/0x40 [ 226.863094] kasan_report.cold.7+0x242/0x2fe [ 226.867495] __asan_report_load8_noabort+0x14/0x20 [ 226.872416] work_is_static_object+0x39/0x40 [ 226.876813] debug_object_activate+0x2fc/0x690 [ 226.881384] ? __wake_up_common+0x740/0x740 [ 226.885702] ? debug_object_assert_init+0x4b0/0x4b0 [ 226.890712] ? mark_held_locks+0xc9/0x160 [ 226.894898] __queue_work+0x1ca/0x1410 [ 226.898794] ? __wake_up+0xe/0x10 [ 226.902263] ? p9_client_cb+0x62/0x80 [ 226.906072] ? flush_rcu_work+0x90/0x90 [ 226.910057] ? p9_fd_cancelled+0x2f0/0x2f0 [ 226.914308] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 226.919508] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 226.925051] ? userfaultfd_poll+0x22b/0x390 [ 226.929389] ? mutex_unlock+0xd/0x10 [ 226.933116] ? rfkill_fop_poll+0x17f/0x1f0 [ 226.937357] ? mark_held_locks+0xc9/0x160 [ 226.941521] queue_work_on+0x19a/0x1e0 [ 226.945414] p9_poll_workfn+0x55e/0x6d0 [ 226.949400] ? p9_read_work+0x1060/0x1060 [ 226.953561] ? graph_lock+0x170/0x170 [ 226.957371] ? lock_acquire+0x1e4/0x540 [ 226.961369] ? process_one_work+0xb9b/0x1ba0 [ 226.965791] ? kasan_check_read+0x11/0x20 [ 226.969948] ? __lock_is_held+0xb5/0x140 [ 226.974032] process_one_work+0xc73/0x1ba0 [ 226.978273] ? trace_hardirqs_on+0x10/0x10 [ 226.982525] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 226.987194] ? lock_repin_lock+0x430/0x430 [ 226.991453] ? __sched_text_start+0x8/0x8 [ 226.995602] ? lock_downgrade+0x8f0/0x8f0 [ 226.999759] ? graph_lock+0x170/0x170 [ 227.003563] ? graph_lock+0x170/0x170 [ 227.007396] ? lock_acquire+0x1e4/0x540 [ 227.011380] ? worker_thread+0x3dc/0x13c0 [ 227.015534] ? lock_downgrade+0x8f0/0x8f0 [ 227.019687] ? lock_release+0xa30/0xa30 [ 227.023671] ? kasan_check_read+0x11/0x20 [ 227.027821] ? do_raw_spin_unlock+0xa7/0x2f0 [ 227.032232] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 227.036822] ? kasan_check_write+0x14/0x20 [ 227.041056] ? do_raw_spin_lock+0xc1/0x200 [ 227.045303] worker_thread+0x189/0x13c0 [ 227.049293] ? process_one_work+0x1ba0/0x1ba0 [ 227.053801] ? graph_lock+0x170/0x170 [ 227.057610] ? graph_lock+0x170/0x170 [ 227.061415] ? find_held_lock+0x36/0x1c0 [ 227.065492] ? find_held_lock+0x36/0x1c0 [ 227.069567] ? lock_downgrade+0x8f0/0x8f0 [ 227.073728] ? kasan_check_read+0x11/0x20 [ 227.077881] ? do_raw_spin_unlock+0xa7/0x2f0 [ 227.082301] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 227.087414] ? __kthread_parkme+0x58/0x1b0 [ 227.091657] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 227.096706] ? trace_hardirqs_on+0xd/0x10 [ 227.100864] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 227.106409] ? __kthread_parkme+0x106/0x1b0 [ 227.110735] kthread+0x345/0x410 [ 227.114110] ? process_one_work+0x1ba0/0x1ba0 [ 227.118605] ? kthread_bind+0x40/0x40 [ 227.122426] ret_from_fork+0x3a/0x50 [ 227.126146] [ 227.127773] Allocated by task 5557: [ 227.131411] save_stack+0x43/0xd0 [ 227.134865] kasan_kmalloc+0xc4/0xe0 [ 227.138586] kmem_cache_alloc_trace+0x152/0x780 [ 227.143255] p9_fd_create+0x1a7/0x3f0 [ 227.147086] p9_client_create+0x8ed/0x1770 [ 227.151323] v9fs_session_init+0x21a/0x1a80 [ 227.155643] v9fs_mount+0x7c/0x900 [ 227.159185] mount_fs+0xae/0x328 [ 227.162554] vfs_kern_mount.part.34+0xdc/0x4e0 [ 227.167134] do_mount+0x581/0x30e0 [ 227.170673] ksys_mount+0x12d/0x140 [ 227.174300] __x64_sys_mount+0xbe/0x150 [ 227.178276] do_syscall_64+0x1b9/0x820 [ 227.182168] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 227.187347] [ 227.188979] Freed by task 5557: [ 227.192264] save_stack+0x43/0xd0 [ 227.195724] __kasan_slab_free+0x11a/0x170 [ 227.199956] kasan_slab_free+0xe/0x10 [ 227.203756] kfree+0xd9/0x260 [ 227.206862] p9_fd_close+0x416/0x5b0 [ 227.210578] p9_client_create+0xa9a/0x1770 [ 227.214813] v9fs_session_init+0x21a/0x1a80 [ 227.219132] v9fs_mount+0x7c/0x900 [ 227.222677] mount_fs+0xae/0x328 [ 227.226047] vfs_kern_mount.part.34+0xdc/0x4e0 [ 227.230654] do_mount+0x581/0x30e0 [ 227.234194] ksys_mount+0x12d/0x140 [ 227.237825] __x64_sys_mount+0xbe/0x150 [ 227.241805] do_syscall_64+0x1b9/0x820 [ 227.245696] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 227.250877] [ 227.252516] The buggy address belongs to the object at ffff8801bfb8eac0 [ 227.252516] which belongs to the cache kmalloc-512 of size 512 [ 227.265176] The buggy address is located 288 bytes inside of [ 227.265176] 512-byte region [ffff8801bfb8eac0, ffff8801bfb8ecc0) [ 227.277051] The buggy address belongs to the page: [ 227.281984] page:ffffea0006fee380 count:1 mapcount:0 mapping:ffff8801dac00940 index:0x0 [ 227.290218] flags: 0x2fffc0000000100(slab) [ 227.294546] raw: 02fffc0000000100 ffffea0006fe2fc8 ffffea0006fee488 ffff8801dac00940 [ 227.302438] raw: 0000000000000000 ffff8801bfb8e0c0 0000000100000006 0000000000000000 [ 227.310316] page dumped because: kasan: bad access detected [ 227.316019] [ 227.317646] Memory state around the buggy address: [ 227.322577] ffff8801bfb8ea80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 227.329940] ffff8801bfb8eb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 227.337301] >ffff8801bfb8eb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 227.345133] ^ [ 227.351626] ffff8801bfb8ec00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 227.358986] ffff8801bfb8ec80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 227.366346] ================================================================== [ 227.373704] Disabling lock debugging due to kernel taint [ 227.379148] Kernel panic - not syncing: panic_on_warn set ... [ 227.379148] [ 227.386518] CPU: 1 PID: 1876 Comm: kworker/1:2 Tainted: G B 4.18.0-rc8+ #182 [ 227.394998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 227.404366] Workqueue: events p9_poll_workfn [ 227.408867] Call Trace: [ 227.411464] dump_stack+0x1c9/0x2b4 [ 227.415097] ? dump_stack_print_info.cold.2+0x52/0x52 [ 227.420293] ? lock_downgrade+0x8f0/0x8f0 [ 227.424448] panic+0x238/0x4e7 [ 227.427657] ? add_taint.cold.5+0x16/0x16 [ 227.431808] ? add_taint.cold.5+0x5/0x16 [ 227.435869] ? do_raw_spin_unlock+0xa7/0x2f0 [ 227.440306] ? work_is_static_object+0x39/0x40 [ 227.444888] kasan_end_report+0x47/0x4f [ 227.448865] kasan_report.cold.7+0x76/0x2fe [ 227.453194] __asan_report_load8_noabort+0x14/0x20 [ 227.458124] work_is_static_object+0x39/0x40 [ 227.462539] debug_object_activate+0x2fc/0x690 [ 227.467130] ? __wake_up_common+0x740/0x740 [ 227.471455] ? debug_object_assert_init+0x4b0/0x4b0 [ 227.476479] ? mark_held_locks+0xc9/0x160 [ 227.480632] __queue_work+0x1ca/0x1410 [ 227.484520] ? __wake_up+0xe/0x10 [ 227.487977] ? p9_client_cb+0x62/0x80 [ 227.491783] ? flush_rcu_work+0x90/0x90 [ 227.495756] ? p9_fd_cancelled+0x2f0/0x2f0 [ 227.500001] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 227.505194] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 227.510732] ? userfaultfd_poll+0x22b/0x390 [ 227.515067] ? mutex_unlock+0xd/0x10 [ 227.518782] ? rfkill_fop_poll+0x17f/0x1f0 [ 227.523017] ? mark_held_locks+0xc9/0x160 [ 227.527176] queue_work_on+0x19a/0x1e0 [ 227.531068] p9_poll_workfn+0x55e/0x6d0 [ 227.535046] ? p9_read_work+0x1060/0x1060 [ 227.539199] ? graph_lock+0x170/0x170 [ 227.543002] ? lock_acquire+0x1e4/0x540 [ 227.546977] ? process_one_work+0xb9b/0x1ba0 [ 227.551392] ? kasan_check_read+0x11/0x20 [ 227.555543] ? __lock_is_held+0xb5/0x140 [ 227.559609] process_one_work+0xc73/0x1ba0 [ 227.563846] ? trace_hardirqs_on+0x10/0x10 [ 227.568085] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 227.572752] ? lock_repin_lock+0x430/0x430 [ 227.577000] ? __sched_text_start+0x8/0x8 [ 227.581148] ? lock_downgrade+0x8f0/0x8f0 [ 227.585294] ? graph_lock+0x170/0x170 [ 227.589094] ? graph_lock+0x170/0x170 [ 227.592905] ? lock_acquire+0x1e4/0x540 [ 227.596885] ? worker_thread+0x3dc/0x13c0 [ 227.601035] ? lock_downgrade+0x8f0/0x8f0 [ 227.605274] ? lock_release+0xa30/0xa30 [ 227.609253] ? kasan_check_read+0x11/0x20 [ 227.613405] ? do_raw_spin_unlock+0xa7/0x2f0 [ 227.617814] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 227.622404] ? kasan_check_write+0x14/0x20 [ 227.626637] ? do_raw_spin_lock+0xc1/0x200 [ 227.630874] worker_thread+0x189/0x13c0 [ 227.634859] ? process_one_work+0x1ba0/0x1ba0 [ 227.639356] ? graph_lock+0x170/0x170 [ 227.643159] ? graph_lock+0x170/0x170 [ 227.646957] ? find_held_lock+0x36/0x1c0 [ 227.651022] ? find_held_lock+0x36/0x1c0 [ 227.655091] ? lock_downgrade+0x8f0/0x8f0 [ 227.659247] ? kasan_check_read+0x11/0x20 [ 227.663401] ? do_raw_spin_unlock+0xa7/0x2f0 [ 227.667810] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 227.672913] ? __kthread_parkme+0x58/0x1b0 [ 227.677152] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 227.682168] ? trace_hardirqs_on+0xd/0x10 [ 227.686317] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 227.691855] ? __kthread_parkme+0x106/0x1b0 [ 227.696179] kthread+0x345/0x410 [ 227.699547] ? process_one_work+0x1ba0/0x1ba0 [ 227.704039] ? kthread_bind+0x40/0x40 [ 227.707840] ret_from_fork+0x3a/0x50 [ 227.711844] Dumping ftrace buffer: [ 227.715385] (ftrace buffer empty) [ 227.719074] Kernel Offset: disabled [ 227.722684] Rebooting in 86400 seconds..