Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.242' (ECDSA) to the list of known hosts. syzkaller login: [ 58.022642][ T6854] IPVS: ftp: loaded support on port[0] = 21 [ 58.026433][ T6858] IPVS: ftp: loaded support on port[0] = 21 [ 58.040980][ T6860] IPVS: ftp: loaded support on port[0] = 21 [ 58.042270][ T6861] IPVS: ftp: loaded support on port[0] = 21 [ 58.062314][ T6859] IPVS: ftp: loaded support on port[0] = 21 [ 58.075628][ T6862] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 61.423735][ T2716] Bluetooth: hci0: command 0x0409 tx timeout [ 61.430608][ T2716] Bluetooth: hci4: command 0x0409 tx timeout [ 61.432954][ T23] Bluetooth: hci5: command 0x0409 tx timeout [ 61.437905][ T2716] Bluetooth: hci2: command 0x0409 tx timeout [ 61.443221][ T23] Bluetooth: hci3: command 0x0409 tx timeout [ 61.449500][ T2716] Bluetooth: hci1: command 0x0409 tx timeout [ 63.502676][ T23] Bluetooth: hci1: command 0x041b tx timeout [ 63.509066][ T23] Bluetooth: hci3: command 0x041b tx timeout [ 63.515483][ T23] Bluetooth: hci2: command 0x041b tx timeout [ 63.521595][ T23] Bluetooth: hci5: command 0x041b tx timeout [ 63.528503][ T23] Bluetooth: hci4: command 0x041b tx timeout [ 63.537865][ T23] Bluetooth: hci0: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program executing program [ 64.370550][ T7017] ================================================================== [ 64.379093][ T7017] BUG: KASAN: use-after-free in sco_chan_del+0xe6/0x430 [ 64.386030][ T7017] Write of size 4 at addr ffff8880928c8010 by task syz-executor450/7017 [ 64.394351][ T7017] [ 64.396692][ T7017] CPU: 1 PID: 7017 Comm: syz-executor450 Not tainted 5.8.0-syzkaller #0 [ 64.405105][ T7017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.415166][ T7017] Call Trace: executing program executing program executing program executing program executing program executing program executing program [ 64.418468][ T7017] dump_stack+0x18f/0x20d [ 64.422844][ T7017] ? sco_chan_del+0xe6/0x430 [ 64.427839][ T7017] ? sco_chan_del+0xe6/0x430 [ 64.432440][ T7017] ? __sock_release+0x280/0x280 [ 64.437296][ T7017] print_address_description.constprop.0.cold+0xae/0x436 [ 64.444327][ T7017] ? sco_chan_del+0xab/0x430 [ 64.448924][ T7017] ? vprintk_func+0x97/0x1a6 [ 64.453539][ T7017] ? sco_chan_del+0xe6/0x430 [ 64.458134][ T7017] kasan_report.cold+0x1f/0x37 [ 64.462914][ T7017] ? sco_chan_del+0xe6/0x430 executing program executing program executing program executing program executing program executing program executing program [ 64.467642][ T7017] check_memory_region+0x13d/0x180 [ 64.472772][ T7017] sco_chan_del+0xe6/0x430 [ 64.477201][ T7017] __sco_sock_close+0x16e/0x5b0 [ 64.482074][ T7017] sco_sock_release+0x69/0x290 [ 64.486862][ T7017] __sock_release+0xcd/0x280 [ 64.491472][ T7017] sock_close+0x18/0x20 [ 64.495767][ T7017] __fput+0x33c/0x880 [ 64.499764][ T7017] task_work_run+0xdd/0x190 [ 64.504296][ T7017] do_exit+0xb7d/0x29f0 [ 64.508478][ T7017] ? lock_acquire+0x1f1/0xad0 [ 64.513290][ T7017] ? find_held_lock+0x2d/0x110 executing program executing program executing program executing program executing program executing program executing program executing program [ 64.518077][ T7017] ? mm_update_next_owner+0x7a0/0x7a0 [ 64.523463][ T7017] ? get_signal+0x332/0x1ee0 [ 64.528128][ T7017] ? lock_downgrade+0x830/0x830 [ 64.532995][ T7017] ? lock_is_held_type+0xbb/0xf0 [ 64.537971][ T7017] do_group_exit+0x125/0x310 [ 64.549795][ T7017] get_signal+0x40b/0x1ee0 [ 64.554238][ T7017] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 64.560228][ T7017] ? sco_sock_connect+0x4e4/0x980 [ 64.565269][ T7017] ? lockdep_hardirqs_on+0x76/0xf0 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.570401][ T7017] ? sco_sock_connect+0x4e4/0x980 [ 64.575450][ T7017] arch_do_signal+0x82/0x2520 [ 64.580148][ T7017] ? sco_sock_release+0x290/0x290 [ 64.585203][ T7017] ? __sys_connect_file+0x4e/0x1a0 [ 64.590344][ T7017] ? copy_siginfo_to_user32+0xa0/0xa0 [ 64.595732][ T7017] ? __sys_connect+0x109/0x190 [ 64.600505][ T7017] ? __sys_connect_file+0x1a0/0x1a0 [ 64.605730][ T7017] ? exit_to_user_mode_prepare+0xce/0x1d0 [ 64.611465][ T7017] ? lockdep_hardirqs_on_prepare+0x354/0x530 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.617466][ T7017] exit_to_user_mode_prepare+0x172/0x1d0 [ 64.623120][ T7017] syscall_exit_to_user_mode+0x59/0x2b0 [ 64.628686][ T7017] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.634589][ T7017] RIP: 0033:0x446eb9 [ 64.638499][ T7017] Code: Bad RIP value. [ 64.642578][ T7017] RSP: 002b:00007fffcc72dd58 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 64.650992][ T7017] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446eb9 [ 64.658971][ T7017] RDX: 0000000000000008 RSI: 00000000200001c0 RDI: 0000000000000004 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.666951][ T7017] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000000000300ff [ 64.674938][ T7017] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 64.682914][ T7017] R13: 0000000000407b10 R14: 0000000000000000 R15: 0000000000000000 [ 64.690906][ T7017] [ 64.693240][ T7017] Allocated by task 7017: [ 64.697578][ T7017] save_stack+0x1b/0x40 [ 64.701744][ T7017] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 64.707395][ T7017] kmem_cache_alloc_trace+0x14f/0x2d0 [ 64.712776][ T7017] hci_conn_add+0x53/0x1330 [ 64.717330][ T7017] hci_connect_sco+0x356/0x860 executing program executing program executing program executing program executing program executing program executing program executing program [ 64.722108][ T7017] sco_sock_connect+0x308/0x980 [ 64.726970][ T7017] __sys_connect_file+0x155/0x1a0 [ 64.732012][ T7017] __sys_connect+0x160/0x190 [ 64.736613][ T7017] __x64_sys_connect+0x6f/0xb0 [ 64.741529][ T7017] do_syscall_64+0x2d/0x70 [ 64.745970][ T7017] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.751864][ T7017] [ 64.754200][ T7017] Freed by task 7016: [ 64.758201][ T7017] save_stack+0x1b/0x40 [ 64.762379][ T7017] __kasan_slab_free+0xf5/0x140 [ 64.767239][ T7017] kfree+0x103/0x2c0 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.771139][ T7017] device_release+0x71/0x200 [ 64.775737][ T7017] kobject_put+0x171/0x270 [ 64.780165][ T7017] put_device+0x1b/0x30 [ 64.784328][ T7017] hci_conn_del+0x27e/0x6a0 [ 64.788851][ T7017] hci_phy_link_complete_evt.isra.0+0x508/0x790 [ 64.795107][ T7017] hci_event_packet+0x4696/0x87a8 [ 64.800144][ T7017] hci_rx_work+0x22e/0xb50 [ 64.804580][ T7017] process_one_work+0x94c/0x1670 [ 64.809547][ T7017] worker_thread+0x64c/0x1120 [ 64.814233][ T7017] kthread+0x3b5/0x4a0 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 64.818310][ T7017] ret_from_fork+0x1f/0x30 [ 64.822986][ T7017] [ 64.825320][ T7017] The buggy address belongs to the object at ffff8880928c8000 [ 64.825320][ T7017] which belongs to the cache kmalloc-4k of size 4096 [ 64.839388][ T7017] The buggy address is located 16 bytes inside of [ 64.839388][ T7017] 4096-byte region [ffff8880928c8000, ffff8880928c9000) [ 64.852657][ T7017] The buggy address belongs to the page: [ 64.858333][ T7017] page:ffffea00024a3200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 head:ffffea00024a3200 order:1 compound_mapcount:0 executing program executing program executing program executing program executing program executing program [ 64.871878][ T7017] flags: 0xfffe0000010200(slab|head) [ 64.877171][ T7017] raw: 00fffe0000010200 ffffea0002221a08 ffffea00024aa688 ffff8880aa002000 [ 64.885766][ T7017] raw: 0000000000000000 ffff8880928c8000 0000000100000001 0000000000000000 [ 64.894356][ T7017] page dumped because: kasan: bad access detected [ 64.900850][ T7017] [ 64.903157][ T7017] Memory state around the buggy address: [ 64.909026][ T7017] ffff8880928c7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program executing program executing program executing program [ 64.917068][ T7017] ffff8880928c7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.925108][ T7017] >ffff8880928c8000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.933146][ T7017] ^ [ 64.937860][ T7017] ffff8880928c8080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.945932][ T7017] ffff8880928c8100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.953977][ T7017] ================================================================== [ 64.962184][ T7017] Disabling lock debugging due to kernel taint executing program [ 65.010645][ T7017] Kernel panic - not syncing: panic_on_warn set ... [ 65.017282][ T7017] CPU: 1 PID: 7017 Comm: syz-executor450 Tainted: G B 5.8.0-syzkaller #0 [ 65.026990][ T7017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.037045][ T7017] Call Trace: [ 65.040347][ T7017] dump_stack+0x18f/0x20d [ 65.044686][ T7017] ? sco_chan_del+0xd0/0x430 [ 65.049281][ T7017] ? __sock_release+0x280/0x280 [ 65.054140][ T7017] panic+0x2e3/0x75c executing program [ 65.058037][ T7017] ? __warn_printk+0xf3/0xf3 [ 65.062635][ T7017] ? preempt_schedule_common+0x59/0xc0 [ 65.068271][ T7017] ? sco_chan_del+0xe6/0x430 [ 65.072864][ T7017] ? preempt_schedule_thunk+0x16/0x18 [ 65.078350][ T7017] ? trace_hardirqs_on+0x55/0x220 [ 65.083374][ T7017] ? sco_chan_del+0xe6/0x430 [ 65.087970][ T7017] ? sco_chan_del+0xe6/0x430 [ 65.092551][ T7017] ? __sock_release+0x280/0x280 [ 65.097437][ T7017] end_report+0x4d/0x53 [ 65.101584][ T7017] kasan_report.cold+0xd/0x37 [ 65.106240][ T7017] ? sco_chan_del+0xe6/0x430 [ 65.110807][ T7017] check_memory_region+0x13d/0x180 [ 65.115896][ T7017] sco_chan_del+0xe6/0x430 [ 65.120288][ T7017] __sco_sock_close+0x16e/0x5b0 [ 65.125114][ T7017] sco_sock_release+0x69/0x290 [ 65.130081][ T7017] __sock_release+0xcd/0x280 [ 65.134677][ T7017] sock_close+0x18/0x20 [ 65.138833][ T7017] __fput+0x33c/0x880 [ 65.142811][ T7017] task_work_run+0xdd/0x190 [ 65.147299][ T7017] do_exit+0xb7d/0x29f0 [ 65.151483][ T7017] ? lock_acquire+0x1f1/0xad0 [ 65.156134][ T7017] ? find_held_lock+0x2d/0x110 [ 65.160880][ T7017] ? mm_update_next_owner+0x7a0/0x7a0 [ 65.166237][ T7017] ? get_signal+0x332/0x1ee0 [ 65.170815][ T7017] ? lock_downgrade+0x830/0x830 [ 65.175815][ T7017] ? lock_is_held_type+0xbb/0xf0 [ 65.180732][ T7017] do_group_exit+0x125/0x310 [ 65.185305][ T7017] get_signal+0x40b/0x1ee0 [ 65.189709][ T7017] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 65.195935][ T7017] ? sco_sock_connect+0x4e4/0x980 [ 65.200951][ T7017] ? lockdep_hardirqs_on+0x76/0xf0 [ 65.206047][ T7017] ? sco_sock_connect+0x4e4/0x980 [ 65.211051][ T7017] arch_do_signal+0x82/0x2520 [ 65.215706][ T7017] ? sco_sock_release+0x290/0x290 [ 65.220878][ T7017] ? __sys_connect_file+0x4e/0x1a0 [ 65.225967][ T7017] ? copy_siginfo_to_user32+0xa0/0xa0 [ 65.231313][ T7017] ? __sys_connect+0x109/0x190 [ 65.236062][ T7017] ? __sys_connect_file+0x1a0/0x1a0 [ 65.241249][ T7017] ? exit_to_user_mode_prepare+0xce/0x1d0 [ 65.247089][ T7017] ? lockdep_hardirqs_on_prepare+0x354/0x530 [ 65.253057][ T7017] exit_to_user_mode_prepare+0x172/0x1d0 [ 65.258694][ T7017] syscall_exit_to_user_mode+0x59/0x2b0 [ 65.264223][ T7017] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.270088][ T7017] RIP: 0033:0x446eb9 [ 65.274135][ T7017] Code: Bad RIP value. [ 65.278184][ T7017] RSP: 002b:00007fffcc72dd58 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 65.286585][ T7017] RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 0000000000446eb9 [ 65.294534][ T7017] RDX: 0000000000000008 RSI: 00000000200001c0 RDI: 0000000000000004 [ 65.302487][ T7017] RBP: 0000000000000004 R08: 0000000000000002 R09: 00000000000300ff [ 65.310454][ T7017] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 [ 65.318402][ T7017] R13: 0000000000407b10 R14: 0000000000000000 R15: 0000000000000000 [ 65.327711][ T7017] Kernel Offset: disabled [ 65.332047][ T7017] Rebooting in 86400 seconds..