[ 73.953304][ T26] audit: type=1800 audit(1568562750.429:31): pid=10287 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 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 mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 78.788652][ T26] kauditd_printk_skb: 3 callbacks suppressed [ 78.788664][ T26] audit: type=1400 audit(1568562755.329:35): avc: denied { map } for pid=10468 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.32' (ECDSA) to the list of known hosts. 2019/09/15 16:08:17 parsed 1 programs [ 1020.516797][ T26] audit: type=1400 audit(1568563697.059:36): avc: denied { map } for pid=10480 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 1020.583192][ T26] audit: type=1400 audit(1568563697.129:37): avc: denied { map } for pid=10480 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=16370 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2019/09/15 16:08:19 executed programs: 0 [ 1022.626735][T10495] IPVS: ftp: loaded support on port[0] = 21 [ 1022.679628][T10495] chnl_net:caif_netlink_parms(): no params data found [ 1022.704228][T10495] bridge0: port 1(bridge_slave_0) entered blocking state [ 1022.711511][T10495] bridge0: port 1(bridge_slave_0) entered disabled state [ 1022.719145][T10495] device bridge_slave_0 entered promiscuous mode [ 1022.726828][T10495] bridge0: port 2(bridge_slave_1) entered blocking state [ 1022.734843][T10495] bridge0: port 2(bridge_slave_1) entered disabled state [ 1022.742427][T10495] device bridge_slave_1 entered promiscuous mode [ 1022.757386][T10495] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 1022.768316][T10495] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 1022.784943][T10495] team0: Port device team_slave_0 added [ 1022.792639][T10495] team0: Port device team_slave_1 added [ 1022.841094][T10495] device hsr_slave_0 entered promiscuous mode [ 1022.889750][T10495] device hsr_slave_1 entered promiscuous mode [ 1022.935163][T10495] bridge0: port 2(bridge_slave_1) entered blocking state [ 1022.942608][T10495] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1022.949998][T10495] bridge0: port 1(bridge_slave_0) entered blocking state [ 1022.957034][T10495] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1022.982399][T10495] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1022.993757][T10497] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1023.002408][T10497] bridge0: port 1(bridge_slave_0) entered disabled state [ 1023.010420][T10497] bridge0: port 2(bridge_slave_1) entered disabled state [ 1023.019151][T10497] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1023.028943][T10495] 8021q: adding VLAN 0 to HW filter on device team0 [ 1023.038780][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1023.047303][ T17] bridge0: port 1(bridge_slave_0) entered blocking state [ 1023.054565][ T17] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1023.071092][T10499] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1023.079658][T10499] bridge0: port 2(bridge_slave_1) entered blocking state [ 1023.086694][T10499] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1023.095179][T10499] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1023.103749][T10499] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1023.112557][T10499] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1023.121834][ T3019] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1023.132608][T10495] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1023.143780][T10495] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1023.152452][T10499] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1023.166920][T10495] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1023.197401][ T26] audit: type=1400 audit(1568563699.739:38): avc: denied { associate } for pid=10495 comm="syz-executor.0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 [ 1023.559506][ T76] Bluetooth: Error in BCSP hdr checksum [ 1023.819456][T10513] Bluetooth: Error in BCSP hdr checksum [ 1025.359402][ T3019] Bluetooth: hci0: command 0x1003 tx timeout [ 1025.371004][T10512] Bluetooth: hci0: sending frame failed (-49) [ 1027.439397][T10499] Bluetooth: hci0: command 0x1001 tx timeout [ 1027.445886][T10512] Bluetooth: hci0: sending frame failed (-49) [ 1029.519398][ T3019] Bluetooth: hci0: command 0x1009 tx timeout [ 1033.760358][T10507] ================================================================== [ 1033.770015][T10507] BUG: KASAN: use-after-free in kfree_skb+0x38/0x3c0 [ 1033.777960][T10507] Read of size 4 at addr ffff8880946b4654 by task syz-executor.0/10507 [ 1033.787805][T10507] [ 1033.790147][T10507] CPU: 1 PID: 10507 Comm: syz-executor.0 Not tainted 5.3.0-rc8+ #0 [ 1033.798357][T10507] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1033.809696][T10507] Call Trace: [ 1033.813094][T10507] dump_stack+0x172/0x1f0 [ 1033.817610][T10507] ? kfree_skb+0x38/0x3c0 [ 1033.822204][T10507] print_address_description.cold+0xd4/0x306 [ 1033.828347][T10507] ? kfree_skb+0x38/0x3c0 [ 1033.832829][T10507] ? kfree_skb+0x38/0x3c0 [ 1033.837488][T10507] __kasan_report.cold+0x1b/0x36 [ 1033.843928][T10507] ? kfree_skb+0x38/0x3c0 [ 1033.848428][T10507] kasan_report+0x12/0x17 [ 1033.852958][T10507] check_memory_region+0x134/0x1a0 [ 1033.858622][T10507] __kasan_check_read+0x11/0x20 [ 1033.863574][T10507] kfree_skb+0x38/0x3c0 [ 1033.868260][T10507] bcsp_close+0xc7/0x130 [ 1033.872775][T10507] hci_uart_tty_close+0x21e/0x280 [ 1033.877916][T10507] ? hci_uart_close+0x50/0x50 [ 1033.882695][T10507] tty_ldisc_close.isra.0+0x119/0x190 [ 1033.888541][T10507] tty_ldisc_kill+0x9c/0x160 [ 1033.893752][T10507] tty_ldisc_release+0xe9/0x2b0 [ 1033.899424][T10507] tty_release_struct+0x1b/0x50 [ 1033.904511][T10507] tty_release+0xbcb/0xe90 [ 1033.909409][T10507] __fput+0x2ff/0x890 [ 1033.913519][T10507] ? put_tty_driver+0x20/0x20 [ 1033.918654][T10507] ____fput+0x16/0x20 [ 1033.922915][T10507] task_work_run+0x145/0x1c0 [ 1033.927728][T10507] exit_to_usermode_loop+0x316/0x380 [ 1033.933421][T10507] do_syscall_64+0x5a9/0x6a0 [ 1033.938171][T10507] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1033.944923][T10507] RIP: 0033:0x4135d1 [ 1033.948895][T10507] Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 [ 1033.970773][T10507] RSP: 002b:00007fffe1fc1680 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 1033.979936][T10507] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004135d1 [ 1033.988383][T10507] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 1033.997736][T10507] RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff [ 1034.007563][T10507] R10: 00007fffe1fc1760 R11: 0000000000000293 R12: 000000000075c9a0 [ 1034.015715][T10507] R13: 000000000075c9a0 R14: 00000000007603c0 R15: ffffffffffffffff [ 1034.024254][T10507] [ 1034.026683][T10507] Allocated by task 10513: [ 1034.031290][T10507] save_stack+0x23/0x90 [ 1034.035469][T10507] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 1034.041256][T10507] kasan_slab_alloc+0xf/0x20 [ 1034.046341][T10507] kmem_cache_alloc_node+0x138/0x740 [ 1034.051840][T10507] __alloc_skb+0xd5/0x5e0 [ 1034.056351][T10507] bcsp_recv+0x8c1/0x13a0 [ 1034.060904][T10507] hci_uart_tty_receive+0x279/0x790 [ 1034.066363][T10507] tty_ldisc_receive_buf+0x15f/0x1c0 [ 1034.071938][T10507] tty_port_default_receive_buf+0x7d/0xb0 [ 1034.078263][T10507] flush_to_ldisc+0x222/0x390 [ 1034.083253][T10507] process_one_work+0x9af/0x1740 [ 1034.088763][T10507] worker_thread+0x98/0xe40 [ 1034.093448][T10507] kthread+0x361/0x430 [ 1034.097825][T10507] ret_from_fork+0x24/0x30 [ 1034.102689][T10507] [ 1034.105580][T10507] Freed by task 10513: [ 1034.109657][T10507] save_stack+0x23/0x90 [ 1034.114308][T10507] __kasan_slab_free+0x102/0x150 [ 1034.119512][T10507] kasan_slab_free+0xe/0x10 [ 1034.124013][T10507] kmem_cache_free+0x86/0x320 [ 1034.129250][T10507] kfree_skbmem+0xc5/0x150 [ 1034.134183][T10507] kfree_skb+0x109/0x3c0 [ 1034.139001][T10507] bcsp_recv+0x2d8/0x13a0 [ 1034.143426][T10507] hci_uart_tty_receive+0x279/0x790 [ 1034.148625][T10507] tty_ldisc_receive_buf+0x15f/0x1c0 [ 1034.154409][T10507] tty_port_default_receive_buf+0x7d/0xb0 [ 1034.160313][T10507] flush_to_ldisc+0x222/0x390 [ 1034.165086][T10507] process_one_work+0x9af/0x1740 [ 1034.170279][T10507] worker_thread+0x98/0xe40 [ 1034.175612][T10507] kthread+0x361/0x430 [ 1034.179776][T10507] ret_from_fork+0x24/0x30 [ 1034.185741][T10507] [ 1034.188186][T10507] The buggy address belongs to the object at ffff8880946b4580 [ 1034.188186][T10507] which belongs to the cache skbuff_head_cache of size 224 [ 1034.203319][T10507] The buggy address is located 212 bytes inside of [ 1034.203319][T10507] 224-byte region [ffff8880946b4580, ffff8880946b4660) [ 1034.218345][T10507] The buggy address belongs to the page: [ 1034.224800][T10507] page:ffffea000251ad00 refcount:1 mapcount:0 mapping:ffff88821bb1c1c0 index:0x0 [ 1034.234468][T10507] flags: 0x1fffc0000000200(slab) [ 1034.239644][T10507] raw: 01fffc0000000200 ffffea000242fac8 ffffea0002860cc8 ffff88821bb1c1c0 [ 1034.248696][T10507] raw: 0000000000000000 ffff8880946b4080 000000010000000c 0000000000000000 [ 1034.257455][T10507] page dumped because: kasan: bad access detected [ 1034.263863][T10507] [ 1034.266463][T10507] Memory state around the buggy address: [ 1034.272703][T10507] ffff8880946b4500: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc [ 1034.282082][T10507] ffff8880946b4580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1034.290937][T10507] >ffff8880946b4600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 1034.299728][T10507] ^ [ 1034.306968][T10507] ffff8880946b4680: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 1034.315779][T10507] ffff8880946b4700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1034.324678][T10507] ================================================================== [ 1034.333447][T10507] Kernel panic - not syncing: panic_on_warn set ... [ 1034.340923][T10507] CPU: 1 PID: 10507 Comm: syz-executor.0 Tainted: G B 5.3.0-rc8+ #0 [ 1034.351200][T10507] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1034.361864][T10507] Call Trace: [ 1034.365171][T10507] dump_stack+0x172/0x1f0 [ 1034.369501][T10507] panic+0x2dc/0x755 [ 1034.373507][T10507] ? add_taint.cold+0x16/0x16 [ 1034.382727][T10507] ? kfree_skb+0x38/0x3c0 [ 1034.387284][T10507] ? preempt_schedule+0x4b/0x60 [ 1034.392787][T10507] ? ___preempt_schedule+0x16/0x20 [ 1034.398220][T10507] ? trace_hardirqs_on+0x5e/0x240 [ 1034.403553][T10507] ? kfree_skb+0x38/0x3c0 [ 1034.408402][T10507] end_report+0x47/0x4f [ 1034.413289][T10507] ? kfree_skb+0x38/0x3c0 [ 1034.417938][T10507] __kasan_report.cold+0xe/0x36 [ 1034.423157][T10507] ? kfree_skb+0x38/0x3c0 [ 1034.427508][T10507] kasan_report+0x12/0x17 [ 1034.431974][T10507] check_memory_region+0x134/0x1a0 [ 1034.437198][T10507] __kasan_check_read+0x11/0x20 [ 1034.442055][T10507] kfree_skb+0x38/0x3c0 [ 1034.446342][T10507] bcsp_close+0xc7/0x130 [ 1034.450619][T10507] hci_uart_tty_close+0x21e/0x280 [ 1034.455630][T10507] ? hci_uart_close+0x50/0x50 [ 1034.460655][T10507] tty_ldisc_close.isra.0+0x119/0x190 [ 1034.466295][T10507] tty_ldisc_kill+0x9c/0x160 [ 1034.471043][T10507] tty_ldisc_release+0xe9/0x2b0 [ 1034.476192][T10507] tty_release_struct+0x1b/0x50 [ 1034.481131][T10507] tty_release+0xbcb/0xe90 [ 1034.485966][T10507] __fput+0x2ff/0x890 [ 1034.489972][T10507] ? put_tty_driver+0x20/0x20 [ 1034.496644][T10507] ____fput+0x16/0x20 [ 1034.500633][T10507] task_work_run+0x145/0x1c0 [ 1034.505400][T10507] exit_to_usermode_loop+0x316/0x380 [ 1034.511225][T10507] do_syscall_64+0x5a9/0x6a0 [ 1034.516413][T10507] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1034.522452][T10507] RIP: 0033:0x4135d1 [ 1034.527031][T10507] Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 [ 1034.547736][T10507] RSP: 002b:00007fffe1fc1680 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 1034.557458][T10507] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004135d1 [ 1034.565709][T10507] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 1034.575012][T10507] RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff [ 1034.585405][T10507] R10: 00007fffe1fc1760 R11: 0000000000000293 R12: 000000000075c9a0 [ 1034.594075][T10507] R13: 000000000075c9a0 R14: 00000000007603c0 R15: ffffffffffffffff [ 1034.605091][T10507] Kernel Offset: disabled [ 1034.610356][T10507] Rebooting in 86400 seconds..