[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 57.072034][ T27] audit: type=1800 audit(1579557118.274:25): pid=8813 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 57.097307][ T27] audit: type=1800 audit(1579557118.274:26): pid=8813 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 57.138105][ T27] audit: type=1800 audit(1579557118.284:27): pid=8813 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 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.74' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 69.461289][ T8966] ================================================================== [ 69.469622][ T8966] BUG: KASAN: slab-out-of-bounds in bitmap_ip_del+0xb4/0x310 [ 69.477004][ T8966] Write of size 8 at addr ffff8880a3a8aa00 by task syz-executor536/8966 [ 69.486859][ T8966] [ 69.489192][ T8966] CPU: 1 PID: 8966 Comm: syz-executor536 Not tainted 5.5.0-rc7-syzkaller #0 [ 69.497850][ T8966] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 69.507897][ T8966] Call Trace: [ 69.511327][ T8966] dump_stack+0x1fb/0x318 [ 69.515659][ T8966] print_address_description+0x74/0x5c0 [ 69.521210][ T8966] ? vprintk_default+0x28/0x30 [ 69.525976][ T8966] ? vprintk_func+0x158/0x170 [ 69.530735][ T8966] ? printk+0x62/0x8d [ 69.534726][ T8966] __kasan_report+0x149/0x1c0 [ 69.539401][ T8966] ? bitmap_ip_del+0xb4/0x310 [ 69.544092][ T8966] kasan_report+0x26/0x50 [ 69.548412][ T8966] check_memory_region+0x2b6/0x2f0 [ 69.553551][ T8966] __kasan_check_write+0x14/0x20 [ 69.558577][ T8966] bitmap_ip_del+0xb4/0x310 [ 69.563067][ T8966] bitmap_ip_uadt+0x6bf/0xa60 [ 69.567742][ T8966] ? bitmap_ip_add+0x870/0x870 [ 69.573525][ T8966] call_ad+0x10a/0x5b0 [ 69.577688][ T8966] ? __nla_parse+0x41/0x50 [ 69.582221][ T8966] ip_set_ad+0x6a9/0x860 [ 69.586483][ T8966] ip_set_udel+0x3a/0x50 [ 69.590862][ T8966] ? ip_set_uadd+0x50/0x50 [ 69.595276][ T8966] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 69.600386][ T8966] ? cap_capable+0x25b/0x290 [ 69.605022][ T8966] ? cap_capable+0x25b/0x290 [ 69.609658][ T8966] netlink_rcv_skb+0x19e/0x3e0 [ 69.614572][ T8966] ? nfnetlink_bind+0x250/0x250 [ 69.619487][ T8966] nfnetlink_rcv+0x1e0/0x1e50 [ 69.624252][ T8966] ? rcu_lock_release+0x9/0x30 [ 69.630011][ T8966] ? rcu_lock_release+0x21/0x30 [ 69.634859][ T8966] ? netlink_deliver_tap+0x142/0x880 [ 69.640313][ T8966] netlink_unicast+0x767/0x920 [ 69.645090][ T8966] netlink_sendmsg+0xa2c/0xd50 [ 69.649858][ T8966] ? netlink_getsockopt+0x9f0/0x9f0 [ 69.655154][ T8966] ____sys_sendmsg+0x4f7/0x7f0 [ 69.659922][ T8966] __sys_sendmsg+0x1ed/0x290 [ 69.664520][ T8966] ? check_preemption_disabled+0xb4/0x260 [ 69.670670][ T8966] ? debug_smp_processor_id+0x9/0x20 [ 69.676397][ T8966] ? debug_smp_processor_id+0x1c/0x20 [ 69.681873][ T8966] ? fpregs_assert_state_consistent+0xb6/0xe0 [ 69.688158][ T8966] ? prepare_exit_to_usermode+0x221/0x5b0 [ 69.694226][ T8966] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 69.700139][ T8966] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 69.705993][ T8966] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 69.711742][ T8966] ? do_syscall_64+0x1d/0x1c0 [ 69.716419][ T8966] __x64_sys_sendmsg+0x7f/0x90 [ 69.721187][ T8966] do_syscall_64+0xf7/0x1c0 [ 69.725678][ T8966] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 69.731691][ T8966] RIP: 0033:0x440689 [ 69.735587][ T8966] 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 [ 69.755837][ T8966] RSP: 002b:00007ffff64c4b18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 69.764408][ T8966] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440689 [ 69.772375][ T8966] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 [ 69.780630][ T8966] RBP: 00000000006ca018 R08: 000000000000001c R09: 00000000004002c8 [ 69.788825][ T8966] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000401f10 [ 69.796965][ T8966] R13: 0000000000401fa0 R14: 0000000000000000 R15: 0000000000000000 [ 69.804969][ T8966] [ 69.807287][ T8966] Allocated by task 8966: [ 69.811678][ T8966] __kasan_kmalloc+0x118/0x1c0 [ 69.816426][ T8966] kasan_kmalloc+0x9/0x10 [ 69.820810][ T8966] __kmalloc+0x254/0x340 [ 69.825171][ T8966] kzalloc+0x21/0x40 [ 69.829209][ T8966] ip_set_alloc+0x32/0x60 [ 69.833538][ T8966] bitmap_ip_create+0x48b/0xac0 [ 69.838428][ T8966] ip_set_create+0x421/0xfd0 [ 69.843003][ T8966] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 69.850193][ T8966] netlink_rcv_skb+0x19e/0x3e0 [ 69.855350][ T8966] nfnetlink_rcv+0x1e0/0x1e50 [ 69.860079][ T8966] netlink_unicast+0x767/0x920 [ 69.864842][ T8966] netlink_sendmsg+0xa2c/0xd50 [ 69.869751][ T8966] ____sys_sendmsg+0x4f7/0x7f0 [ 69.874653][ T8966] __sys_sendmsg+0x1ed/0x290 [ 69.879443][ T8966] __x64_sys_sendmsg+0x7f/0x90 [ 69.884197][ T8966] do_syscall_64+0xf7/0x1c0 [ 69.888901][ T8966] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 69.894994][ T8966] [ 69.897420][ T8966] Freed by task 8679: [ 69.901574][ T8966] __kasan_slab_free+0x12e/0x1e0 [ 69.906640][ T8966] kasan_slab_free+0xe/0x10 [ 69.911145][ T8966] kfree+0x10d/0x220 [ 69.915052][ T8966] tomoyo_check_open_permission+0x79c/0x9d0 [ 69.921004][ T8966] tomoyo_file_open+0x141/0x190 [ 69.925868][ T8966] security_file_open+0x50/0x2e0 [ 69.930817][ T8966] do_dentry_open+0x351/0x10c0 [ 69.935698][ T8966] vfs_open+0x73/0x80 [ 69.939680][ T8966] path_openat+0x1367/0x4250 [ 69.944276][ T8966] do_filp_open+0x192/0x3d0 [ 69.948771][ T8966] do_sys_open+0x29f/0x560 [ 69.953297][ T8966] __x64_sys_open+0x87/0x90 [ 69.957909][ T8966] do_syscall_64+0xf7/0x1c0 [ 69.962516][ T8966] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 69.968421][ T8966] [ 69.970760][ T8966] The buggy address belongs to the object at ffff8880a3a8aa00 [ 69.970760][ T8966] which belongs to the cache kmalloc-32 of size 32 [ 69.984647][ T8966] The buggy address is located 0 bytes inside of [ 69.984647][ T8966] 32-byte region [ffff8880a3a8aa00, ffff8880a3a8aa20) [ 69.997709][ T8966] The buggy address belongs to the page: [ 70.003508][ T8966] page:ffffea00028ea280 refcount:1 mapcount:0 mapping:ffff8880aa8001c0 index:0xffff8880a3a8afc1 [ 70.013922][ T8966] raw: 00fffe0000000200 ffffea00029db148 ffffea0002940588 ffff8880aa8001c0 [ 70.022509][ T8966] raw: ffff8880a3a8afc1 ffff8880a3a8a000 0000000100000030 0000000000000000 [ 70.031300][ T8966] page dumped because: kasan: bad access detected [ 70.038043][ T8966] [ 70.040365][ T8966] Memory state around the buggy address: [ 70.046000][ T8966] ffff8880a3a8a900: fb fb fb fb fc fc fc fc 00 00 01 fc fc fc fc fc [ 70.054068][ T8966] ffff8880a3a8a980: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 70.062269][ T8966] >ffff8880a3a8aa00: 04 fc fc fc fc fc fc fc 00 00 01 fc fc fc fc fc [ 70.072986][ T8966] ^ [ 70.077158][ T8966] ffff8880a3a8aa80: 00 03 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 70.085313][ T8966] ffff8880a3a8ab00: 00 00 00 fc fc fc fc fc 00 00 01 fc fc fc fc fc [ 70.093496][ T8966] ================================================================== [ 70.102449][ T8966] Disabling lock debugging due to kernel taint [ 70.109286][ T8966] Kernel panic - not syncing: panic_on_warn set ... [ 70.116515][ T8966] CPU: 1 PID: 8966 Comm: syz-executor536 Tainted: G B 5.5.0-rc7-syzkaller #0 [ 70.126566][ T8966] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.136893][ T8966] Call Trace: [ 70.140207][ T8966] dump_stack+0x1fb/0x318 [ 70.144795][ T8966] panic+0x264/0x7a9 [ 70.148734][ T8966] ? __kasan_report+0x193/0x1c0 [ 70.153711][ T8966] ? trace_hardirqs_on+0x34/0x80 [ 70.158707][ T8966] ? _raw_spin_unlock_irqrestore+0xa8/0xe0 [ 70.164512][ T8966] __kasan_report+0x1b9/0x1c0 [ 70.169278][ T8966] ? bitmap_ip_del+0xb4/0x310 [ 70.173985][ T8966] kasan_report+0x26/0x50 [ 70.178312][ T8966] check_memory_region+0x2b6/0x2f0 [ 70.183670][ T8966] __kasan_check_write+0x14/0x20 [ 70.188610][ T8966] bitmap_ip_del+0xb4/0x310 [ 70.193112][ T8966] bitmap_ip_uadt+0x6bf/0xa60 [ 70.197776][ T8966] ? bitmap_ip_add+0x870/0x870 [ 70.202664][ T8966] call_ad+0x10a/0x5b0 [ 70.206734][ T8966] ? __nla_parse+0x41/0x50 [ 70.211234][ T8966] ip_set_ad+0x6a9/0x860 [ 70.215479][ T8966] ip_set_udel+0x3a/0x50 [ 70.219990][ T8966] ? ip_set_uadd+0x50/0x50 [ 70.224410][ T8966] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 70.229464][ T8966] ? cap_capable+0x25b/0x290 [ 70.234166][ T8966] ? cap_capable+0x25b/0x290 [ 70.238760][ T8966] netlink_rcv_skb+0x19e/0x3e0 [ 70.244654][ T8966] ? nfnetlink_bind+0x250/0x250 [ 70.249487][ T8966] nfnetlink_rcv+0x1e0/0x1e50 [ 70.254151][ T8966] ? rcu_lock_release+0x9/0x30 [ 70.258992][ T8966] ? rcu_lock_release+0x21/0x30 [ 70.263872][ T8966] ? netlink_deliver_tap+0x142/0x880 [ 70.269163][ T8966] netlink_unicast+0x767/0x920 [ 70.274033][ T8966] netlink_sendmsg+0xa2c/0xd50 [ 70.278793][ T8966] ? netlink_getsockopt+0x9f0/0x9f0 [ 70.283995][ T8966] ____sys_sendmsg+0x4f7/0x7f0 [ 70.289195][ T8966] __sys_sendmsg+0x1ed/0x290 [ 70.293846][ T8966] ? check_preemption_disabled+0xb4/0x260 [ 70.299578][ T8966] ? debug_smp_processor_id+0x9/0x20 [ 70.304866][ T8966] ? debug_smp_processor_id+0x1c/0x20 [ 70.311107][ T8966] ? fpregs_assert_state_consistent+0xb6/0xe0 [ 70.317233][ T8966] ? prepare_exit_to_usermode+0x221/0x5b0 [ 70.323396][ T8966] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 70.329122][ T8966] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 70.334568][ T8966] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 70.340488][ T8966] ? do_syscall_64+0x1d/0x1c0 [ 70.345186][ T8966] __x64_sys_sendmsg+0x7f/0x90 [ 70.349941][ T8966] do_syscall_64+0xf7/0x1c0 [ 70.354464][ T8966] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.360455][ T8966] RIP: 0033:0x440689 [ 70.364342][ T8966] 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 [ 70.384054][ T8966] RSP: 002b:00007ffff64c4b18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 70.392550][ T8966] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440689 [ 70.400519][ T8966] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 [ 70.408485][ T8966] RBP: 00000000006ca018 R08: 000000000000001c R09: 00000000004002c8 [ 70.416552][ T8966] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000401f10 [ 70.424519][ T8966] R13: 0000000000401fa0 R14: 0000000000000000 R15: 0000000000000000 [ 70.433991][ T8966] Kernel Offset: disabled [ 70.438526][ T8966] Rebooting in 86400 seconds..