RBP: 00007f07dfd13ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f07dfd146d4 R13: 00000000004a92a7 R14: 00000000006e7918 R15: 0000000000000004 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Bluetooth: Can't allocate mem for new packet CPU: 0 PID: 257 Comm: kworker/u5:2 Not tainted 4.19.0-rc6+ #1 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 Workqueue: events_unbound flush_to_ldisc RIP: 0010:skb_put+0x34/0x1e0 net/core/skbuff.c:1693 Code: 56 41 55 41 54 53 48 89 fb 4c 8d ab c8 00 00 00 48 83 ec 08 e8 8d ae 0b fc 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 52 RSP: 0018:ffff88002ceafb70 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff84e10f5d RDX: 0000000000000019 RSI: ffffffff855f72f3 RDI: 0000000000000000 RBP: ffff88002ceafba0 R08: ffff88002cea6000 R09: ffffed0005b04732 R10: ffffed0005b04732 R11: ffff88002d823993 R12: 000000000000005e R13: 00000000000000c8 R14: 000000000000000a R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88002d800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd7ac7ccdc CR3: 000000007bd3b000 CR4: 00000000007406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: skb_put_data include/linux/skbuff.h:2064 [inline] bcsp_unslip_one_byte drivers/bluetooth/hci_bcsp.c:451 [inline] bcsp_recv+0x9ae/0x1410 drivers/bluetooth/hci_bcsp.c:612 hci_uart_tty_receive+0x232/0x540 drivers/bluetooth/hci_ldisc.c:607 CPU: 1 PID: 7602 Comm: syz-executor0 Not tainted 4.19.0-rc6+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x162/0x1e4 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149 __should_failslab+0x124/0x180 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1557 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc_node mm/slab.c:3299 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3642 __alloc_skb+0xd6/0x610 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+0x8e1/0x1410 drivers/bluetooth/hci_bcsp.c:685 hci_uart_tty_receive+0x232/0x540 drivers/bluetooth/hci_ldisc.c:607 tiocsti drivers/tty/tty_io.c:2176 [inline] tty_ioctl+0x6dc/0x1710 drivers/tty/tty_io.c:2562 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1e1/0x1300 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x103/0x600 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457649 Code: 8d b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 5b b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe4d1989c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 0000000000457649 RDX: 0000000020000040 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 00007fe4d1989ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe4d198a6d4 R13: 00000000004a92a7 R14: 00000000006e7918 R15: 0000000000000004 Bluetooth: Can't allocate mem for new packet tty_ldisc_receive_buf+0x152/0x190 drivers/tty/tty_buffer.c:460 tty_port_default_receive_buf+0x7b/0xb0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:475 [inline] flush_to_ldisc+0x24c/0x360 drivers/tty/tty_buffer.c:524 process_one_work+0x994/0x16c0 kernel/workqueue.c:2153 worker_thread+0x8b/0xd20 kernel/workqueue.c:2296 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Modules linked in: ---[ end trace 9ef400ac1fa8cc4a ]--- RIP: 0010:skb_put+0x34/0x1e0 net/core/skbuff.c:1693 Code: 56 41 55 41 54 53 48 89 fb 4c 8d ab c8 00 00 00 48 83 ec 08 e8 8d ae 0b fc 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 52 RSP: 0018:ffff88002ceafb70 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff84e10f5d RDX: 0000000000000019 RSI: ffffffff855f72f3 RDI: 0000000000000000 RBP: ffff88002ceafba0 R08: ffff88002cea6000 R09: ffffed0005b04732 R10: ffffed0005b04732 R11: ffff88002d823993 R12: 000000000000005e R13: 00000000000000c8 R14: 000000000000000a R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88002d800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cd7484190 CR3: 00000000783ed000 CR4: 00000000007406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554