[ 98.710405][ T27] audit: type=1400 audit(1579707058.140:37): avc: denied { watch } for pid=10402 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 [ 98.749281][ T27] audit: type=1400 audit(1579707058.170:38): avc: denied { watch } for pid=10402 comm="restorecond" path="/etc/selinux/restorecond.conf" dev="sda1" ino=2232 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 99.053740][ T27] audit: type=1800 audit(1579707058.490:39): pid=10315 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 99.075442][ T27] audit: type=1800 audit(1579707058.490:40): pid=10315 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 104.168725][ T27] audit: type=1400 audit(1579707063.600:41): avc: denied { map } for pid=10491 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.193' (ECDSA) to the list of known hosts. executing program executing program [ 117.439906][ T27] audit: type=1400 audit(1579707076.870:42): avc: denied { map } for pid=10503 comm="syz-executor335" path="/root/syz-executor335341891" dev="sda1" ino=1426 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 [ 117.470809][ T27] audit: type=1400 audit(1579707076.870:43): avc: denied { create } for pid=10504 comm="syz-executor335" 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 [ 117.495892][ T27] audit: type=1400 audit(1579707076.870:44): avc: denied { write } for pid=10504 comm="syz-executor335" 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 [ 118.460440][ C1] ================================================================== [ 118.468915][ C1] BUG: KASAN: slab-out-of-bounds in bitmap_ipmac_gc+0x119/0x590 [ 118.476648][ C1] Read of size 8 at addr ffff888099780a80 by task sshd/10501 [ 118.484119][ C1] [ 118.486450][ C1] CPU: 1 PID: 10501 Comm: sshd Not tainted 5.5.0-rc7-syzkaller #0 [ 118.494236][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 118.504290][ C1] Call Trace: [ 118.507574][ C1] [ 118.510541][ C1] dump_stack+0x197/0x210 [ 118.514907][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 118.519834][ C1] print_address_description.constprop.0.cold+0xd4/0x30b [ 118.526904][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 118.531834][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 118.536758][ C1] __kasan_report.cold+0x1b/0x41 [ 118.542392][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 118.547394][ C1] kasan_report+0x12/0x20 [ 118.551736][ C1] check_memory_region+0x134/0x1a0 [ 118.556845][ C1] __kasan_check_read+0x11/0x20 [ 118.561754][ C1] bitmap_ipmac_gc+0x119/0x590 [ 118.566518][ C1] call_timer_fn+0x1ac/0x780 [ 118.571102][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 118.576516][ C1] ? msleep_interruptible+0x150/0x150 [ 118.581897][ C1] ? run_timer_softirq+0x6b1/0x1790 [ 118.587214][ C1] ? trace_hardirqs_on+0x67/0x240 [ 118.592261][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 118.597535][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 118.602831][ C1] run_timer_softirq+0x6c3/0x1790 [ 118.607878][ C1] ? add_timer+0x930/0x930 [ 118.612350][ C1] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 118.618500][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 118.624050][ C1] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 118.630031][ C1] ? trace_hardirqs_on+0x67/0x240 [ 118.635221][ C1] __do_softirq+0x262/0x98c [ 118.639732][ C1] ? sched_clock_cpu+0x1b/0x1b0 [ 118.644648][ C1] irq_exit+0x19b/0x1e0 [ 118.648805][ C1] smp_apic_timer_interrupt+0x1a3/0x610 [ 118.654355][ C1] apic_timer_interrupt+0xf/0x20 [ 118.659273][ C1] [ 118.662211][ C1] RIP: 0010:pipe_read+0x0/0xe40 [ 118.667212][ C1] Code: fe ff ff 48 89 55 c0 e8 1e 50 f3 ff 48 8b 55 c0 e9 68 ff ff ff e8 30 50 f3 ff e9 fd fd ff ff e8 26 50 f3 ff e9 08 ff ff ff 90 <55> 48 89 e5 41 57 49 89 f7 48 8d 85 38 ff ff ff 41 56 48 c1 e8 03 [ 118.687150][ C1] RSP: 0018:ffffc90001d5fc58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 [ 118.695556][ C1] RAX: dffffc0000000000 RBX: ffffc90001d5fd80 RCX: ffffffff8399826b [ 118.703527][ C1] RDX: 1ffffffff106c84c RSI: ffffc90001d5fcc0 RDI: ffffc90001d5fd10 [ 118.711496][ C1] RBP: ffffc90001d5fda8 R08: ffff88809e76e040 R09: 0000000000000000 [ 118.719569][ C1] R10: fffffbfff14f69d0 R11: ffffffff8a7b4e87 R12: ffffffff88364240 [ 118.727632][ C1] R13: ffffc90001d5fcc0 R14: 0000000000000000 R15: 0000000000000000 [ 118.735708][ C1] ? iov_iter_init+0x8b/0x220 [ 118.740402][ C1] ? new_sync_read+0x680/0x800 [ 118.745154][ C1] ? vfs_dedupe_file_range+0x780/0x780 [ 118.750619][ C1] ? security_file_permission+0x8f/0x380 [ 118.756304][ C1] __vfs_read+0xe1/0x110 [ 118.760546][ C1] vfs_read+0x1f0/0x440 [ 118.764703][ C1] ksys_read+0x220/0x290 [ 118.769103][ C1] ? kernel_write+0x130/0x130 [ 118.773839][ C1] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 118.779288][ C1] ? do_syscall_64+0x26/0x790 [ 118.783963][ C1] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 118.790203][ C1] ? do_syscall_64+0x26/0x790 [ 118.794891][ C1] __x64_sys_read+0x73/0xb0 [ 118.799411][ C1] do_syscall_64+0xfa/0x790 [ 118.804075][ C1] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 118.809963][ C1] RIP: 0033:0x7fa29658c310 [ 118.814373][ C1] Code: 73 01 c3 48 8b 0d 28 4b 2b 00 31 d2 48 29 c2 64 89 11 48 83 c8 ff eb ea 90 90 83 3d e5 a2 2b 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 6e 8a 01 00 48 89 04 24 [ 118.834278][ C1] RSP: 002b:00007ffe5fbbc298 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 118.842683][ C1] RAX: ffffffffffffffda RBX: 0000558a84516fc0 RCX: 00007fa29658c310 [ 118.850647][ C1] RDX: 0000000000004000 RSI: 00007ffe5fbbc2a0 RDI: 0000000000000009 [ 118.858602][ C1] RBP: 00007fa2981f16a0 R08: 00007ffe5fbc0380 R09: 0101010101010101 [ 118.866576][ C1] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 [ 118.874596][ C1] R13: 0000558a84515b60 R14: 0000558a84515b40 R15: 0000000000000050 [ 118.882722][ C1] [ 118.885044][ C1] Allocated by task 10504: [ 118.889458][ C1] save_stack+0x23/0x90 [ 118.893607][ C1] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 118.899227][ C1] kasan_kmalloc+0x9/0x10 [ 118.903570][ C1] __kmalloc+0x163/0x770 [ 118.907800][ C1] ip_set_alloc+0x38/0x5e [ 118.912229][ C1] bitmap_ipmac_create+0x4e8/0xa00 [ 118.917343][ C1] ip_set_create+0x6f1/0x1500 [ 118.922045][ C1] nfnetlink_rcv_msg+0xcf2/0xfb0 [ 118.926976][ C1] netlink_rcv_skb+0x177/0x450 [ 118.931775][ C1] nfnetlink_rcv+0x1ba/0x460 [ 118.936358][ C1] netlink_unicast+0x58c/0x7d0 [ 118.941115][ C1] netlink_sendmsg+0x91c/0xea0 [ 118.945882][ C1] sock_sendmsg+0xd7/0x130 [ 118.950293][ C1] ____sys_sendmsg+0x753/0x880 [ 118.955041][ C1] ___sys_sendmsg+0x100/0x170 [ 118.959698][ C1] __sys_sendmsg+0x105/0x1d0 [ 118.964336][ C1] __x64_sys_sendmsg+0x78/0xb0 [ 118.969100][ C1] do_syscall_64+0xfa/0x790 [ 118.973600][ C1] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 118.979485][ C1] [ 118.981994][ C1] Freed by task 10276: [ 118.986064][ C1] save_stack+0x23/0x90 [ 118.990225][ C1] __kasan_slab_free+0x102/0x150 [ 118.995267][ C1] kasan_slab_free+0xe/0x10 [ 118.999866][ C1] kfree+0x10a/0x2c0 [ 119.003753][ C1] tomoyo_condition+0xd96/0x2a90 [ 119.008698][ C1] tomoyo_check_acl+0x1b7/0x3e0 [ 119.013542][ C1] tomoyo_execute_permission+0x188/0x4a0 [ 119.019174][ C1] tomoyo_find_next_domain+0x348/0x1f6c [ 119.024807][ C1] tomoyo_bprm_check_security+0x124/0x1a0 [ 119.030514][ C1] security_bprm_check+0x63/0xb0 [ 119.035538][ C1] search_binary_handler+0x71/0x570 [ 119.040721][ C1] __do_execve_file.isra.0+0x1329/0x22b0 [ 119.046336][ C1] __x64_sys_execve+0x8f/0xc0 [ 119.051003][ C1] do_syscall_64+0xfa/0x790 [ 119.055502][ C1] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.061468][ C1] [ 119.063788][ C1] The buggy address belongs to the object at ffff888099780a80 [ 119.063788][ C1] which belongs to the cache kmalloc-32 of size 32 [ 119.077665][ C1] The buggy address is located 0 bytes inside of [ 119.077665][ C1] 32-byte region [ffff888099780a80, ffff888099780aa0) [ 119.090889][ C1] The buggy address belongs to the page: [ 119.096522][ C1] page:ffffea000265e000 refcount:1 mapcount:0 mapping:ffff8880aa4001c0 index:0xffff888099780fc1 [ 119.107276][ C1] raw: 00fffe0000000200 ffffea0002853c48 ffffea00029c3c88 ffff8880aa4001c0 [ 119.115865][ C1] raw: ffff888099780fc1 ffff888099780000 0000000100000032 0000000000000000 [ 119.124454][ C1] page dumped because: kasan: bad access detected [ 119.130899][ C1] [ 119.133229][ C1] Memory state around the buggy address: [ 119.138853][ C1] ffff888099780980: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 119.146917][ C1] ffff888099780a00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 119.154976][ C1] >ffff888099780a80: 04 fc fc fc fc fc fc fc 00 00 00 00 fc fc fc fc [ 119.163083][ C1] ^ [ 119.167220][ C1] ffff888099780b00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 119.175289][ C1] ffff888099780b80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 119.183346][ C1] ================================================================== [ 119.191393][ C1] Disabling lock debugging due to kernel taint [ 119.197606][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 119.204203][ C1] CPU: 1 PID: 10501 Comm: sshd Tainted: G B 5.5.0-rc7-syzkaller #0 [ 119.213401][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 119.223471][ C1] Call Trace: [ 119.227152][ C1] [ 119.230011][ C1] dump_stack+0x197/0x210 [ 119.234365][ C1] panic+0x2e3/0x75c [ 119.238274][ C1] ? add_taint.cold+0x16/0x16 [ 119.243172][ C1] ? retint_kernel+0x2b/0x2b [ 119.247776][ C1] ? trace_hardirqs_on+0x5e/0x240 [ 119.252811][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 119.257753][ C1] end_report+0x47/0x4f [ 119.261912][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 119.266859][ C1] __kasan_report.cold+0xe/0x41 [ 119.271726][ C1] ? bitmap_ipmac_gc+0x119/0x590 [ 119.276796][ C1] kasan_report+0x12/0x20 [ 119.281136][ C1] check_memory_region+0x134/0x1a0 [ 119.286250][ C1] __kasan_check_read+0x11/0x20 [ 119.291200][ C1] bitmap_ipmac_gc+0x119/0x590 [ 119.295987][ C1] call_timer_fn+0x1ac/0x780 [ 119.300591][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 119.305886][ C1] ? msleep_interruptible+0x150/0x150 [ 119.311271][ C1] ? run_timer_softirq+0x6b1/0x1790 [ 119.316481][ C1] ? trace_hardirqs_on+0x67/0x240 [ 119.321510][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 119.326800][ C1] ? bitmap_ipmac_list+0x1080/0x1080 [ 119.332092][ C1] run_timer_softirq+0x6c3/0x1790 [ 119.337123][ C1] ? add_timer+0x930/0x930 [ 119.341548][ C1] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 119.347705][ C1] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 119.353387][ C1] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 119.360159][ C1] ? trace_hardirqs_on+0x67/0x240 [ 119.365326][ C1] __do_softirq+0x262/0x98c [ 119.370027][ C1] ? sched_clock_cpu+0x1b/0x1b0 [ 119.374880][ C1] irq_exit+0x19b/0x1e0 [ 119.379057][ C1] smp_apic_timer_interrupt+0x1a3/0x610 [ 119.384613][ C1] apic_timer_interrupt+0xf/0x20 [ 119.389548][ C1] [ 119.392494][ C1] RIP: 0010:pipe_read+0x0/0xe40 [ 119.397345][ C1] Code: fe ff ff 48 89 55 c0 e8 1e 50 f3 ff 48 8b 55 c0 e9 68 ff ff ff e8 30 50 f3 ff e9 fd fd ff ff e8 26 50 f3 ff e9 08 ff ff ff 90 <55> 48 89 e5 41 57 49 89 f7 48 8d 85 38 ff ff ff 41 56 48 c1 e8 03 [ 119.416958][ C1] RSP: 0018:ffffc90001d5fc58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 [ 119.425374][ C1] RAX: dffffc0000000000 RBX: ffffc90001d5fd80 RCX: ffffffff8399826b [ 119.433342][ C1] RDX: 1ffffffff106c84c RSI: ffffc90001d5fcc0 RDI: ffffc90001d5fd10 [ 119.441323][ C1] RBP: ffffc90001d5fda8 R08: ffff88809e76e040 R09: 0000000000000000 [ 119.449415][ C1] R10: fffffbfff14f69d0 R11: ffffffff8a7b4e87 R12: ffffffff88364240 [ 119.457651][ C1] R13: ffffc90001d5fcc0 R14: 0000000000000000 R15: 0000000000000000 [ 119.465640][ C1] ? iov_iter_init+0x8b/0x220 [ 119.470331][ C1] ? new_sync_read+0x680/0x800 [ 119.475105][ C1] ? vfs_dedupe_file_range+0x780/0x780 [ 119.480583][ C1] ? security_file_permission+0x8f/0x380 [ 119.486218][ C1] __vfs_read+0xe1/0x110 [ 119.490475][ C1] vfs_read+0x1f0/0x440 [ 119.494644][ C1] ksys_read+0x220/0x290 [ 119.498910][ C1] ? kernel_write+0x130/0x130 [ 119.503603][ C1] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 119.509222][ C1] ? do_syscall_64+0x26/0x790 [ 119.513930][ C1] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.520307][ C1] ? do_syscall_64+0x26/0x790 [ 119.524994][ C1] __x64_sys_read+0x73/0xb0 [ 119.529500][ C1] do_syscall_64+0xfa/0x790 [ 119.534135][ C1] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.540044][ C1] RIP: 0033:0x7fa29658c310 [ 119.544474][ C1] Code: 73 01 c3 48 8b 0d 28 4b 2b 00 31 d2 48 29 c2 64 89 11 48 83 c8 ff eb ea 90 90 83 3d e5 a2 2b 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 6e 8a 01 00 48 89 04 24 [ 119.564077][ C1] RSP: 002b:00007ffe5fbbc298 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 119.572496][ C1] RAX: ffffffffffffffda RBX: 0000558a84516fc0 RCX: 00007fa29658c310 [ 119.580634][ C1] RDX: 0000000000004000 RSI: 00007ffe5fbbc2a0 RDI: 0000000000000009 [ 119.588655][ C1] RBP: 00007fa2981f16a0 R08: 00007ffe5fbc0380 R09: 0101010101010101 [ 119.596747][ C1] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 [ 119.604730][ C1] R13: 0000558a84515b60 R14: 0000558a84515b40 R15: 0000000000000050 [ 119.614300][ C1] Kernel Offset: disabled [ 119.618780][ C1] Rebooting in 86400 seconds..