kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 2329 Comm: kworker/u4:4 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc task: ffff8880a14e8180 task.stack: ffff8880a14f0000 RIP: 0010:skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: 0018:ffff8880a14f7b98 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88808f668ac0 RCX: 0000000000000000 RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff88808f668bb8 R09: ffffffff8a0852b0 R10: ffff8880a14e8aa0 R11: ffff8880a14e8180 R12: 0000000000000001 R13: 000000000000000a R14: 00000000000000c8 R15: 000000000000005e FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd22000 CR3: 000000009cf0e000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2097 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:450 [inline] bcsp_recv+0x92e/0x1530 drivers/bluetooth/hci_bcsp.c:612 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:616 tty_ldisc_receive_buf+0x12e/0x170 drivers/tty/tty_buffer.c:459 tty_port_default_receive_buf+0x6e/0xa0 drivers/tty/tty_port.c:37 receive_buf drivers/tty/tty_buffer.c:475 [inline] flush_to_ldisc+0x1dd/0x3f0 drivers/tty/tty_buffer.c:527 process_one_work+0x813/0x1540 kernel/workqueue.c:2116 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 41 56 41 55 41 54 41 89 f4 55 48 89 fd 4c 8d b5 c8 00 00 00 53 e8 66 d9 60 fc 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: ffff8880a14f7b98 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access Bluetooth: Can't allocate mem for new packet CPU: 1 PID: 15952 Comm: syz-executor.3 Tainted: G D 4.14.176-syzkaller #0 general protection fault: 0000 [#2] PREEMPT SMP KASAN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Modules linked in: Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 CPU: 0 PID: 22 Comm: kworker/u4:1 Tainted: G D 4.14.176-syzkaller #0 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x14b lib/fault-inject.c:149 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 should_failslab+0xd6/0x130 mm/failslab.c:32 Workqueue: events_unbound flush_to_ldisc slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x55/0x7a0 mm/slab.c:3640 task: ffff8880a9a1e5c0 task.stack: ffff8880a9a28000 __alloc_skb+0x9a/0x4c0 net/core/skbuff.c:193 RIP: 0010:skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: 0018:ffff8880a9a2fb98 EFLAGS: 00010202 alloc_skb include/linux/skbuff.h:980 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:336 [inline] bcsp_recv+0x39e/0x1530 drivers/bluetooth/hci_bcsp.c:687 RAX: dffffc0000000000 RBX: ffff8880a54e7c80 RCX: 0000000000000000 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:616 RDX: 0000000000000019 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff8880a54e7d78 R09: 0000000000000000 tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xd5b/0x1220 drivers/tty/tty_io.c:2572 R10: ffff8880a9a2fcf0 R11: ffff8880a9a1e5c0 R12: 0000000000000001 R13: 000000000000000a R14: 00000000000000c8 R15: 000000000000005e FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 CR2: 00007f5eae253020 CR3: 000000009efe8000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2097 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:450 [inline] bcsp_recv+0x92e/0x1530 drivers/bluetooth/hci_bcsp.c:612 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:616 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 tty_ldisc_receive_buf+0x12e/0x170 drivers/tty/tty_buffer.c:459 entry_SYSCALL_64_after_hwframe+0x42/0xb7 tty_port_default_receive_buf+0x6e/0xa0 drivers/tty/tty_port.c:37 RIP: 0033:0x45c889 receive_buf drivers/tty/tty_buffer.c:475 [inline] flush_to_ldisc+0x1dd/0x3f0 drivers/tty/tty_buffer.c:527 RSP: 002b:00007f8c97f32c78 EFLAGS: 00000246 process_one_work+0x813/0x1540 kernel/workqueue.c:2116 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8c97f336d4 RCX: 000000000045c889 RDX: 0000000020000180 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000584 R14: 00000000004c81df R15: 0000000000000000 kthread+0x30d/0x420 kernel/kthread.c:232 ---[ end trace 26bc2ada258fae4d ]--- ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 41 56 41 55 41 54 41 89 f4 55 48 89 fd 4c 8d b5 c8 00 00 00 53 e8 66 d9 60 fc 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85