slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x56/0x780 mm/slab.c:3640 __alloc_skb+0x9c/0x500 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:980 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:336 [inline] ll_recv+0x3d5/0x1010 drivers/bluetooth/hci_ll.c:516 kasan: GPF could be caused by NULL-ptr deref or user memory access hci_uart_tty_receive+0x1fa/0x4d0 drivers/bluetooth/hci_ldisc.c:603 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xe0e/0x1340 drivers/tty/tty_io.c:2572 CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.113 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc task: ffff8880a9e425c0 task.stack: ffff8880a9e48000 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7b9/0x1070 fs/ioctl.c:684 RIP: 0010:skb_put+0x31/0x1c0 net/core/skbuff.c:1694 RSP: 0018:ffff8880a9e4fb48 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a63571c0 RCX: ffff888096b4c540 RDX: 0000000000000019 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffff8880a9e4fb70 R08: 0000000000000001 R09: ffff8880a9e4f948 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 R10: 0000000000000006 R11: ffff8880a9e425c0 R12: 0000000000000000 R13: 0000000000000004 R14: ffff8880867c4960 R15: 00000000000000c8 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 FS: 0000000000000000(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 entry_SYSCALL_64_after_hwframe+0x42/0xb7 CR2: 00007f31b5984000 CR3: 0000000093e7a000 CR4: 00000000001406e0 RIP: 0033:0x440509 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RSP: 002b:00007ffd3a920788 EFLAGS: 00000246 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ORIG_RAX: 0000000000000010 skb_put_data include/linux/skbuff.h:2077 [inline] ll_recv+0x507/0x1010 drivers/bluetooth/hci_ll.c:416 RAX: ffffffffffffffda RBX: 00007ffd3a920790 RCX: 0000000000440509 hci_uart_tty_receive+0x1fa/0x4d0 drivers/bluetooth/hci_ldisc.c:603 RDX: 0000000020000100 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 0000000000000004 R08: 0000000000000001 R09: 00007ffd3a920031 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401df0 tty_ldisc_receive_buf+0x151/0x1a0 drivers/tty/tty_buffer.c:459 R13: 0000000000401e80 R14: 0000000000000000 R15: 0000000000000000 tty_port_default_receive_buf+0x73/0xa0 drivers/tty/tty_port.c:37 Bluetooth: Can't allocate mem for new packet receive_buf drivers/tty/tty_buffer.c:475 [inline] flush_to_ldisc+0x1f2/0x400 drivers/tty/tty_buffer.c:527 process_one_work+0x868/0x1610 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 kthread+0x31c/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Code: 41 56 41 55 41 89 f5 41 54 49 89 fc 4d 8d bc 24 c8 00 00 00 53 e8 60 1a 8e fc 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: skb_put+0x31/0x1c0 net/core/skbuff.c:1694 RSP: ffff8880a9e4fb48 ---[ end trace bd17fa81b08f095b ]---