slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x54/0x410 mm/slab.c:3640 __alloc_skb+0x5c/0x510 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+0x4fb/0x11d0 drivers/bluetooth/hci_ll.c:516 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:616 tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xe5a/0x13c0 drivers/tty/tty_io.c:2572 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 22599 Comm: kworker/u4:8 Not tainted 4.14.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 task: ffff88804d47a480 task.stack: ffff888082890000 RIP: 0010:skb_tail_pointer include/linux/skbuff.h:2017 [inline] RIP: 0010:skb_put+0x29/0x170 net/core/skbuff.c:1694 RSP: 0018:ffff888082897b90 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 000000000000001a RSI: 0000000000000003 RDI: 00000000000000d0 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 RBP: 0000000000000000 R08: 0000000000000025 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 R13: dffffc0000000000 R14: ffff888092563261 R15: ffff88808e354980 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45de59 RSP: 002b:00007fded9d73c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000019c00 RCX: 000000000045de59 RDX: 0000000020000140 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 00007fded9d73ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc706bc28f R14: 00007fded9d749c0 R15: 000000000118bf2c FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae98a423f8 CR3: 0000000088765000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2097 [inline] ll_recv+0x61c/0x11d0 drivers/bluetooth/hci_ll.c:416 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+0x793/0x14a0 kernel/workqueue.c:2116 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 00 00 41 55 41 54 41 89 f4 55 48 89 fd 53 e8 df 9c 4c fc 48 8d bd d0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 24 01 00 00 48 8d bd c8 00 00 00 4c 8b ad d0 RIP: skb_tail_pointer include/linux/skbuff.h:2017 [inline] RSP: ffff888082897b90 RIP: skb_put+0x29/0x170 net/core/skbuff.c:1694 RSP: ffff888082897b90 CPU: 0 PID: 26074 Comm: syz-executor.2 Tainted: G D 4.14.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x154 lib/fault-inject.c:149 should_failslab+0xd6/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x28e/0x3c0 mm/slab.c:3550 kmem_cache_zalloc include/linux/slab.h:651 [inline] get_empty_filp+0x86/0x3e0 fs/file_table.c:123 alloc_file+0x23/0x440 fs/file_table.c:164 __shmem_file_setup.part.0+0x198/0x3c0 mm/shmem.c:4278 __shmem_file_setup mm/shmem.c:4248 [inline] shmem_file_setup mm/shmem.c:4315 [inline] SYSC_memfd_create mm/shmem.c:3768 [inline] SyS_memfd_create+0x1fc/0x3c0 mm/shmem.c:3708 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45de59 RSP: 002b:00007f660a362a28 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000280 RCX: 000000000045de59 RDX: 00007f660a362ae0 RSI: 0000000000000000 RDI: 00000000004c28a3 RBP: 0000000000000000 R08: 00007f660a362ad8 R09: 0000000000000000 R10: 00007f660a362adc R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000100 R14: 0000000020000280 R15: 00000000200004c0 Bluetooth: Can't allocate mem for new packet ---[ end trace 0c31f8d106409e67 ]---