[ 44.935938][ T26] audit: type=1800 audit(1572604457.072:26): pid=7734 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 44.966224][ T26] audit: type=1800 audit(1572604457.072:27): pid=7734 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 44.999876][ T26] audit: type=1800 audit(1572604457.072:28): pid=7734 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 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. [ 45.720955][ T26] audit: type=1800 audit(1572604457.852:29): pid=7734 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.89' (ECDSA) to the list of known hosts. 2019/11/01 10:41:44 parsed 1 programs 2019/11/01 10:41:46 executed programs: 0 syzkaller login: [ 494.472791][ T7900] IPVS: ftp: loaded support on port[0] = 21 [ 494.522174][ T7900] chnl_net:caif_netlink_parms(): no params data found [ 494.545842][ T7900] bridge0: port 1(bridge_slave_0) entered blocking state [ 494.553453][ T7900] bridge0: port 1(bridge_slave_0) entered disabled state [ 494.561120][ T7900] device bridge_slave_0 entered promiscuous mode [ 494.569243][ T7900] bridge0: port 2(bridge_slave_1) entered blocking state [ 494.576424][ T7900] bridge0: port 2(bridge_slave_1) entered disabled state [ 494.584387][ T7900] device bridge_slave_1 entered promiscuous mode [ 494.599109][ T7900] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 494.609752][ T7900] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 494.627280][ T7900] team0: Port device team_slave_0 added [ 494.634883][ T7900] team0: Port device team_slave_1 added [ 494.713753][ T7900] device hsr_slave_0 entered promiscuous mode [ 494.762006][ T7900] device hsr_slave_1 entered promiscuous mode [ 494.843356][ T7900] bridge0: port 2(bridge_slave_1) entered blocking state [ 494.850547][ T7900] bridge0: port 2(bridge_slave_1) entered forwarding state [ 494.858460][ T7900] bridge0: port 1(bridge_slave_0) entered blocking state [ 494.865577][ T7900] bridge0: port 1(bridge_slave_0) entered forwarding state [ 494.955589][ T7900] 8021q: adding VLAN 0 to HW filter on device bond0 [ 494.984777][ T7916] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 495.013804][ T7916] bridge0: port 1(bridge_slave_0) entered disabled state [ 495.053029][ T7916] bridge0: port 2(bridge_slave_1) entered disabled state [ 495.083284][ T7916] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 495.117440][ T7900] 8021q: adding VLAN 0 to HW filter on device team0 [ 495.183012][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 495.202988][ T22] bridge0: port 1(bridge_slave_0) entered blocking state [ 495.210077][ T22] bridge0: port 1(bridge_slave_0) entered forwarding state [ 495.264816][ T7931] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 495.275080][ T7931] bridge0: port 2(bridge_slave_1) entered blocking state [ 495.282205][ T7931] bridge0: port 2(bridge_slave_1) entered forwarding state [ 495.311862][ T7931] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 495.345781][ T7903] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 495.358008][ T7903] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 495.371147][ T7903] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 495.380372][ T7903] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 495.399607][ T7900] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 495.417729][ T7900] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 495.852476][ T7902] Bluetooth: Error in BCSP hdr checksum [ 496.111925][ T45] Bluetooth: Error in BCSP hdr checksum [ 497.672349][ T2840] Bluetooth: hci0: command 0x1003 tx timeout [ 497.678867][ T7949] Bluetooth: hci0: sending frame failed (-49) [ 499.741759][ T7903] Bluetooth: hci0: command 0x1001 tx timeout [ 499.747926][ T7949] Bluetooth: hci0: sending frame failed (-49) [ 501.821774][ T2840] Bluetooth: hci0: command 0x1009 tx timeout [ 506.225985][ T7945] ================================================================== [ 506.234412][ T7945] BUG: KASAN: use-after-free in kfree_skb+0x2a/0xb0 [ 506.240975][ T7945] Read of size 4 at addr ffff88808620bf54 by task syz-executor.0/7945 [ 506.249092][ T7945] [ 506.251401][ T7945] CPU: 0 PID: 7945 Comm: syz-executor.0 Not tainted 5.4.0-rc5+ #0 [ 506.259183][ T7945] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 506.269212][ T7945] Call Trace: [ 506.272562][ T7945] dump_stack+0x1d8/0x2f8 [ 506.276914][ T7945] print_address_description+0x75/0x5c0 [ 506.282472][ T7945] ? vprintk_func+0x158/0x170 [ 506.287119][ T7945] ? printk+0x62/0x8d [ 506.291073][ T7945] ? vprintk_emit+0x2d4/0x3a0 [ 506.295725][ T7945] __kasan_report+0x14b/0x1c0 [ 506.300383][ T7945] ? kfree_skb+0x2a/0xb0 [ 506.304599][ T7945] kasan_report+0x26/0x50 [ 506.308901][ T7945] check_memory_region+0x2cf/0x2e0 [ 506.313984][ T7945] __kasan_check_read+0x11/0x20 [ 506.318828][ T7945] kfree_skb+0x2a/0xb0 [ 506.322912][ T7945] bcsp_close+0xb1/0xf0 [ 506.327059][ T7945] hci_uart_tty_close+0x201/0x240 [ 506.332058][ T7945] ? hci_uart_tty_open+0x340/0x340 [ 506.337190][ T7945] tty_ldisc_close+0x126/0x180 [ 506.341942][ T7945] tty_ldisc_release+0x248/0x5a0 [ 506.346851][ T7945] tty_release_struct+0x2a/0xe0 [ 506.351678][ T7945] tty_release+0xce9/0xfa0 [ 506.356078][ T7945] ? tty_release_struct+0xe0/0xe0 [ 506.361119][ T7945] __fput+0x2e4/0x740 [ 506.365091][ T7945] ____fput+0x15/0x20 [ 506.369087][ T7945] task_work_run+0x17e/0x1b0 [ 506.373700][ T7945] prepare_exit_to_usermode+0x459/0x580 [ 506.379235][ T7945] syscall_return_slowpath+0x113/0x4a0 [ 506.384669][ T7945] do_syscall_64+0x11f/0x1c0 [ 506.389279][ T7945] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 506.395171][ T7945] RIP: 0033:0x413ae1 [ 506.399037][ T7945] 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 [ 506.418613][ T7945] RSP: 002b:00007fff250729e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 506.427006][ T7945] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413ae1 [ 506.434951][ T7945] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 506.442899][ T7945] RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff [ 506.450842][ T7945] R10: 00007fff25072ac0 R11: 0000000000000293 R12: 000000000075c9a0 [ 506.458798][ T7945] R13: 000000000075c9a0 R14: 00000000007602d8 R15: 000000000075bfd4 [ 506.466764][ T7945] [ 506.469065][ T7945] Allocated by task 45: [ 506.473213][ T7945] __kasan_kmalloc+0x11c/0x1b0 [ 506.477948][ T7945] kasan_slab_alloc+0xf/0x20 [ 506.482536][ T7945] kmem_cache_alloc_node+0x235/0x280 [ 506.487808][ T7945] __alloc_skb+0x9f/0x500 [ 506.492111][ T7945] bcsp_recv+0x12e7/0x1720 [ 506.496496][ T7945] hci_uart_tty_receive+0x16b/0x470 [ 506.501677][ T7945] tty_ldisc_receive_buf+0x12e/0x170 [ 506.506929][ T7945] tty_port_default_receive_buf+0x82/0xb0 [ 506.512618][ T7945] flush_to_ldisc+0x328/0x550 [ 506.517779][ T7945] process_one_work+0x7ef/0x10e0 [ 506.522743][ T7945] worker_thread+0xc01/0x1630 [ 506.527727][ T7945] kthread+0x332/0x350 [ 506.531813][ T7945] ret_from_fork+0x24/0x30 [ 506.536239][ T7945] [ 506.538539][ T7945] Freed by task 45: [ 506.542333][ T7945] __kasan_slab_free+0x12a/0x1e0 [ 506.547251][ T7945] kasan_slab_free+0xe/0x10 [ 506.551727][ T7945] kmem_cache_free+0x81/0xf0 [ 506.556289][ T7945] __kfree_skb+0x118/0x170 [ 506.560672][ T7945] kfree_skb+0x6f/0xb0 [ 506.564715][ T7945] bcsp_recv+0x99c/0x1720 [ 506.569017][ T7945] hci_uart_tty_receive+0x16b/0x470 [ 506.574187][ T7945] tty_ldisc_receive_buf+0x12e/0x170 [ 506.579449][ T7945] tty_port_default_receive_buf+0x82/0xb0 [ 506.585157][ T7945] flush_to_ldisc+0x328/0x550 [ 506.589838][ T7945] process_one_work+0x7ef/0x10e0 [ 506.594750][ T7945] worker_thread+0xc01/0x1630 [ 506.599416][ T7945] kthread+0x332/0x350 [ 506.603476][ T7945] ret_from_fork+0x24/0x30 [ 506.607866][ T7945] [ 506.610181][ T7945] The buggy address belongs to the object at ffff88808620be80 [ 506.610181][ T7945] which belongs to the cache skbuff_head_cache of size 224 [ 506.624778][ T7945] The buggy address is located 212 bytes inside of [ 506.624778][ T7945] 224-byte region [ffff88808620be80, ffff88808620bf60) [ 506.638157][ T7945] The buggy address belongs to the page: [ 506.643764][ T7945] page:ffffea00021882c0 refcount:1 mapcount:0 mapping:ffff8880a9935c40 index:0x0 [ 506.652841][ T7945] flags: 0x1fffc0000000200(slab) [ 506.657751][ T7945] raw: 01fffc0000000200 ffffea000262dcc8 ffffea0002428d88 ffff8880a9935c40 [ 506.666309][ T7945] raw: 0000000000000000 ffff88808620b0c0 000000010000000c 0000000000000000 [ 506.674868][ T7945] page dumped because: kasan: bad access detected [ 506.681251][ T7945] [ 506.683552][ T7945] Memory state around the buggy address: [ 506.689156][ T7945] ffff88808620be00: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc [ 506.697190][ T7945] ffff88808620be80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 506.705224][ T7945] >ffff88808620bf00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 506.713269][ T7945] ^ [ 506.719978][ T7945] ffff88808620bf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 506.728077][ T7945] ffff88808620c000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 506.736124][ T7945] ================================================================== [ 506.744164][ T7945] Disabling lock debugging due to kernel taint [ 506.750508][ T7945] Kernel panic - not syncing: panic_on_warn set ... [ 506.757088][ T7945] CPU: 0 PID: 7945 Comm: syz-executor.0 Tainted: G B 5.4.0-rc5+ #0 [ 506.766283][ T7945] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 506.776313][ T7945] Call Trace: [ 506.779625][ T7945] dump_stack+0x1d8/0x2f8 [ 506.783994][ T7945] panic+0x264/0x7a9 [ 506.787861][ T7945] ? __kasan_report+0x195/0x1c0 [ 506.792733][ T7945] ? trace_hardirqs_on+0x34/0x80 [ 506.797642][ T7945] ? __kasan_report+0x195/0x1c0 [ 506.802462][ T7945] __kasan_report+0x1bb/0x1c0 [ 506.807115][ T7945] ? kfree_skb+0x2a/0xb0 [ 506.811346][ T7945] kasan_report+0x26/0x50 [ 506.815669][ T7945] check_memory_region+0x2cf/0x2e0 [ 506.820747][ T7945] __kasan_check_read+0x11/0x20 [ 506.825570][ T7945] kfree_skb+0x2a/0xb0 [ 506.829620][ T7945] bcsp_close+0xb1/0xf0 [ 506.833745][ T7945] hci_uart_tty_close+0x201/0x240 [ 506.838736][ T7945] ? hci_uart_tty_open+0x340/0x340 [ 506.843818][ T7945] tty_ldisc_close+0x126/0x180 [ 506.848564][ T7945] tty_ldisc_release+0x248/0x5a0 [ 506.853473][ T7945] tty_release_struct+0x2a/0xe0 [ 506.858292][ T7945] tty_release+0xce9/0xfa0 [ 506.862681][ T7945] ? tty_release_struct+0xe0/0xe0 [ 506.867685][ T7945] __fput+0x2e4/0x740 [ 506.871644][ T7945] ____fput+0x15/0x20 [ 506.875607][ T7945] task_work_run+0x17e/0x1b0 [ 506.880171][ T7945] prepare_exit_to_usermode+0x459/0x580 [ 506.885688][ T7945] syscall_return_slowpath+0x113/0x4a0 [ 506.891132][ T7945] do_syscall_64+0x11f/0x1c0 [ 506.895696][ T7945] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 506.901565][ T7945] RIP: 0033:0x413ae1 [ 506.905437][ T7945] 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 [ 506.925109][ T7945] RSP: 002b:00007fff250729e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 506.933493][ T7945] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413ae1 [ 506.941435][ T7945] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 506.949378][ T7945] RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff [ 506.957330][ T7945] R10: 00007fff25072ac0 R11: 0000000000000293 R12: 000000000075c9a0 [ 506.965292][ T7945] R13: 000000000075c9a0 R14: 00000000007602d8 R15: 000000000075bfd4 [ 506.974659][ T7945] Kernel Offset: disabled [ 506.978985][ T7945] Rebooting in 86400 seconds..