[ 103.602233][ T27] audit: type=1800 audit(1579459166.206:36): pid=10264 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [ 104.407219][ T27] audit: type=1400 audit(1579459167.126:37): avc: denied { watch } for pid=10352 comm="restorecond" path="/root/.ssh" dev="sda1" ino=16179 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:object_r:ssh_home_t:s0 tclass=dir permissive=1 [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.57' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 112.302611][ T27] kauditd_printk_skb: 4 callbacks suppressed [ 112.302628][ T27] audit: type=1400 audit(1579459175.026:42): avc: denied { map } for pid=10451 comm="syz-executor123" path="/root/syz-executor123457064" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 112.336725][ T27] audit: type=1400 audit(1579459175.026:43): avc: denied { create } for pid=10452 comm="syz-executor123" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 [ 112.362039][ T27] audit: type=1400 audit(1579459175.026:44): avc: denied { write } for pid=10452 comm="syz-executor123" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 113.341476][ C0] ================================================================== [ 113.349721][ C0] BUG: KASAN: slab-out-of-bounds in bitmap_ip_gc+0x100/0x4f0 [ 113.357080][ C0] Read of size 8 at addr ffff88809dcdf6c0 by task syz-executor123/10737 [ 113.365404][ C0] [ 113.367733][ C0] CPU: 0 PID: 10737 Comm: syz-executor123 Not tainted 5.5.0-rc6-syzkaller #0 [ 113.376581][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 113.386640][ C0] Call Trace: [ 113.389922][ C0] [ 113.392809][ C0] dump_stack+0x197/0x210 [ 113.397136][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 113.401826][ C0] print_address_description.constprop.0.cold+0xd4/0x30b [ 113.409056][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 113.413730][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 113.418398][ C0] __kasan_report.cold+0x1b/0x41 [ 113.423333][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 113.428119][ C0] kasan_report+0x12/0x20 [ 113.432444][ C0] check_memory_region+0x134/0x1a0 [ 113.437556][ C0] __kasan_check_read+0x11/0x20 [ 113.442514][ C0] bitmap_ip_gc+0x100/0x4f0 [ 113.447020][ C0] call_timer_fn+0x1ac/0x780 [ 113.451795][ C0] ? bitmap_ip_test+0x170/0x170 [ 113.456712][ C0] ? msleep_interruptible+0x150/0x150 [ 113.463149][ C0] ? run_timer_softirq+0x6b1/0x1790 [ 113.468345][ C0] ? trace_hardirqs_on+0x67/0x240 [ 113.473356][ C0] ? bitmap_ip_test+0x170/0x170 [ 113.478203][ C0] ? bitmap_ip_test+0x170/0x170 [ 113.483051][ C0] run_timer_softirq+0x6c3/0x1790 [ 113.488068][ C0] ? add_timer+0x930/0x930 [ 113.492603][ C0] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 113.498762][ C0] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 113.504342][ C0] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 113.510464][ C0] ? trace_hardirqs_on+0x67/0x240 [ 113.515489][ C0] __do_softirq+0x262/0x98c [ 113.519990][ C0] ? sched_clock_cpu+0x1b/0x1b0 [ 113.524835][ C0] irq_exit+0x19b/0x1e0 [ 113.529158][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 113.534742][ C0] apic_timer_interrupt+0xf/0x20 [ 113.539804][ C0] [ 113.542764][ C0] RIP: 0010:clear_page_erms+0x7/0x10 [ 113.548060][ C0] Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 aa c3 cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 [ 113.567848][ C0] RSP: 0000:ffffc90002de7850 EFLAGS: 00010246 ORIG_RAX: ffffffffffffff13 [ 113.576303][ C0] RAX: 0000000000000000 RBX: ffffea0001fbe740 RCX: 00000000000009c0 [ 113.584267][ C0] RDX: 1ffff1101287470b RSI: 0000000000000200 RDI: ffff88807ef9d640 [ 113.592229][ C0] RBP: ffffc90002de7890 R08: ffff8880943a2600 R09: ffffed100fdc0000 [ 113.600203][ C0] R10: fffff940003f7006 R11: ffffea0001fb8037 R12: ffff8880943a2600 [ 113.608164][ C0] R13: ffffed101287473d R14: dffffc0000000000 R15: ffffea0001fc0000 [ 113.616350][ C0] ? kernel_init_free_pages+0x9c/0x120 [ 113.621799][ C0] prep_new_page+0x13b/0x200 [ 113.626541][ C0] get_page_from_freelist+0x322a/0x42a0 [ 113.632081][ C0] ? kasan_slab_alloc+0xf/0x20 [ 113.636878][ C0] ? kmem_cache_alloc+0x121/0x710 [ 113.641931][ C0] ? __khugepaged_enter+0x3b/0x3a0 [ 113.647060][ C0] ? wp_page_copy+0x9d1/0x1560 [ 113.651837][ C0] ? __isolate_free_page+0x4c0/0x4c0 [ 113.657130][ C0] ? __kasan_check_read+0x11/0x20 [ 113.662144][ C0] ? __khugepaged_enter+0x29a/0x3a0 [ 113.667640][ C0] __alloc_pages_nodemask+0x2d0/0x910 [ 113.673008][ C0] ? __alloc_pages_slowpath+0x2900/0x2900 [ 113.678799][ C0] ? lock_downgrade+0x920/0x920 [ 113.683783][ C0] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 113.690016][ C0] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 113.696242][ C0] alloc_pages_vma+0x3ce/0x620 [ 113.701194][ C0] do_huge_pmd_anonymous_page+0x48a/0x1a50 [ 113.706993][ C0] ? mark_lock+0xc2/0x1220 [ 113.711518][ C0] ? do_wp_page+0x54b/0x1540 [ 113.716107][ C0] ? prep_transhuge_page+0xa0/0xa0 [ 113.721218][ C0] ? pmd_val+0x100/0x100 [ 113.725614][ C0] __handle_mm_fault+0x3145/0x3cc0 [ 113.730780][ C0] ? apply_to_existing_page_range+0x50/0x50 [ 113.736662][ C0] ? handle_mm_fault+0x292/0xa50 [ 113.741692][ C0] ? handle_mm_fault+0x7a0/0xa50 [ 113.746614][ C0] ? __kasan_check_read+0x11/0x20 [ 113.751632][ C0] handle_mm_fault+0x3b2/0xa50 [ 113.756503][ C0] __do_page_fault+0x536/0xd80 [ 113.761286][ C0] do_page_fault+0x38/0x590 [ 113.765890][ C0] page_fault+0x39/0x40 [ 113.770044][ C0] RIP: 0033:0x400713 [ 113.773925][ C0] Code: 03 00 00 00 be 10 00 00 00 bf 29 00 00 00 e8 24 0d 04 00 48 83 f8 ff 74 07 48 89 05 87 a9 2c 00 48 b8 62 69 74 6d 61 70 3a 69 <48> c7 04 25 00 03 00 20 00 00 00 00 c7 04 25 08 03 00 20 00 00 00 [ 113.793726][ C0] RSP: 002b:00007ffedb9432b0 EFLAGS: 00010213 [ 113.799919][ C0] RAX: 693a70616d746962 RBX: 0000000000000000 RCX: 0000000000441439 [ 113.807884][ C0] RDX: 000000000000000c RSI: 0000000000000003 RDI: 0000000000000010 [ 113.816415][ C0] RBP: 000000000001ba91 R08: 0000000000000004 R09: 00000000004002c8 [ 113.824992][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402260 [ 113.833330][ C0] R13: 00000000004022f0 R14: 0000000000000000 R15: 0000000000000000 [ 113.841308][ C0] [ 113.843648][ C0] Allocated by task 10452: [ 113.848155][ C0] save_stack+0x23/0x90 [ 113.852358][ C0] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 113.858077][ C0] kasan_kmalloc+0x9/0x10 [ 113.862460][ C0] __kmalloc+0x163/0x770 [ 113.866696][ C0] ip_set_alloc+0x38/0x5e [ 113.871033][ C0] bitmap_ip_create+0x6ec/0xc20 [ 113.875917][ C0] ip_set_create+0x6f1/0x1500 [ 113.885115][ C0] nfnetlink_rcv_msg+0xcf2/0xfb0 [ 113.890053][ C0] netlink_rcv_skb+0x177/0x450 [ 113.894938][ C0] nfnetlink_rcv+0x1ba/0x460 [ 113.899539][ C0] netlink_unicast+0x58c/0x7d0 [ 113.904318][ C0] netlink_sendmsg+0x91c/0xea0 [ 113.909092][ C0] sock_sendmsg+0xd7/0x130 [ 113.913542][ C0] ____sys_sendmsg+0x753/0x880 [ 113.918302][ C0] ___sys_sendmsg+0x100/0x170 [ 113.922978][ C0] __sys_sendmsg+0x105/0x1d0 [ 113.927561][ C0] __x64_sys_sendmsg+0x78/0xb0 [ 113.932319][ C0] do_syscall_64+0xfa/0x790 [ 113.936806][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 113.942723][ C0] [ 113.945035][ C0] Freed by task 10229: [ 113.949101][ C0] save_stack+0x23/0x90 [ 113.953323][ C0] __kasan_slab_free+0x102/0x150 [ 113.958275][ C0] kasan_slab_free+0xe/0x10 [ 113.962771][ C0] kfree+0x10a/0x2c0 [ 113.966734][ C0] tomoyo_init_log+0x15a9/0x2070 [ 113.971675][ C0] tomoyo_supervisor+0x33f/0xef0 [ 113.976602][ C0] tomoyo_env_perm+0x18e/0x210 [ 113.981361][ C0] tomoyo_find_next_domain+0x1354/0x1f6c [ 113.987141][ C0] tomoyo_bprm_check_security+0x124/0x1a0 [ 113.992891][ C0] security_bprm_check+0x63/0xb0 [ 113.997834][ C0] search_binary_handler+0x71/0x570 [ 114.003123][ C0] __do_execve_file.isra.0+0x1329/0x22b0 [ 114.008751][ C0] __x64_sys_execve+0x8f/0xc0 [ 114.013418][ C0] do_syscall_64+0xfa/0x790 [ 114.017909][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 114.023864][ C0] [ 114.026186][ C0] The buggy address belongs to the object at ffff88809dcdf6c0 [ 114.026186][ C0] which belongs to the cache kmalloc-32 of size 32 [ 114.040054][ C0] The buggy address is located 0 bytes inside of [ 114.040054][ C0] 32-byte region [ffff88809dcdf6c0, ffff88809dcdf6e0) [ 114.053353][ C0] The buggy address belongs to the page: [ 114.058983][ C0] page:ffffea00027737c0 refcount:1 mapcount:0 mapping:ffff8880aa4001c0 index:0xffff88809dcdffc1 [ 114.069530][ C0] raw: 00fffe0000000200 ffffea0002a40188 ffffea00025818c8 ffff8880aa4001c0 [ 114.078273][ C0] raw: ffff88809dcdffc1 ffff88809dcdf000 000000010000003d 0000000000000000 [ 114.086977][ C0] page dumped because: kasan: bad access detected [ 114.093486][ C0] [ 114.095800][ C0] Memory state around the buggy address: [ 114.101424][ C0] ffff88809dcdf580: fb fb fb fb fc fc fc fc 00 00 01 fc fc fc fc fc [ 114.109481][ C0] ffff88809dcdf600: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 114.117548][ C0] >ffff88809dcdf680: fb fb fb fb fc fc fc fc 04 fc fc fc fc fc fc fc [ 114.125598][ C0] ^ [ 114.131845][ C0] ffff88809dcdf700: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 114.139906][ C0] ffff88809dcdf780: 00 fc fc fc fc fc fc fc 00 01 fc fc fc fc fc fc [ 114.147952][ C0] ================================================================== [ 114.156120][ C0] Disabling lock debugging due to kernel taint [ 114.162397][ C0] Kernel panic - not syncing: panic_on_warn set ... [ 114.169096][ C0] CPU: 0 PID: 10737 Comm: syz-executor123 Tainted: G B 5.5.0-rc6-syzkaller #0 [ 114.179243][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 114.189295][ C0] Call Trace: [ 114.192575][ C0] [ 114.195514][ C0] dump_stack+0x197/0x210 [ 114.199839][ C0] panic+0x2e3/0x75c [ 114.203784][ C0] ? add_taint.cold+0x16/0x16 [ 114.208522][ C0] ? retint_kernel+0x2b/0x2b [ 114.213122][ C0] ? trace_hardirqs_on+0x5e/0x240 [ 114.218154][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 114.222837][ C0] end_report+0x47/0x4f [ 114.227732][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 114.232405][ C0] __kasan_report.cold+0xe/0x41 [ 114.237275][ C0] ? bitmap_ip_gc+0x100/0x4f0 [ 114.242271][ C0] kasan_report+0x12/0x20 [ 114.246605][ C0] check_memory_region+0x134/0x1a0 [ 114.251816][ C0] __kasan_check_read+0x11/0x20 [ 114.256699][ C0] bitmap_ip_gc+0x100/0x4f0 [ 114.261196][ C0] call_timer_fn+0x1ac/0x780 [ 114.265774][ C0] ? bitmap_ip_test+0x170/0x170 [ 114.270715][ C0] ? msleep_interruptible+0x150/0x150 [ 114.276084][ C0] ? run_timer_softirq+0x6b1/0x1790 [ 114.281287][ C0] ? trace_hardirqs_on+0x67/0x240 [ 114.286347][ C0] ? bitmap_ip_test+0x170/0x170 [ 114.291191][ C0] ? bitmap_ip_test+0x170/0x170 [ 114.296082][ C0] run_timer_softirq+0x6c3/0x1790 [ 114.301218][ C0] ? add_timer+0x930/0x930 [ 114.305629][ C0] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 114.311782][ C0] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 114.317333][ C0] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 114.323640][ C0] ? trace_hardirqs_on+0x67/0x240 [ 114.328675][ C0] __do_softirq+0x262/0x98c [ 114.333350][ C0] ? sched_clock_cpu+0x1b/0x1b0 [ 114.338216][ C0] irq_exit+0x19b/0x1e0 [ 114.342432][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 114.348678][ C0] apic_timer_interrupt+0xf/0x20 [ 114.354187][ C0] [ 114.357254][ C0] RIP: 0010:clear_page_erms+0x7/0x10 [ 114.362531][ C0] Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 aa c3 cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 [ 114.382612][ C0] RSP: 0000:ffffc90002de7850 EFLAGS: 00010246 ORIG_RAX: ffffffffffffff13 [ 114.391146][ C0] RAX: 0000000000000000 RBX: ffffea0001fbe740 RCX: 00000000000009c0 [ 114.399372][ C0] RDX: 1ffff1101287470b RSI: 0000000000000200 RDI: ffff88807ef9d640 [ 114.407435][ C0] RBP: ffffc90002de7890 R08: ffff8880943a2600 R09: ffffed100fdc0000 [ 114.415847][ C0] R10: fffff940003f7006 R11: ffffea0001fb8037 R12: ffff8880943a2600 [ 114.423831][ C0] R13: ffffed101287473d R14: dffffc0000000000 R15: ffffea0001fc0000 [ 114.431929][ C0] ? kernel_init_free_pages+0x9c/0x120 [ 114.437513][ C0] prep_new_page+0x13b/0x200 [ 114.442105][ C0] get_page_from_freelist+0x322a/0x42a0 [ 114.447787][ C0] ? kasan_slab_alloc+0xf/0x20 [ 114.452734][ C0] ? kmem_cache_alloc+0x121/0x710 [ 114.457751][ C0] ? __khugepaged_enter+0x3b/0x3a0 [ 114.462888][ C0] ? wp_page_copy+0x9d1/0x1560 [ 114.467773][ C0] ? __isolate_free_page+0x4c0/0x4c0 [ 114.473050][ C0] ? __kasan_check_read+0x11/0x20 [ 114.478063][ C0] ? __khugepaged_enter+0x29a/0x3a0 [ 114.483253][ C0] __alloc_pages_nodemask+0x2d0/0x910 [ 114.488745][ C0] ? __alloc_pages_slowpath+0x2900/0x2900 [ 114.494570][ C0] ? lock_downgrade+0x920/0x920 [ 114.499418][ C0] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 114.505847][ C0] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 114.512203][ C0] alloc_pages_vma+0x3ce/0x620 [ 114.517014][ C0] do_huge_pmd_anonymous_page+0x48a/0x1a50 [ 114.522818][ C0] ? mark_lock+0xc2/0x1220 [ 114.527354][ C0] ? do_wp_page+0x54b/0x1540 [ 114.531993][ C0] ? prep_transhuge_page+0xa0/0xa0 [ 114.537094][ C0] ? pmd_val+0x100/0x100 [ 114.541533][ C0] __handle_mm_fault+0x3145/0x3cc0 [ 114.546758][ C0] ? apply_to_existing_page_range+0x50/0x50 [ 114.552647][ C0] ? handle_mm_fault+0x292/0xa50 [ 114.557574][ C0] ? handle_mm_fault+0x7a0/0xa50 [ 114.562502][ C0] ? __kasan_check_read+0x11/0x20 [ 114.567801][ C0] handle_mm_fault+0x3b2/0xa50 [ 114.572578][ C0] __do_page_fault+0x536/0xd80 [ 114.577366][ C0] do_page_fault+0x38/0x590 [ 114.581863][ C0] page_fault+0x39/0x40 [ 114.586033][ C0] RIP: 0033:0x400713 [ 114.590084][ C0] Code: 03 00 00 00 be 10 00 00 00 bf 29 00 00 00 e8 24 0d 04 00 48 83 f8 ff 74 07 48 89 05 87 a9 2c 00 48 b8 62 69 74 6d 61 70 3a 69 <48> c7 04 25 00 03 00 20 00 00 00 00 c7 04 25 08 03 00 20 00 00 00 [ 114.610016][ C0] RSP: 002b:00007ffedb9432b0 EFLAGS: 00010213 [ 114.616755][ C0] RAX: 693a70616d746962 RBX: 0000000000000000 RCX: 0000000000441439 [ 114.624719][ C0] RDX: 000000000000000c RSI: 0000000000000003 RDI: 0000000000000010 [ 114.632687][ C0] RBP: 000000000001ba91 R08: 0000000000000004 R09: 00000000004002c8 [ 114.640708][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402260 [ 114.648778][ C0] R13: 00000000004022f0 R14: 0000000000000000 R15: 0000000000000000 [ 114.658380][ C0] Kernel Offset: disabled [ 114.662999][ C0] Rebooting in 86400 seconds..