[ 39.884486][ T26] audit: type=1800 audit(1571605441.285:25): pid=7718 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 39.928240][ T26] audit: type=1800 audit(1571605441.295:26): pid=7718 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 39.960094][ T26] audit: type=1800 audit(1571605441.295:27): pid=7718 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 39.981577][ T26] audit: type=1800 audit(1571605441.295:28): pid=7718 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.107' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 474.589040][ T8353] ================================================================== [ 474.597415][ T8353] BUG: KASAN: use-after-free in is_bpf_text_address+0x250/0x3b0 [ 474.605553][ T8353] Read of size 8 at addr ffff8880a366b448 by task syz-executor594/8353 [ 474.613860][ T8353] [ 474.616172][ T8353] CPU: 1 PID: 8353 Comm: syz-executor594 Not tainted 5.4.0-rc3+ #0 [ 474.624046][ T8353] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 474.634093][ T8353] Call Trace: [ 474.637477][ T8353] dump_stack+0x1d8/0x2f8 [ 474.641817][ T8353] print_address_description+0x75/0x5c0 [ 474.647381][ T8353] ? vprintk_func+0x158/0x170 [ 474.652040][ T8353] ? printk+0x62/0x8d [ 474.656018][ T8353] ? vprintk_emit+0x2d4/0x3a0 [ 474.660679][ T8353] __kasan_report+0x14b/0x1c0 [ 474.665352][ T8353] ? is_bpf_text_address+0x250/0x3b0 [ 474.670618][ T8353] kasan_report+0x26/0x50 [ 474.674973][ T8353] __asan_report_load8_noabort+0x14/0x20 [ 474.680691][ T8353] is_bpf_text_address+0x250/0x3b0 [ 474.685849][ T8353] ? stack_trace_save+0x150/0x150 [ 474.690877][ T8353] __kernel_text_address+0x9a/0x110 [ 474.696093][ T8353] unwind_get_return_address+0x4c/0x90 [ 474.701581][ T8353] arch_stack_walk+0x98/0xe0 [ 474.706157][ T8353] stack_trace_save+0xb6/0x150 [ 474.710902][ T8353] __kasan_kmalloc+0x11c/0x1b0 [ 474.715665][ T8353] ? __kasan_kmalloc+0x11c/0x1b0 [ 474.720603][ T8353] ? kasan_slab_alloc+0xf/0x20 [ 474.725397][ T8353] ? kmem_cache_alloc_node+0x235/0x280 [ 474.730878][ T8353] ? alloc_vmap_area+0x1eb/0x1b60 [ 474.735880][ T8353] ? __get_vm_area_node+0x199/0x320 [ 474.741069][ T8353] ? __vmalloc_node_range+0xea/0x860 [ 474.746341][ T8353] ? kasan_module_alloc+0x73/0xc0 [ 474.751404][ T8353] ? module_alloc+0x9a/0xb0 [ 474.755886][ T8353] ? bpf_jit_alloc_exec+0x15/0x20 [ 474.760886][ T8353] ? bpf_jit_binary_alloc+0xa0/0x1b0 [ 474.766193][ T8353] ? bpf_int_jit_compile+0x6f5d/0x7a80 [ 474.771655][ T8353] ? bpf_check+0xc423/0xe790 [ 474.776228][ T8353] ? __do_sys_bpf+0x7a4f/0xbef0 [ 474.781057][ T8353] ? __x64_sys_bpf+0x7a/0x90 [ 474.785661][ T8353] ? do_syscall_64+0xf7/0x1c0 [ 474.790449][ T8353] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 474.796514][ T8353] ? __kasan_kmalloc+0x178/0x1b0 [ 474.801442][ T8353] ? __kasan_kmalloc+0x11c/0x1b0 [ 474.806356][ T8353] ? kasan_kmalloc+0x9/0x10 [ 474.810836][ T8353] ? kmem_cache_alloc_node_trace+0x24c/0x2d0 [ 474.816805][ T8353] ? __get_vm_area_node+0x142/0x320 [ 474.821980][ T8353] ? __fs_reclaim_release+0x4/0x20 [ 474.827077][ T8353] ? kmem_cache_alloc_node+0x1e1/0x280 [ 474.832779][ T8353] kasan_slab_alloc+0xf/0x20 [ 474.837364][ T8353] kmem_cache_alloc_node+0x235/0x280 [ 474.842631][ T8353] ? alloc_vmap_area+0x1eb/0x1b60 [ 474.847633][ T8353] alloc_vmap_area+0x1eb/0x1b60 [ 474.852466][ T8353] ? kmem_cache_alloc_node_trace+0x268/0x2d0 [ 474.858433][ T8353] ? __get_vm_area_node+0x142/0x320 [ 474.863637][ T8353] __get_vm_area_node+0x199/0x320 [ 474.868678][ T8353] __vmalloc_node_range+0xea/0x860 [ 474.873776][ T8353] ? module_alloc+0x9a/0xb0 [ 474.878446][ T8353] ? __vmalloc_node_range+0x66e/0x860 [ 474.883815][ T8353] kasan_module_alloc+0x73/0xc0 [ 474.888655][ T8353] ? module_alloc+0x9a/0xb0 [ 474.893135][ T8353] module_alloc+0x9a/0xb0 [ 474.897445][ T8353] bpf_jit_alloc_exec+0x15/0x20 [ 474.902273][ T8353] bpf_jit_binary_alloc+0xa0/0x1b0 [ 474.907459][ T8353] ? bpf_int_jit_compile+0x7a80/0x7a80 [ 474.914285][ T8353] bpf_int_jit_compile+0x6f5d/0x7a80 [ 474.919620][ T8353] ? trace_hardirqs_on+0x74/0x80 [ 474.924549][ T8353] ? bpf_prog_calc_tag+0x6de/0x8d0 [ 474.929648][ T8353] bpf_check+0xc423/0xe790 [ 474.934063][ T8353] ? ktime_get_with_offset+0x98/0x180 [ 474.939431][ T8353] ? read_seqcount_begin+0x12a/0x1c0 [ 474.944698][ T8353] ? memset+0x31/0x40 [ 474.948682][ T8353] __do_sys_bpf+0x7a4f/0xbef0 [ 474.953386][ T8353] ? handle_mm_fault+0x126b/0x5ff0 [ 474.958503][ T8353] ? do_user_addr_fault+0x5ba/0xaf0 [ 474.963695][ T8353] ? rcu_read_lock_sched_held+0x10b/0x170 [ 474.969395][ T8353] ? __kasan_check_write+0x14/0x20 [ 474.974483][ T8353] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 474.980025][ T8353] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 474.985721][ T8353] ? do_syscall_64+0x1d/0x1c0 [ 474.990479][ T8353] __x64_sys_bpf+0x7a/0x90 [ 474.994886][ T8353] do_syscall_64+0xf7/0x1c0 [ 474.999369][ T8353] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 475.005239][ T8353] RIP: 0033:0x441449 [ 475.009114][ T8353] Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 475.028787][ T8353] RSP: 002b:00007ffe2e84b718 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 475.037182][ T8353] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441449 [ 475.045131][ T8353] RDX: 0000000000000032 RSI: 0000000020000440 RDI: 0000000000000005 [ 475.053102][ T8353] RBP: 0000000000073d8f R08: 0000000000000004 R09: 00000000004002c8 [ 475.061051][ T8353] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004021c0 [ 475.068999][ T8353] R13: 0000000000402250 R14: 0000000000000000 R15: 0000000000000000 [ 475.076958][ T8353] [ 475.079277][ T8353] Allocated by task 8355: [ 475.083587][ T8353] __kasan_kmalloc+0x11c/0x1b0 [ 475.088325][ T8353] kasan_kmalloc+0x9/0x10 [ 475.092643][ T8353] kmem_cache_alloc_trace+0x221/0x2f0 [ 475.098000][ T8353] bpf_prog_alloc_no_stats+0xdc/0x2b0 [ 475.103363][ T8353] bpf_check+0xbe9a/0xe790 [ 475.107754][ T8353] __do_sys_bpf+0x7a4f/0xbef0 [ 475.112495][ T8353] __x64_sys_bpf+0x7a/0x90 [ 475.116894][ T8353] do_syscall_64+0xf7/0x1c0 [ 475.121375][ T8353] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 475.127253][ T8353] [ 475.129559][ T8353] Freed by task 2923: [ 475.133519][ T8353] __kasan_slab_free+0x12a/0x1e0 [ 475.138432][ T8353] kasan_slab_free+0xe/0x10 [ 475.142918][ T8353] kfree+0x115/0x200 [ 475.146800][ T8353] bpf_jit_free+0x189/0x1f0 [ 475.151290][ T8353] bpf_prog_free_deferred+0x1b9/0x380 [ 475.156696][ T8353] process_one_work+0x7ef/0x10e0 [ 475.161610][ T8353] worker_thread+0xc01/0x1630 [ 475.166300][ T8353] kthread+0x332/0x350 [ 475.170347][ T8353] ret_from_fork+0x24/0x30 [ 475.174734][ T8353] [ 475.177054][ T8353] The buggy address belongs to the object at ffff8880a366b400 [ 475.177054][ T8353] which belongs to the cache kmalloc-512 of size 512 [ 475.191082][ T8353] The buggy address is located 72 bytes inside of [ 475.191082][ T8353] 512-byte region [ffff8880a366b400, ffff8880a366b600) [ 475.204241][ T8353] The buggy address belongs to the page: [ 475.210053][ T8353] page:ffffea00028d9ac0 refcount:1 mapcount:0 mapping:ffff8880aa400a80 index:0x0 [ 475.219136][ T8353] flags: 0x1fffc0000000200(slab) [ 475.224150][ T8353] raw: 01fffc0000000200 ffffea00028b8608 ffffea000249f548 ffff8880aa400a80 [ 475.232711][ T8353] raw: 0000000000000000 ffff8880a366b000 0000000100000004 0000000000000000 [ 475.241269][ T8353] page dumped because: kasan: bad access detected [ 475.247655][ T8353] [ 475.249961][ T8353] Memory state around the buggy address: [ 475.255568][ T8353] ffff8880a366b300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 475.263780][ T8353] ffff8880a366b380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 475.272436][ T8353] >ffff8880a366b400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 475.280469][ T8353] ^ executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 475.286856][ T8353] ffff8880a366b480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 475.294985][ T8353] ffff8880a366b500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 475.303028][ T8353] ================================================================== [ 475.311070][ T8353] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 475.434532][ T8353] Kernel panic - not syncing: panic_on_warn set ... [ 475.441184][ T8353] CPU: 1 PID: 8353 Comm: syz-executor594 Tainted: G B 5.4.0-rc3+ #0 [ 475.450435][ T8353] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 475.460463][ T8353] Call Trace: [ 475.463742][ T8353] dump_stack+0x1d8/0x2f8 [ 475.468118][ T8353] panic+0x264/0x7a9 [ 475.471987][ T8353] ? __kasan_report+0x195/0x1c0 [ 475.477853][ T8353] ? trace_hardirqs_on+0x34/0x80 [ 475.482763][ T8353] ? __kasan_report+0x195/0x1c0 [ 475.487589][ T8353] __kasan_report+0x1bb/0x1c0 [ 475.492248][ T8353] ? is_bpf_text_address+0x250/0x3b0 [ 475.497508][ T8353] kasan_report+0x26/0x50 [ 475.501824][ T8353] __asan_report_load8_noabort+0x14/0x20 [ 475.507450][ T8353] is_bpf_text_address+0x250/0x3b0 [ 475.512587][ T8353] ? stack_trace_save+0x150/0x150 [ 475.517585][ T8353] __kernel_text_address+0x9a/0x110 [ 475.522934][ T8353] unwind_get_return_address+0x4c/0x90 [ 475.528369][ T8353] arch_stack_walk+0x98/0xe0 [ 475.532946][ T8353] stack_trace_save+0xb6/0x150 [ 475.537693][ T8353] __kasan_kmalloc+0x11c/0x1b0 [ 475.542444][ T8353] ? __kasan_kmalloc+0x11c/0x1b0 [ 475.547353][ T8353] ? kasan_slab_alloc+0xf/0x20 [ 475.552089][ T8353] ? kmem_cache_alloc_node+0x235/0x280 [ 475.557522][ T8353] ? alloc_vmap_area+0x1eb/0x1b60 [ 475.562519][ T8353] ? __get_vm_area_node+0x199/0x320 [ 475.567689][ T8353] ? __vmalloc_node_range+0xea/0x860 [ 475.572964][ T8353] ? kasan_module_alloc+0x73/0xc0 [ 475.577961][ T8353] ? module_alloc+0x9a/0xb0 [ 475.582435][ T8353] ? bpf_jit_alloc_exec+0x15/0x20 [ 475.587442][ T8353] ? bpf_jit_binary_alloc+0xa0/0x1b0 [ 475.592699][ T8353] ? bpf_int_jit_compile+0x6f5d/0x7a80 [ 475.598130][ T8353] ? bpf_check+0xc423/0xe790 [ 475.602712][ T8353] ? __do_sys_bpf+0x7a4f/0xbef0 [ 475.607543][ T8353] ? __x64_sys_bpf+0x7a/0x90 [ 475.612105][ T8353] ? do_syscall_64+0xf7/0x1c0 [ 475.616776][ T8353] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 475.622822][ T8353] ? __kasan_kmalloc+0x178/0x1b0 [ 475.627734][ T8353] ? __kasan_kmalloc+0x11c/0x1b0 [ 475.632641][ T8353] ? kasan_kmalloc+0x9/0x10 [ 475.637116][ T8353] ? kmem_cache_alloc_node_trace+0x24c/0x2d0 [ 475.643069][ T8353] ? __get_vm_area_node+0x142/0x320 [ 475.648241][ T8353] ? __fs_reclaim_release+0x4/0x20 [ 475.653350][ T8353] ? kmem_cache_alloc_node+0x1e1/0x280 [ 475.658813][ T8353] kasan_slab_alloc+0xf/0x20 [ 475.663394][ T8353] kmem_cache_alloc_node+0x235/0x280 [ 475.668665][ T8353] ? alloc_vmap_area+0x1eb/0x1b60 [ 475.673673][ T8353] alloc_vmap_area+0x1eb/0x1b60 [ 475.678594][ T8353] ? kmem_cache_alloc_node_trace+0x268/0x2d0 [ 475.684551][ T8353] ? __get_vm_area_node+0x142/0x320 [ 475.689725][ T8353] __get_vm_area_node+0x199/0x320 [ 475.694727][ T8353] __vmalloc_node_range+0xea/0x860 [ 475.699816][ T8353] ? module_alloc+0x9a/0xb0 [ 475.704315][ T8353] ? __vmalloc_node_range+0x66e/0x860 [ 475.709677][ T8353] kasan_module_alloc+0x73/0xc0 [ 475.714504][ T8353] ? module_alloc+0x9a/0xb0 [ 475.719009][ T8353] module_alloc+0x9a/0xb0 [ 475.723322][ T8353] bpf_jit_alloc_exec+0x15/0x20 [ 475.728149][ T8353] bpf_jit_binary_alloc+0xa0/0x1b0 [ 475.733235][ T8353] ? bpf_int_jit_compile+0x7a80/0x7a80 [ 475.738674][ T8353] bpf_int_jit_compile+0x6f5d/0x7a80 [ 475.743950][ T8353] ? trace_hardirqs_on+0x74/0x80 [ 475.748871][ T8353] ? bpf_prog_calc_tag+0x6de/0x8d0 [ 475.753962][ T8353] bpf_check+0xc423/0xe790 [ 475.758380][ T8353] ? ktime_get_with_offset+0x98/0x180 [ 475.763723][ T8353] ? read_seqcount_begin+0x12a/0x1c0 [ 475.768984][ T8353] ? memset+0x31/0x40 [ 475.772943][ T8353] __do_sys_bpf+0x7a4f/0xbef0 [ 475.777599][ T8353] ? handle_mm_fault+0x126b/0x5ff0 [ 475.782685][ T8353] ? do_user_addr_fault+0x5ba/0xaf0 [ 475.787866][ T8353] ? rcu_read_lock_sched_held+0x10b/0x170 [ 475.793571][ T8353] ? __kasan_check_write+0x14/0x20 [ 475.798661][ T8353] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 475.804093][ T8353] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 475.809786][ T8353] ? do_syscall_64+0x1d/0x1c0 [ 475.814437][ T8353] __x64_sys_bpf+0x7a/0x90 [ 475.818841][ T8353] do_syscall_64+0xf7/0x1c0 [ 475.823321][ T8353] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 475.829188][ T8353] RIP: 0033:0x441449 [ 475.833066][ T8353] Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 475.854657][ T8353] RSP: 002b:00007ffe2e84b718 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 475.863042][ T8353] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441449 [ 475.871013][ T8353] RDX: 0000000000000032 RSI: 0000000020000440 RDI: 0000000000000005 [ 475.878992][ T8353] RBP: 0000000000073d8f R08: 0000000000000004 R09: 00000000004002c8 [ 475.886962][ T8353] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004021c0 [ 475.894918][ T8353] R13: 0000000000402250 R14: 0000000000000000 R15: 0000000000000000 [ 475.904496][ T8353] Kernel Offset: disabled [ 475.908840][ T8353] Rebooting in 86400 seconds..