[ 84.350641][ T27] audit: type=1800 audit(1579951331.276:25): pid=9702 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 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. [ 85.229017][ T27] kauditd_printk_skb: 3 callbacks suppressed [ 85.229049][ T27] audit: type=1800 audit(1579951332.156:29): pid=9702 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 85.255434][ T27] audit: type=1800 audit(1579951332.156:30): pid=9702 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.200' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 94.913522][ T9854] ================================================================== [ 94.921877][ T9854] BUG: KASAN: slab-out-of-bounds in bitmap_port_list+0x3cf/0xdb0 [ 94.929840][ T9854] Read of size 8 at addr ffff8880976977c0 by task syz-executor653/9854 [ 94.938441][ T9854] [ 94.940820][ T9854] CPU: 0 PID: 9854 Comm: syz-executor653 Not tainted 5.5.0-rc6-next-20200116-syzkaller #0 [ 94.950696][ T9854] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 94.960751][ T9854] Call Trace: [ 94.964064][ T9854] dump_stack+0x197/0x210 [ 94.969694][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 94.974722][ T9854] print_address_description.constprop.0.cold+0xd4/0x30b [ 94.982629][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 94.987658][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 94.992787][ T9854] __kasan_report.cold+0x1b/0x32 [ 94.997737][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 95.002899][ T9854] kasan_report+0x12/0x20 [ 95.007236][ T9854] check_memory_region+0x134/0x1a0 [ 95.012353][ T9854] __kasan_check_read+0x11/0x20 [ 95.017214][ T9854] bitmap_port_list+0x3cf/0xdb0 [ 95.022063][ T9854] ? bitmap_port_head+0x296/0x600 [ 95.027103][ T9854] ? bitmap_port_del+0x380/0x380 [ 95.032058][ T9854] ? nla_put+0x110/0x150 [ 95.036316][ T9854] ip_set_dump_start+0x96c/0x1ca0 [ 95.041363][ T9854] ? ip_set_rename+0x720/0x720 [ 95.046255][ T9854] ? __kmalloc_reserve.isra.0+0x70/0xf0 [ 95.051888][ T9854] ? __lock_acquire+0x2660/0x4a00 [ 95.057109][ T9854] ? __kasan_check_write+0x14/0x20 [ 95.062377][ T9854] netlink_dump+0x558/0xfb0 [ 95.067052][ T9854] ? __netlink_sendskb+0xc0/0xc0 [ 95.072098][ T9854] __netlink_dump_start+0x673/0x930 [ 95.077458][ T9854] ip_set_dump+0x15a/0x1d0 [ 95.081894][ T9854] ? call_ad+0x5a0/0x5a0 [ 95.086271][ T9854] ? ip_set_rename+0x720/0x720 [ 95.091043][ T9854] ? __ip_set_put_netlink.isra.0+0x90/0x90 [ 95.096865][ T9854] ? call_ad+0x5a0/0x5a0 [ 95.101131][ T9854] nfnetlink_rcv_msg+0xcf2/0xfb0 [ 95.106067][ T9854] ? nfnetlink_bind+0x2c0/0x2c0 [ 95.110931][ T9854] ? __kasan_check_read+0x11/0x20 [ 95.116109][ T9854] ? __lock_acquire+0x8a0/0x4a00 [ 95.121056][ T9854] ? save_stack+0x5c/0x90 [ 95.125413][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.131660][ T9854] ? apparmor_capable+0x4df/0x910 [ 95.136748][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.143240][ T9854] ? __kasan_check_read+0x11/0x20 [ 95.148393][ T9854] ? apparmor_cred_prepare+0x7b0/0x7b0 [ 95.153980][ T9854] netlink_rcv_skb+0x177/0x450 [ 95.158756][ T9854] ? nfnetlink_bind+0x2c0/0x2c0 [ 95.163712][ T9854] ? netlink_ack+0xb50/0xb50 [ 95.168307][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.174556][ T9854] ? ns_capable_common+0x93/0x100 [ 95.179587][ T9854] ? ns_capable+0x20/0x30 [ 95.184077][ T9854] ? __netlink_ns_capable+0x104/0x140 [ 95.189555][ T9854] nfnetlink_rcv+0x1ba/0x460 [ 95.194150][ T9854] ? nfnetlink_rcv_batch+0x1780/0x1780 [ 95.199604][ T9854] ? netlink_deliver_tap+0x248/0xbf0 [ 95.204914][ T9854] ? __kasan_check_write+0x14/0x20 [ 95.210057][ T9854] netlink_unicast+0x59e/0x7e0 [ 95.214843][ T9854] ? netlink_attachskb+0x870/0x870 [ 95.220173][ T9854] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 95.226000][ T9854] ? __check_object_size+0x3d/0x437 [ 95.231223][ T9854] netlink_sendmsg+0x91c/0xea0 [ 95.235998][ T9854] ? netlink_unicast+0x7e0/0x7e0 [ 95.240941][ T9854] ? aa_sock_msg_perm.isra.0+0xba/0x170 [ 95.246497][ T9854] ? apparmor_socket_sendmsg+0x2a/0x30 [ 95.252009][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.258252][ T9854] ? security_socket_sendmsg+0x8d/0xc0 [ 95.263831][ T9854] ? netlink_unicast+0x7e0/0x7e0 [ 95.268761][ T9854] sock_sendmsg+0xd7/0x130 [ 95.273189][ T9854] ____sys_sendmsg+0x753/0x880 [ 95.278020][ T9854] ? kernel_sendmsg+0x50/0x50 [ 95.282745][ T9854] ? lockdep_init_map+0x1be/0x6d0 [ 95.287860][ T9854] ___sys_sendmsg+0x100/0x170 [ 95.293872][ T9854] ? sendmsg_copy_msghdr+0x70/0x70 [ 95.298991][ T9854] ? __kasan_check_read+0x11/0x20 [ 95.304004][ T9854] ? __lock_acquire+0x8a0/0x4a00 [ 95.308932][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.315197][ T9854] ? __this_cpu_preempt_check+0x35/0x190 [ 95.320844][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.327076][ T9854] ? percpu_counter_add_batch+0x13c/0x190 [ 95.332969][ T9854] ? __fd_install+0x1bc/0x640 [ 95.337651][ T9854] ? find_held_lock+0x35/0x130 [ 95.342546][ T9854] ? __fd_install+0x1bc/0x640 [ 95.347240][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 95.353674][ T9854] ? __fget_light+0x1ad/0x270 [ 95.358879][ T9854] ? __fdget+0x1b/0x20 [ 95.363063][ T9854] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 95.369429][ T9854] __sys_sendmsg+0x105/0x1d0 [ 95.374179][ T9854] ? __sys_sendmsg_sock+0xc0/0xc0 [ 95.379208][ T9854] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 95.384710][ T9854] ? do_syscall_64+0x26/0x790 [ 95.389422][ T9854] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 95.395496][ T9854] ? do_syscall_64+0x26/0x790 [ 95.400297][ T9854] __x64_sys_sendmsg+0x78/0xb0 [ 95.405178][ T9854] do_syscall_64+0xfa/0x790 [ 95.409693][ T9854] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 95.415620][ T9854] RIP: 0033:0x4404e9 [ 95.419543][ T9854] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 95.439382][ T9854] RSP: 002b:00007ffc0ac878f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 95.448120][ T9854] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404e9 [ 95.456157][ T9854] RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004 [ 95.464136][ T9854] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 95.472159][ T9854] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401d70 [ 95.480122][ T9854] R13: 0000000000401e00 R14: 0000000000000000 R15: 0000000000000000 [ 95.488216][ T9854] [ 95.490655][ T9854] Allocated by task 9854: [ 95.494995][ T9854] save_stack+0x23/0x90 [ 95.499142][ T9854] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 95.504874][ T9854] kasan_kmalloc+0x9/0x10 [ 95.509911][ T9854] __kmalloc+0x163/0x770 [ 95.514154][ T9854] ip_set_alloc+0x38/0x5e [ 95.518482][ T9854] bitmap_port_create+0x3dc/0x7c0 [ 95.523541][ T9854] ip_set_create+0x6f1/0x1500 [ 95.528253][ T9854] nfnetlink_rcv_msg+0xcf2/0xfb0 [ 95.533175][ T9854] netlink_rcv_skb+0x177/0x450 [ 95.537940][ T9854] nfnetlink_rcv+0x1ba/0x460 [ 95.542534][ T9854] netlink_unicast+0x59e/0x7e0 [ 95.547409][ T9854] netlink_sendmsg+0x91c/0xea0 [ 95.552191][ T9854] sock_sendmsg+0xd7/0x130 [ 95.556887][ T9854] ____sys_sendmsg+0x753/0x880 [ 95.561640][ T9854] ___sys_sendmsg+0x100/0x170 [ 95.566333][ T9854] __sys_sendmsg+0x105/0x1d0 [ 95.570921][ T9854] __x64_sys_sendmsg+0x78/0xb0 [ 95.575696][ T9854] do_syscall_64+0xfa/0x790 [ 95.580228][ T9854] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 95.586159][ T9854] [ 95.588488][ T9854] Freed by task 9582: [ 95.592469][ T9854] save_stack+0x23/0x90 [ 95.596608][ T9854] __kasan_slab_free+0x102/0x150 [ 95.601737][ T9854] kasan_slab_free+0xe/0x10 [ 95.606244][ T9854] kfree+0x10a/0x2c0 [ 95.610134][ T9854] tomoyo_check_open_permission+0x19e/0x3e0 [ 95.616033][ T9854] tomoyo_file_open+0xa9/0xd0 [ 95.620725][ T9854] security_file_open+0x71/0x300 [ 95.625650][ T9854] do_dentry_open+0x365/0x1350 [ 95.630415][ T9854] vfs_open+0xa0/0xd0 [ 95.634399][ T9854] path_openat+0x12fd/0x34d0 [ 95.639021][ T9854] do_filp_open+0x192/0x260 [ 95.643510][ T9854] do_sys_openat2+0x633/0x840 [ 95.648254][ T9854] do_sys_open+0xfc/0x190 [ 95.652595][ T9854] __x64_sys_open+0x7e/0xc0 [ 95.657100][ T9854] do_syscall_64+0xfa/0x790 [ 95.661604][ T9854] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 95.667484][ T9854] [ 95.670679][ T9854] The buggy address belongs to the object at ffff8880976977c0 [ 95.670679][ T9854] which belongs to the cache kmalloc-32 of size 32 [ 95.684687][ T9854] The buggy address is located 0 bytes inside of [ 95.684687][ T9854] 32-byte region [ffff8880976977c0, ffff8880976977e0) [ 95.697910][ T9854] The buggy address belongs to the page: [ 95.703583][ T9854] page:ffffea00025da5c0 refcount:1 mapcount:0 mapping:ffff8880aa4001c0 index:0xffff888097697fc1 [ 95.713991][ T9854] flags: 0xfffe0000000200(slab) [ 95.718900][ T9854] raw: 00fffe0000000200 ffffea0002762348 ffffea0002573848 ffff8880aa4001c0 [ 95.727487][ T9854] raw: ffff888097697fc1 ffff888097697000 0000000100000024 0000000000000000 [ 95.736227][ T9854] page dumped because: kasan: bad access detected [ 95.742632][ T9854] [ 95.744944][ T9854] Memory state around the buggy address: [ 95.750627][ T9854] ffff888097697680: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 95.758794][ T9854] ffff888097697700: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 95.766943][ T9854] >ffff888097697780: fb fb fb fb fc fc fc fc 04 fc fc fc fc fc fc fc [ 95.774996][ T9854] ^ [ 95.781454][ T9854] ffff888097697800: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 95.789593][ T9854] ffff888097697880: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 95.797742][ T9854] ================================================================== [ 95.806157][ T9854] Disabling lock debugging due to kernel taint [ 95.813510][ T9854] Kernel panic - not syncing: panic_on_warn set ... [ 95.820320][ T9854] CPU: 0 PID: 9854 Comm: syz-executor653 Tainted: G B 5.5.0-rc6-next-20200116-syzkaller #0 [ 95.831598][ T9854] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 95.841657][ T9854] Call Trace: [ 95.845121][ T9854] dump_stack+0x197/0x210 [ 95.849568][ T9854] panic+0x2e3/0x75c [ 95.853516][ T9854] ? add_taint.cold+0x16/0x16 [ 95.858354][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 95.863391][ T9854] ? preempt_schedule+0x4b/0x60 [ 95.868249][ T9854] ? ___preempt_schedule+0x16/0x18 [ 95.873395][ T9854] ? trace_hardirqs_on+0x5e/0x240 [ 95.878420][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 95.883451][ T9854] end_report+0x47/0x4f [ 95.887605][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 95.892736][ T9854] __kasan_report.cold+0xe/0x32 [ 95.897592][ T9854] ? bitmap_port_list+0x3cf/0xdb0 [ 95.902620][ T9854] kasan_report+0x12/0x20 [ 95.907005][ T9854] check_memory_region+0x134/0x1a0 [ 95.912119][ T9854] __kasan_check_read+0x11/0x20 [ 95.916985][ T9854] bitmap_port_list+0x3cf/0xdb0 [ 95.921842][ T9854] ? bitmap_port_head+0x296/0x600 [ 95.926988][ T9854] ? bitmap_port_del+0x380/0x380 [ 95.932028][ T9854] ? nla_put+0x110/0x150 [ 95.936272][ T9854] ip_set_dump_start+0x96c/0x1ca0 [ 95.941303][ T9854] ? ip_set_rename+0x720/0x720 [ 95.946076][ T9854] ? __kmalloc_reserve.isra.0+0x70/0xf0 [ 95.951743][ T9854] ? __lock_acquire+0x2660/0x4a00 [ 95.956858][ T9854] ? __kasan_check_write+0x14/0x20 [ 95.962004][ T9854] netlink_dump+0x558/0xfb0 [ 95.966520][ T9854] ? __netlink_sendskb+0xc0/0xc0 [ 95.971474][ T9854] __netlink_dump_start+0x673/0x930 [ 95.976696][ T9854] ip_set_dump+0x15a/0x1d0 [ 95.981114][ T9854] ? call_ad+0x5a0/0x5a0 [ 95.985357][ T9854] ? ip_set_rename+0x720/0x720 [ 95.990335][ T9854] ? __ip_set_put_netlink.isra.0+0x90/0x90 [ 95.996139][ T9854] ? call_ad+0x5a0/0x5a0 [ 96.000935][ T9854] nfnetlink_rcv_msg+0xcf2/0xfb0 [ 96.005912][ T9854] ? nfnetlink_bind+0x2c0/0x2c0 [ 96.010770][ T9854] ? __kasan_check_read+0x11/0x20 [ 96.015805][ T9854] ? __lock_acquire+0x8a0/0x4a00 [ 96.020746][ T9854] ? save_stack+0x5c/0x90 [ 96.025084][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.031948][ T9854] ? apparmor_capable+0x4df/0x910 [ 96.036983][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.043312][ T9854] ? __kasan_check_read+0x11/0x20 [ 96.048348][ T9854] ? apparmor_cred_prepare+0x7b0/0x7b0 [ 96.053794][ T9854] netlink_rcv_skb+0x177/0x450 [ 96.058583][ T9854] ? nfnetlink_bind+0x2c0/0x2c0 [ 96.063511][ T9854] ? netlink_ack+0xb50/0xb50 [ 96.068096][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.074448][ T9854] ? ns_capable_common+0x93/0x100 [ 96.079472][ T9854] ? ns_capable+0x20/0x30 [ 96.083804][ T9854] ? __netlink_ns_capable+0x104/0x140 [ 96.089206][ T9854] nfnetlink_rcv+0x1ba/0x460 [ 96.093940][ T9854] ? nfnetlink_rcv_batch+0x1780/0x1780 [ 96.099410][ T9854] ? netlink_deliver_tap+0x248/0xbf0 [ 96.104699][ T9854] ? __kasan_check_write+0x14/0x20 [ 96.109800][ T9854] netlink_unicast+0x59e/0x7e0 [ 96.114632][ T9854] ? netlink_attachskb+0x870/0x870 [ 96.119743][ T9854] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 96.125456][ T9854] ? __check_object_size+0x3d/0x437 [ 96.130653][ T9854] netlink_sendmsg+0x91c/0xea0 [ 96.135442][ T9854] ? netlink_unicast+0x7e0/0x7e0 [ 96.140379][ T9854] ? aa_sock_msg_perm.isra.0+0xba/0x170 [ 96.145933][ T9854] ? apparmor_socket_sendmsg+0x2a/0x30 [ 96.151400][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.157644][ T9854] ? security_socket_sendmsg+0x8d/0xc0 [ 96.163461][ T9854] ? netlink_unicast+0x7e0/0x7e0 [ 96.168394][ T9854] sock_sendmsg+0xd7/0x130 [ 96.172811][ T9854] ____sys_sendmsg+0x753/0x880 [ 96.177915][ T9854] ? kernel_sendmsg+0x50/0x50 [ 96.182592][ T9854] ? lockdep_init_map+0x1be/0x6d0 [ 96.188049][ T9854] ___sys_sendmsg+0x100/0x170 [ 96.192727][ T9854] ? sendmsg_copy_msghdr+0x70/0x70 [ 96.198055][ T9854] ? __kasan_check_read+0x11/0x20 [ 96.203129][ T9854] ? __lock_acquire+0x8a0/0x4a00 [ 96.208067][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.214572][ T9854] ? __this_cpu_preempt_check+0x35/0x190 [ 96.220209][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.226500][ T9854] ? percpu_counter_add_batch+0x13c/0x190 [ 96.232228][ T9854] ? __fd_install+0x1bc/0x640 [ 96.236922][ T9854] ? find_held_lock+0x35/0x130 [ 96.241717][ T9854] ? __fd_install+0x1bc/0x640 [ 96.246405][ T9854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 96.252660][ T9854] ? __fget_light+0x1ad/0x270 [ 96.257331][ T9854] ? __fdget+0x1b/0x20 [ 96.261701][ T9854] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 96.267930][ T9854] __sys_sendmsg+0x105/0x1d0 [ 96.272572][ T9854] ? __sys_sendmsg_sock+0xc0/0xc0 [ 96.277602][ T9854] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 96.283168][ T9854] ? do_syscall_64+0x26/0x790 [ 96.287919][ T9854] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 96.294182][ T9854] ? do_syscall_64+0x26/0x790 [ 96.298904][ T9854] __x64_sys_sendmsg+0x78/0xb0 [ 96.303676][ T9854] do_syscall_64+0xfa/0x790 [ 96.308259][ T9854] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 96.314163][ T9854] RIP: 0033:0x4404e9 [ 96.318051][ T9854] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 96.337957][ T9854] RSP: 002b:00007ffc0ac878f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 96.346379][ T9854] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404e9 [ 96.354355][ T9854] RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004 [ 96.362339][ T9854] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 96.370303][ T9854] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401d70 [ 96.378535][ T9854] R13: 0000000000401e00 R14: 0000000000000000 R15: 0000000000000000 [ 96.388129][ T9854] Kernel Offset: disabled [ 96.392720][ T9854] Rebooting in 86400 seconds..