__dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 lib/fault-inject.c:149 should_failslab+0xd6/0x130 mm/failslab.c:32 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 general protection fault: 0000 [#1] PREEMPT SMP KASAN alloc_skb include/linux/skbuff.h:980 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:336 [inline] ll_recv+0x590/0x1820 drivers/bluetooth/hci_ll.c:516 Modules linked in: CPU: 1 PID: 12473 Comm: kworker/u4:7 Not tainted 4.14.231-syzkaller #0 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:617 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xe5a/0x13c0 drivers/tty/tty_io.c:2572 task: ffff8880a8bc42c0 task.stack: ffff88803ba78000 RIP: 0010:skb_tail_pointer include/linux/skbuff.h:2045 [inline] RIP: 0010:skb_put+0x29/0x170 net/core/skbuff.c:1703 RSP: 0018:ffff88803ba7fb90 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000002 RCX: 1ffffffff10746a5 RDX: 000000000000001a RSI: 0000000000000002 RDI: 00000000000000d0 RBP: 0000000000000000 R08: ffffffff8b9bfc90 R09: 0000000000050a76 R10: ffff8880a8bc4be8 R11: ffff8880a8bc42c0 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff888097bea580 R15: ffff88809e83e4e0 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94c1a1c718 CR3: 000000004acdd000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2125 [inline] ll_recv+0x6e9/0x1820 drivers/bluetooth/hci_ll.c:416 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:617 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+0x46/0xbb tty_port_default_receive_buf+0x6e/0xa0 drivers/tty/tty_port.c:37 RIP: 0033:0x466459 receive_buf drivers/tty/tty_buffer.c:475 [inline] flush_to_ldisc+0x1dd/0x3f0 drivers/tty/tty_buffer.c:527 RSP: 002b:00007fd632281188 EFLAGS: 00000246 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 00000000200000c0 RSI: 0000000000005412 RDI: 0000000000000003 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 RBP: 00007fd6322811d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff6a0028cf R14: 00007fd632281300 R15: 0000000000022000 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 6f 1c 97 fb 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:2045 [inline] RSP: ffff88803ba7fb90 RIP: skb_put+0x29/0x170 net/core/skbuff.c:1703 RSP: ffff88803ba7fb90 Bluetooth: hci10 sending frame failed (-49) audit: type=1804 audit(1618754148.712:1055): pid=29318 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.1" name="/root/syzkaller-testdir337690364/syzkaller.DrgcMs/578/file0/bus" dev="ramfs" ino=85997 res=1 audit: type=1804 audit(1618754148.732:1056): pid=29306 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir337690364/syzkaller.DrgcMs/578/file0/file0/bus" dev="ramfs" ino=86002 res=1 Bluetooth: Can't allocate mem for new packet ---[ end trace a9c6a5a1f74bf477 ]---