[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 56.386265][ T27] audit: type=1800 audit(1579463584.721:25): pid=8555 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 56.410498][ T27] audit: type=1800 audit(1579463584.721:26): pid=8555 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 56.475803][ T27] audit: type=1800 audit(1579463584.721:27): pid=8555 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.10.30' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 75.868727][ T8711] ================================================================== [ 75.876895][ T8711] BUG: KASAN: use-after-free in bitmap_ip_destroy+0x1f2/0x3c0 [ 75.884328][ T8711] Read of size 8 at addr ffff888096ae7ec0 by task syz-executor670/8711 [ 75.892579][ T8711] [ 75.894896][ T8711] CPU: 0 PID: 8711 Comm: syz-executor670 Not tainted 5.5.0-rc6-syzkaller #0 [ 75.903539][ T8711] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.913569][ T8711] Call Trace: [ 75.916899][ T8711] dump_stack+0x1fb/0x318 [ 75.921209][ T8711] print_address_description+0x74/0x5c0 [ 75.926728][ T8711] ? vprintk_default+0x28/0x30 [ 75.931476][ T8711] ? vprintk_func+0x158/0x170 [ 75.936127][ T8711] ? printk+0x62/0x8d [ 75.940093][ T8711] __kasan_report+0x149/0x1c0 [ 75.944755][ T8711] ? bitmap_ip_destroy+0x1f2/0x3c0 [ 75.949840][ T8711] kasan_report+0x26/0x50 [ 75.954144][ T8711] check_memory_region+0x2b6/0x2f0 [ 75.959246][ T8711] __kasan_check_read+0x11/0x20 [ 75.964070][ T8711] bitmap_ip_destroy+0x1f2/0x3c0 [ 75.969003][ T8711] ip_set_create+0xae0/0xfd0 [ 75.973588][ T8711] ? ip_set_protocol+0x5b0/0x5b0 [ 75.978517][ T8711] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 75.983459][ T8711] ? cap_capable+0x25b/0x290 [ 75.988025][ T8711] ? cap_capable+0x25b/0x290 [ 75.992591][ T8711] netlink_rcv_skb+0x19e/0x3e0 [ 75.997356][ T8711] ? nfnetlink_bind+0x250/0x250 [ 76.002199][ T8711] nfnetlink_rcv+0x1e0/0x1e50 [ 76.006885][ T8711] ? rcu_lock_release+0x9/0x30 [ 76.011635][ T8711] ? rcu_lock_release+0x21/0x30 [ 76.016525][ T8711] ? netlink_deliver_tap+0x142/0x880 [ 76.021898][ T8711] netlink_unicast+0x767/0x920 [ 76.026653][ T8711] netlink_sendmsg+0xa2c/0xd50 [ 76.031422][ T8711] ? netlink_getsockopt+0x9f0/0x9f0 [ 76.036610][ T8711] ____sys_sendmsg+0x4f7/0x7f0 [ 76.041357][ T8711] __sys_sendmsg+0x1ed/0x290 [ 76.045945][ T8711] ? up_read+0x1d/0x20 [ 76.050000][ T8711] ? do_user_addr_fault+0x654/0xaf0 [ 76.055185][ T8711] ? check_preemption_disabled+0xb4/0x260 [ 76.060891][ T8711] ? debug_smp_processor_id+0x9/0x20 [ 76.066166][ T8711] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 76.071608][ T8711] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 76.077317][ T8711] ? do_syscall_64+0x1d/0x1c0 [ 76.082024][ T8711] __x64_sys_sendmsg+0x7f/0x90 [ 76.086775][ T8711] do_syscall_64+0xf7/0x1c0 [ 76.091268][ T8711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.097159][ T8711] RIP: 0033:0x441459 [ 76.101038][ T8711] Code: e8 fc ab 02 00 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 9b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 76.120625][ T8711] RSP: 002b:00007ffc4e627408 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 76.129028][ T8711] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441459 [ 76.137033][ T8711] RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003 [ 76.145106][ T8711] RBP: 000000000001283d R08: 00000000004002c8 R09: 00000000004002c8 [ 76.153099][ T8711] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402280 [ 76.161067][ T8711] R13: 0000000000402310 R14: 0000000000000000 R15: 0000000000000000 [ 76.169039][ T8711] [ 76.171351][ T8711] Allocated by task 8711: [ 76.175666][ T8711] __kasan_kmalloc+0x118/0x1c0 [ 76.181234][ T8711] kasan_kmalloc+0x9/0x10 [ 76.185564][ T8711] __kmalloc+0x254/0x340 [ 76.189796][ T8711] kzalloc+0x21/0x40 [ 76.193677][ T8711] ip_set_alloc+0x32/0x60 [ 76.197992][ T8711] bitmap_ip_create+0x48b/0xac0 [ 76.202822][ T8711] ip_set_create+0x421/0xfd0 [ 76.207393][ T8711] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 76.212314][ T8711] netlink_rcv_skb+0x19e/0x3e0 [ 76.217062][ T8711] nfnetlink_rcv+0x1e0/0x1e50 [ 76.221789][ T8711] netlink_unicast+0x767/0x920 [ 76.226541][ T8711] netlink_sendmsg+0xa2c/0xd50 [ 76.231317][ T8711] ____sys_sendmsg+0x4f7/0x7f0 [ 76.236070][ T8711] __sys_sendmsg+0x1ed/0x290 [ 76.240640][ T8711] __x64_sys_sendmsg+0x7f/0x90 [ 76.245385][ T8711] do_syscall_64+0xf7/0x1c0 [ 76.249878][ T8711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.255754][ T8711] [ 76.258067][ T8711] Freed by task 8711: [ 76.262074][ T8711] __kasan_slab_free+0x12e/0x1e0 [ 76.266999][ T8711] kasan_slab_free+0xe/0x10 [ 76.271657][ T8711] kfree+0x10d/0x220 [ 76.275548][ T8711] kvfree+0x46/0x50 [ 76.279373][ T8711] ip_set_free+0x15/0x20 [ 76.283708][ T8711] bitmap_ip_destroy+0xb6/0x3c0 [ 76.288541][ T8711] ip_set_create+0xae0/0xfd0 [ 76.293112][ T8711] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 76.298035][ T8711] netlink_rcv_skb+0x19e/0x3e0 [ 76.302782][ T8711] nfnetlink_rcv+0x1e0/0x1e50 [ 76.307455][ T8711] netlink_unicast+0x767/0x920 [ 76.312248][ T8711] netlink_sendmsg+0xa2c/0xd50 [ 76.317002][ T8711] ____sys_sendmsg+0x4f7/0x7f0 [ 76.321838][ T8711] __sys_sendmsg+0x1ed/0x290 [ 76.326416][ T8711] __x64_sys_sendmsg+0x7f/0x90 [ 76.331165][ T8711] do_syscall_64+0xf7/0x1c0 [ 76.335649][ T8711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.341519][ T8711] [ 76.343944][ T8711] The buggy address belongs to the object at ffff888096ae7ec0 [ 76.343944][ T8711] which belongs to the cache kmalloc-32 of size 32 [ 76.357845][ T8711] The buggy address is located 0 bytes inside of [ 76.357845][ T8711] 32-byte region [ffff888096ae7ec0, ffff888096ae7ee0) [ 76.370840][ T8711] The buggy address belongs to the page: [ 76.376464][ T8711] page:ffffea00025ab9c0 refcount:1 mapcount:0 mapping:ffff8880aa8001c0 index:0xffff888096ae7fc1 [ 76.386858][ T8711] raw: 00fffe0000000200 ffffea00027e2388 ffffea0002844388 ffff8880aa8001c0 [ 76.395436][ T8711] raw: ffff888096ae7fc1 ffff888096ae7000 000000010000003a 0000000000000000 [ 76.404523][ T8711] page dumped because: kasan: bad access detected [ 76.410955][ T8711] [ 76.413271][ T8711] Memory state around the buggy address: [ 76.418885][ T8711] ffff888096ae7d80: fb fb fb fb fc fc fc fc 00 00 01 fc fc fc fc fc [ 76.426933][ T8711] ffff888096ae7e00: 00 02 fc fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 76.434974][ T8711] >ffff888096ae7e80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 76.443072][ T8711] ^ [ 76.449318][ T8711] ffff888096ae7f00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 76.457405][ T8711] ffff888096ae7f80: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc [ 76.465446][ T8711] ================================================================== [ 76.473484][ T8711] Disabling lock debugging due to kernel taint [ 76.479960][ T8711] Kernel panic - not syncing: panic_on_warn set ... [ 76.486544][ T8711] CPU: 0 PID: 8711 Comm: syz-executor670 Tainted: G B 5.5.0-rc6-syzkaller #0 [ 76.496627][ T8711] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 76.506661][ T8711] Call Trace: [ 76.509934][ T8711] dump_stack+0x1fb/0x318 [ 76.514240][ T8711] panic+0x264/0x7a9 [ 76.518112][ T8711] ? __kasan_report+0x193/0x1c0 [ 76.522981][ T8711] ? trace_hardirqs_on+0x34/0x80 [ 76.527895][ T8711] ? __kasan_report+0x193/0x1c0 [ 76.532726][ T8711] __kasan_report+0x1b9/0x1c0 [ 76.537382][ T8711] ? bitmap_ip_destroy+0x1f2/0x3c0 [ 76.542515][ T8711] kasan_report+0x26/0x50 [ 76.546859][ T8711] check_memory_region+0x2b6/0x2f0 [ 76.551945][ T8711] __kasan_check_read+0x11/0x20 [ 76.556769][ T8711] bitmap_ip_destroy+0x1f2/0x3c0 [ 76.561692][ T8711] ip_set_create+0xae0/0xfd0 [ 76.566265][ T8711] ? ip_set_protocol+0x5b0/0x5b0 [ 76.571184][ T8711] nfnetlink_rcv_msg+0x9ae/0xcd0 [ 76.576113][ T8711] ? cap_capable+0x25b/0x290 [ 76.580722][ T8711] ? cap_capable+0x25b/0x290 [ 76.585296][ T8711] netlink_rcv_skb+0x19e/0x3e0 [ 76.590045][ T8711] ? nfnetlink_bind+0x250/0x250 [ 76.594880][ T8711] nfnetlink_rcv+0x1e0/0x1e50 [ 76.599601][ T8711] ? rcu_lock_release+0x9/0x30 [ 76.604344][ T8711] ? rcu_lock_release+0x21/0x30 [ 76.609179][ T8711] ? netlink_deliver_tap+0x142/0x880 [ 76.614551][ T8711] netlink_unicast+0x767/0x920 [ 76.619307][ T8711] netlink_sendmsg+0xa2c/0xd50 [ 76.624088][ T8711] ? netlink_getsockopt+0x9f0/0x9f0 [ 76.629278][ T8711] ____sys_sendmsg+0x4f7/0x7f0 [ 76.634019][ T8711] __sys_sendmsg+0x1ed/0x290 [ 76.638602][ T8711] ? up_read+0x1d/0x20 [ 76.642710][ T8711] ? do_user_addr_fault+0x654/0xaf0 [ 76.647893][ T8711] ? check_preemption_disabled+0xb4/0x260 [ 76.653594][ T8711] ? debug_smp_processor_id+0x9/0x20 [ 76.658880][ T8711] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 76.664327][ T8711] ? trace_irq_disable_rcuidle+0x23/0x1e0 [ 76.670056][ T8711] ? do_syscall_64+0x1d/0x1c0 [ 76.674711][ T8711] __x64_sys_sendmsg+0x7f/0x90 [ 76.679458][ T8711] do_syscall_64+0xf7/0x1c0 [ 76.684817][ T8711] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.690806][ T8711] RIP: 0033:0x441459 [ 76.694680][ T8711] Code: e8 fc ab 02 00 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 9b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 76.714271][ T8711] RSP: 002b:00007ffc4e627408 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 76.722668][ T8711] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441459 [ 76.730630][ T8711] RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003 [ 76.738584][ T8711] RBP: 000000000001283d R08: 00000000004002c8 R09: 00000000004002c8 [ 76.746646][ T8711] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402280 [ 76.754600][ T8711] R13: 0000000000402310 R14: 0000000000000000 R15: 0000000000000000 [ 76.763199][ T8711] Kernel Offset: disabled [ 76.767521][ T8711] Rebooting in 86400 seconds..