bisecting fixing commit since c98875d930e915d01e8c40c7d3c16f00b3c8abe1 building syzkaller on 53199d6e8aee5f0ebd3775d2b1c674f4e6e64e2b testing commit c98875d930e915d01e8c40c7d3c16f00b3c8abe1 with gcc (GCC) 8.4.1 20210217 kernel signature: 2384b2413b3e30009dac5642db10b433f0d691ed362df34bf90adec2c3731eaf run #0: crashed: general protection fault in skb_put run #1: crashed: general protection fault in skb_put run #2: crashed: general protection fault in skb_put run #3: crashed: general protection fault in skb_put run #4: crashed: general protection fault in skb_put run #5: crashed: general protection fault in skb_put run #6: crashed: general protection fault in corrupted run #7: crashed: general protection fault in skb_put run #8: crashed: general protection fault in skb_put run #9: crashed: general protection fault in skb_put run #10: crashed: general protection fault in skb_put run #11: crashed: general protection fault in skb_put run #12: crashed: general protection fault in corrupted run #13: crashed: general protection fault in skb_put run #14: crashed: general protection fault in skb_put run #15: crashed: general protection fault in skb_put run #16: crashed: general protection fault in corrupted run #17: crashed: general protection fault in corrupted run #18: crashed: general protection fault in corrupted run #19: crashed: general protection fault in skb_put testing current HEAD eb575cd5d7f60241d016fdd13a9e86d962093c9b testing commit eb575cd5d7f60241d016fdd13a9e86d962093c9b with gcc (GCC) 8.4.1 20210217 kernel signature: bbb4c621605f6a40a8678c7d1638990c29731887d288c0bbd22b86c5e2e0f8f4 run #0: crashed: general protection fault in skb_put run #1: crashed: general protection fault in skb_put run #2: crashed: general protection fault in skb_put run #3: crashed: general protection fault in corrupted run #4: crashed: general protection fault in skb_put run #5: crashed: general protection fault in skb_put run #6: crashed: general protection fault in skb_put run #7: crashed: general protection fault in corrupted run #8: crashed: general protection fault in skb_put run #9: crashed: general protection fault in skb_put revisions tested: 2, total time: 30m26.171831117s (build: 22m33.007236272s, test: 6m53.070969244s) the crash still happens on HEAD commit msg: Linux 4.19.195 crash: general protection fault in skb_put should_failslab+0x9/0x20 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x720 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 kasan: GPF could be caused by NULL-ptr deref or user memory access alloc_skb include/linux/skbuff.h:995 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] bcsp_recv+0x21f/0x1650 drivers/bluetooth/hci_bcsp.c:688 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 36 Comm: kworker/u4:2 Not tainted 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 tiocsti drivers/tty/tty_io.c:2194 [inline] tty_ioctl+0x64e/0x12a0 drivers/tty/tty_io.c:2580 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 RSP: 0018:ffff8881f5127a88 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881dcf2abdc RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f5127ab0 R08: ffffed103ed24733 R09: ffffed103ed24732 R10: ffffed103ed24732 R11: ffff8881f6923993 R12: ffff8881dcb0a4aa R13: 00000000000000c8 R14: ffff8881dcf2aa80 R15: ffff8881dcf2ab78 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x199/0x10d0 fs/ioctl.c:688 CR2: 00007ff78b9b4320 CR3: 000000000806d002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2128 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9bb/0x1650 drivers/bluetooth/hci_bcsp.c:613 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tty_ldisc_receive_buf+0x103/0x1c0 drivers/tty/tty_buffer.c:460 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 receive_buf drivers/tty/tty_buffer.c:476 [inline] flush_to_ldisc+0x1af/0x3a0 drivers/tty/tty_buffer.c:528 entry_SYSCALL_64_after_hwframe+0x49/0xbe process_one_work+0x835/0x1670 kernel/workqueue.c:2153 RIP: 0033:0x4603b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4be8317198 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004603b9 RDX: 0000000020000100 RSI: 0000000000005412 RDI: 0000000000000003 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 kthread+0x34a/0x410 kernel/kthread.c:259 R13: 0000000000000003 R14: 00000000004ae997 R15: 00007f4be83176bc kasan: CONFIG_KASAN_INLINE enabled ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Modules linked in: CPU: 1 PID: 6662 Comm: syz-executor.5 Tainted: G D 4.19.195-syzkaller #0 kasan: CONFIG_KASAN_INLINE enabled Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x171 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0xa lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x20 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x720 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] bcsp_recv+0x21f/0x1650 drivers/bluetooth/hci_bcsp.c:688 kasan: GPF could be caused by NULL-ptr deref or user memory access hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tiocsti drivers/tty/tty_io.c:2194 [inline] tty_ioctl+0x64e/0x12a0 drivers/tty/tty_io.c:2580 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G D 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 RSP: 0018:ffff8881f56b7a88 EFLAGS: 00010286 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x199/0x10d0 fs/ioctl.c:688 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881de3ecddc RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f56b7ab0 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed103ead6f83 R11: 0000000000000000 R12: ffff8881dcf88dea R13: 00000000000000c8 R14: ffff8881de3ecc80 R15: ffff8881de3ecd78 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000049c8f0 CR3: 000000000806d003 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2128 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9bb/0x1650 drivers/bluetooth/hci_bcsp.c:613 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4603b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 RSP: 002b:00007fb3b24a0198 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 tty_ldisc_receive_buf+0x103/0x1c0 drivers/tty/tty_buffer.c:460 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004603b9 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 RDX: 0000000020000100 RSI: 0000000000005412 RDI: 0000000000000003 receive_buf drivers/tty/tty_buffer.c:476 [inline] flush_to_ldisc+0x1af/0x3a0 drivers/tty/tty_buffer.c:528 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 process_one_work+0x835/0x1670 kernel/workqueue.c:2153 R13: 0000000000000003 R14: 00000000004ae997 R15: 00007fb3b24a06bc worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x34a/0x410 kernel/kthread.c:259 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Modules linked in: CPU: 0 PID: 6663 Comm: syz-executor.2 Tainted: G D 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x171 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0xa lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x20 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x720 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] bcsp_recv+0x21f/0x1650 drivers/bluetooth/hci_bcsp.c:688 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tiocsti drivers/tty/tty_io.c:2194 [inline] tty_ioctl+0x64e/0x12a0 drivers/tty/tty_io.c:2580 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x199/0x10d0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4603b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb9c3114198 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004603b9 RDX: 0000000020000100 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000003 R14: 00000000004ae997 R15: 00007fb9c31146bc Bluetooth: Can't allocate mem for new packet CPU: 0 PID: 6664 Comm: syz-executor.1 Tainted: G D 4.19.195-syzkaller #0 Bluetooth: Can't allocate mem for new packet Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x171 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0xa lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x20 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x720 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] bcsp_recv+0x21f/0x1650 drivers/bluetooth/hci_bcsp.c:688 ---[ end trace 1c03dc83dd778268 ]--- hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tiocsti drivers/tty/tty_io.c:2194 [inline] tty_ioctl+0x64e/0x12a0 drivers/tty/tty_io.c:2580 RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x199/0x10d0 fs/ioctl.c:688 RSP: 0018:ffff8881f5127a88 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881dcf2abdc ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4603b9 RBP: ffff8881f5127ab0 R08: ffffed103ed24733 R09: ffffed103ed24732 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa6af3b3198 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 00000000004603b9 RDX: 0000000020000100 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000003 R14: 00000000004ae997 R15: 00007fa6af3b36bc kasan: CONFIG_KASAN_INLINE enabled general protection fault: 0000 [#3] PREEMPT SMP KASAN kasan: GPF could be caused by NULL-ptr deref or user memory access CPU: 1 PID: 160 Comm: kworker/u4:3 Tainted: G D 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 RSP: 0018:ffff8881f53f7a88 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881dcc48e9c RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881f53f7ab0 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed103ea7ef83 R11: 0000000000000000 R12: ffff8881dcf8926a R13: 00000000000000c8 R14: ffff8881dcc48d40 R15: ffff8881dcc48e38 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed472bf000 CR3: 000000000806d004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2128 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9bb/0x1650 drivers/bluetooth/hci_bcsp.c:613 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tty_ldisc_receive_buf+0x103/0x1c0 drivers/tty/tty_buffer.c:460 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:476 [inline] flush_to_ldisc+0x1af/0x3a0 drivers/tty/tty_buffer.c:528 process_one_work+0x835/0x1670 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x34a/0x410 kernel/kthread.c:259 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Modules linked in: R10: ffffed103ed24732 R11: ffff8881f6923993 R12: ffff8881dcb0a4aa general protection fault: 0000 [#4] PREEMPT SMP KASAN ---[ end trace 1c03dc83dd778269 ]--- CPU: 0 PID: 6682 Comm: kworker/u4:6 Tainted: G D 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 RSP: 0018:ffff8881cf727a88 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881dccd991c RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881cf727ab0 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed1039ee4f83 R11: 0000000000000000 R12: ffff8881dcf896ea R13: 00000000000000c8 R14: ffff8881dccd97c0 R15: ffff8881dccd98b8 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff36beb000 CR3: 000000000806d005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2128 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9bb/0x1650 drivers/bluetooth/hci_bcsp.c:613 R13: 00000000000000c8 R14: ffff8881dcf2aa80 R15: ffff8881dcf2ab78 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tty_ldisc_receive_buf+0x103/0x1c0 drivers/tty/tty_buffer.c:460 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:476 [inline] flush_to_ldisc+0x1af/0x3a0 drivers/tty/tty_buffer.c:528 process_one_work+0x835/0x1670 kernel/workqueue.c:2153 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 RSP: 0018:ffff8881f5127a88 EFLAGS: 00010286 kthread+0x34a/0x410 kernel/kthread.c:259 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Modules linked in: CR2: 00007fed472c6008 CR3: 000000000806d001 CR4: 00000000001606e0 kasan: CONFIG_KASAN_INLINE enabled DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kasan: GPF could be caused by NULL-ptr deref or user memory access DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 general protection fault: 0000 [#5] PREEMPT SMP KASAN CPU: 0 PID: 6683 Comm: kworker/u4:7 Tainted: G D 4.19.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x28/0x1e0 net/core/skbuff.c:1706 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 4c 8d af c8 00 00 00 41 54 4c 89 ea 53 48 89 fb 48 c1 ea 03 48 83 ec 10 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 28 RSP: 0018:ffff8881dd2c7a88 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881de9663dc RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff8881dd2c7ab0 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed103ba58f83 R11: 0000000000000000 R12: ffff8881dcb0a02a R13: 00000000000000c8 R14: ffff8881de966280 R15: ffff8881de966378 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561aeaaba740 CR3: 000000000806d005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2128 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9bb/0x1650 drivers/bluetooth/hci_bcsp.c:613 hci_uart_tty_receive+0x1d4/0x470 drivers/bluetooth/hci_ldisc.c:621 tty_ldisc_receive_buf+0x103/0x1c0 drivers/tty/tty_buffer.c:460 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:476 [inline] flush_to_ldisc+0x1af/0x3a0 drivers/tty/tty_buffer.c:528 process_one_work+0x835/0x1670 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x34a/0x410 kernel/kthread.c:259 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Modules linked in: Bluetooth: hci2: command 0x1003 tx timeout RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8881dcf2abdc Bluetooth: hci1: command 0x1003 tx timeout