[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.144' (ECDSA) to the list of known hosts. 2020/08/21 06:08:21 parsed 1 programs 2020/08/21 06:08:22 executed programs: 0 syzkaller login: [ 1048.931184][ T28] audit: type=1400 audit(1597990102.316:8): avc: denied { execmem } for pid=6865 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 1050.121088][ T6866] IPVS: ftp: loaded support on port[0] = 21 [ 1050.293506][ T6866] chnl_net:caif_netlink_parms(): no params data found [ 1050.348275][ T6866] bridge0: port 1(bridge_slave_0) entered blocking state [ 1050.355974][ T6866] bridge0: port 1(bridge_slave_0) entered disabled state [ 1050.363723][ T6866] device bridge_slave_0 entered promiscuous mode [ 1050.373306][ T6866] bridge0: port 2(bridge_slave_1) entered blocking state [ 1050.380501][ T6866] bridge0: port 2(bridge_slave_1) entered disabled state [ 1050.388627][ T6866] device bridge_slave_1 entered promiscuous mode [ 1050.408545][ T6866] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 1050.419378][ T6866] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 1050.441655][ T6866] team0: Port device team_slave_0 added [ 1050.449203][ T6866] team0: Port device team_slave_1 added [ 1050.467190][ T6866] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1050.474137][ T6866] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 1050.500060][ T6866] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1050.512451][ T6866] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1050.519472][ T6866] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 1050.545395][ T6866] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1050.572690][ T6866] device hsr_slave_0 entered promiscuous mode [ 1050.579714][ T6866] device hsr_slave_1 entered promiscuous mode [ 1050.677896][ T6866] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 1050.690088][ T6866] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 1050.700134][ T6866] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 1050.710529][ T6866] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 1050.735565][ T6866] bridge0: port 2(bridge_slave_1) entered blocking state [ 1050.742853][ T6866] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1050.750830][ T6866] bridge0: port 1(bridge_slave_0) entered blocking state [ 1050.757984][ T6866] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1050.804221][ T6866] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1050.819431][ T2584] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1050.830476][ T2584] bridge0: port 1(bridge_slave_0) entered disabled state [ 1050.839250][ T2584] bridge0: port 2(bridge_slave_1) entered disabled state [ 1050.848158][ T2584] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1050.861350][ T6866] 8021q: adding VLAN 0 to HW filter on device team0 [ 1050.872750][ T6836] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1050.881811][ T6836] bridge0: port 1(bridge_slave_0) entered blocking state [ 1050.888933][ T6836] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1050.905649][ T2584] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1050.914063][ T2584] bridge0: port 2(bridge_slave_1) entered blocking state [ 1050.921181][ T2584] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1050.944508][ T6866] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 1050.955681][ T6866] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1050.970462][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1050.980180][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1050.989449][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1050.998866][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1051.007995][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1051.015819][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1051.035483][ T6836] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1051.042879][ T6836] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1051.054656][ T6866] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1051.075282][ T6836] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1051.096078][ T2634] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1051.104334][ T2634] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1051.113691][ T2634] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1051.123545][ T6866] device veth0_vlan entered promiscuous mode [ 1051.136521][ T6866] device veth1_vlan entered promiscuous mode [ 1051.159357][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1051.168111][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1051.176977][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1051.188251][ T6866] device veth0_macvtap entered promiscuous mode [ 1051.199063][ T6866] device veth1_macvtap entered promiscuous mode [ 1051.217089][ T6866] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1051.224509][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1051.237449][ T6835] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1051.248565][ T6866] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1051.256731][ T2584] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1051.269638][ T6866] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 1051.278587][ T6866] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 1051.294972][ T6866] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 1051.306641][ T6866] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 1052.095951][ T2634] Bluetooth: hci0: command 0x0409 tx timeout 2020/08/21 06:08:27 executed programs: 60 [ 1054.175236][ T6835] Bluetooth: hci0: command 0x041b tx timeout [ 1056.255124][ T7086] Bluetooth: hci0: command 0x040f tx timeout [ 1058.334354][ T8411] Bluetooth: hci0: command 0x0419 tx timeout 2020/08/21 06:08:32 executed programs: 185 2020/08/21 06:08:37 executed programs: 311 [ 1065.269727][ T9996] ================================================================== [ 1065.278138][ T9996] BUG: KASAN: use-after-free in do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.285787][ T9996] Read of size 8 at addr ffff8880a6163eb0 by task syz-executor.0/9996 [ 1065.293938][ T9996] [ 1065.296278][ T9996] CPU: 0 PID: 9996 Comm: syz-executor.0 Not tainted 5.9.0-rc1-syzkaller #0 [ 1065.304868][ T9996] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1065.314936][ T9996] Call Trace: [ 1065.318350][ T9996] dump_stack+0x18f/0x20d [ 1065.322668][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.327936][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.333245][ T9996] print_address_description.constprop.0.cold+0xae/0x497 [ 1065.340306][ T9996] ? __up_read+0x338/0x7b0 [ 1065.344823][ T9996] ? vprintk_func+0x97/0x1a6 [ 1065.349398][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.354666][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.360011][ T9996] kasan_report.cold+0x1f/0x37 [ 1065.364788][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.370054][ T9996] do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.375210][ T9996] ? _copy_to_user+0x126/0x160 [ 1065.379959][ T9996] ? swapin_walk_pmd_entry+0x7b0/0x7b0 [ 1065.385437][ T9996] ? put_timespec64+0xcb/0x120 [ 1065.390196][ T9996] ? ns_to_timespec64+0xc0/0xc0 [ 1065.395214][ T9996] ? lock_is_held_type+0xbb/0xf0 [ 1065.400132][ T9996] ? lock_is_held_type+0xbb/0xf0 [ 1065.405055][ T9996] ? syscall_enter_from_user_mode+0x20/0x290 [ 1065.411013][ T9996] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 1065.416975][ T9996] __x64_sys_madvise+0xd9/0x110 [ 1065.421807][ T9996] do_syscall_64+0x2d/0x70 [ 1065.426261][ T9996] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1065.432131][ T9996] RIP: 0033:0x45d4d9 [ 1065.436043][ T9996] Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 1065.455642][ T9996] RSP: 002b:00007f04f7464c78 EFLAGS: 00000246 ORIG_RAX: 000000000000001c [ 1065.464040][ T9996] RAX: ffffffffffffffda RBX: 0000000000020800 RCX: 000000000045d4d9 [ 1065.471985][ T9996] RDX: 0000000000000003 RSI: 0000000000600003 RDI: 0000000020000000 [ 1065.479930][ T9996] RBP: 000000000118d020 R08: 0000000000000000 R09: 0000000000000000 [ 1065.487877][ T9996] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec [ 1065.495828][ T9996] R13: 00007ffc579cce7f R14: 00007f04f74659c0 R15: 000000000118cfec [ 1065.503793][ T9996] [ 1065.506105][ T9996] Allocated by task 9992: [ 1065.510410][ T9996] kasan_save_stack+0x1b/0x40 [ 1065.515068][ T9996] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 1065.520670][ T9996] kmem_cache_alloc+0x138/0x3a0 [ 1065.525579][ T9996] vm_area_alloc+0x1c/0x110 [ 1065.530081][ T9996] mmap_region+0x8e5/0x1780 [ 1065.534556][ T9996] do_mmap+0xcf9/0x11d0 [ 1065.538707][ T9996] vm_mmap_pgoff+0x195/0x200 [ 1065.543266][ T9996] ksys_mmap_pgoff+0x43a/0x560 [ 1065.548003][ T9996] do_syscall_64+0x2d/0x70 [ 1065.552392][ T9996] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1065.558249][ T9996] [ 1065.560549][ T9996] Freed by task 9992: [ 1065.564507][ T9996] kasan_save_stack+0x1b/0x40 [ 1065.569154][ T9996] kasan_set_track+0x1c/0x30 [ 1065.573714][ T9996] kasan_set_free_info+0x1b/0x30 [ 1065.578621][ T9996] __kasan_slab_free+0xd8/0x120 [ 1065.583447][ T9996] kmem_cache_free.part.0+0x67/0x1f0 [ 1065.588737][ T9996] remove_vma+0x132/0x170 [ 1065.593039][ T9996] __do_munmap+0x743/0x1170 [ 1065.597513][ T9996] mmap_region+0x257/0x1780 [ 1065.601989][ T9996] do_mmap+0xcf9/0x11d0 [ 1065.606142][ T9996] vm_mmap_pgoff+0x195/0x200 [ 1065.610702][ T9996] ksys_mmap_pgoff+0x43a/0x560 [ 1065.615438][ T9996] do_syscall_64+0x2d/0x70 [ 1065.619826][ T9996] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1065.625686][ T9996] [ 1065.627989][ T9996] The buggy address belongs to the object at ffff8880a6163eb0 [ 1065.627989][ T9996] which belongs to the cache vm_area_struct of size 200 [ 1065.642287][ T9996] The buggy address is located 0 bytes inside of [ 1065.642287][ T9996] 200-byte region [ffff8880a6163eb0, ffff8880a6163f78) [ 1065.655350][ T9996] The buggy address belongs to the page: [ 1065.660960][ T9996] page:00000000dc1e014c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa6163 [ 1065.671075][ T9996] flags: 0xfffe0000000200(slab) [ 1065.675905][ T9996] raw: 00fffe0000000200 ffffea0002494bc8 ffffea0002a5ad88 ffff8880aa06f500 [ 1065.684484][ T9996] raw: 0000000000000000 ffff8880a6163040 000000010000000f 0000000000000000 [ 1065.693035][ T9996] page dumped because: kasan: bad access detected [ 1065.699427][ T9996] [ 1065.701733][ T9996] Memory state around the buggy address: [ 1065.707474][ T9996] ffff8880a6163d80: fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 [ 1065.715512][ T9996] ffff8880a6163e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc [ 1065.723583][ T9996] >ffff8880a6163e80: fc fc fc fc fc fc fa fb fb fb fb fb fb fb fb fb [ 1065.731612][ T9996] ^ [ 1065.737216][ T9996] ffff8880a6163f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc [ 1065.745365][ T9996] ffff8880a6163f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1065.753405][ T9996] ================================================================== [ 1065.761460][ T9996] Disabling lock debugging due to kernel taint [ 1065.775017][ T9996] Kernel panic - not syncing: panic_on_warn set ... [ 1065.781633][ T9996] CPU: 0 PID: 9996 Comm: syz-executor.0 Tainted: G B 5.9.0-rc1-syzkaller #0 [ 1065.791594][ T9996] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1065.801634][ T9996] Call Trace: [ 1065.804905][ T9996] dump_stack+0x18f/0x20d [ 1065.809212][ T9996] ? do_madvise.part.0+0x1c50/0x1cf0 [ 1065.814470][ T9996] panic+0x2e3/0x75c [ 1065.818340][ T9996] ? __warn_printk+0xf3/0xf3 [ 1065.822905][ T9996] ? preempt_schedule_common+0x59/0xc0 [ 1065.828336][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.833723][ T9996] ? preempt_schedule_thunk+0x16/0x18 [ 1065.839239][ T9996] ? trace_hardirqs_on+0x55/0x220 [ 1065.844241][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.849496][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.854754][ T9996] end_report+0x4d/0x53 [ 1065.858884][ T9996] kasan_report.cold+0xd/0x37 [ 1065.863532][ T9996] ? do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.868900][ T9996] do_madvise.part.0+0x1c8b/0x1cf0 [ 1065.873991][ T9996] ? _copy_to_user+0x126/0x160 [ 1065.878727][ T9996] ? swapin_walk_pmd_entry+0x7b0/0x7b0 [ 1065.884171][ T9996] ? put_timespec64+0xcb/0x120 [ 1065.888919][ T9996] ? ns_to_timespec64+0xc0/0xc0 [ 1065.893771][ T9996] ? lock_is_held_type+0xbb/0xf0 [ 1065.898702][ T9996] ? lock_is_held_type+0xbb/0xf0 [ 1065.903622][ T9996] ? syscall_enter_from_user_mode+0x20/0x290 [ 1065.909576][ T9996] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 1065.915539][ T9996] __x64_sys_madvise+0xd9/0x110 [ 1065.920377][ T9996] do_syscall_64+0x2d/0x70 [ 1065.924779][ T9996] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1065.930644][ T9996] RIP: 0033:0x45d4d9 [ 1065.934560][ T9996] Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 1065.954137][ T9996] RSP: 002b:00007f04f7464c78 EFLAGS: 00000246 ORIG_RAX: 000000000000001c [ 1065.962518][ T9996] RAX: ffffffffffffffda RBX: 0000000000020800 RCX: 000000000045d4d9 [ 1065.970502][ T9996] RDX: 0000000000000003 RSI: 0000000000600003 RDI: 0000000020000000 [ 1065.978455][ T9996] RBP: 000000000118d020 R08: 0000000000000000 R09: 0000000000000000 [ 1065.986449][ T9996] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec [ 1065.994408][ T9996] R13: 00007ffc579cce7f R14: 00007f04f74659c0 R15: 000000000118cfec [ 1066.003725][ T9996] Kernel Offset: disabled [ 1066.008041][ T9996] Rebooting in 86400 seconds..