audit: type=1800 audit(1590777976.912:1330): pid=32599 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="file0" dev="sda1" ino=15900 res=0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 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 Modules linked in: CPU: 1 PID: 21060 Comm: kworker/u4:1 Not tainted 4.14.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc task: ffff888054cd41c0 task.stack: ffff888052d70000 RIP: 0010:skb_tail_pointer include/linux/skbuff.h:2017 [inline] RIP: 0010:skb_put+0x29/0x170 net/core/skbuff.c:1694 RSP: 0018:ffff888052d77b98 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88808bea7a40 RCX: ffff88808a1e5540 RDX: 000000000000001a RSI: 0000000000000001 RDI: 00000000000000d0 RBP: 0000000000000000 R08: 0000000000007156 R09: ffffffff89e8d3f0 R10: ffff888054cd4ae8 R11: ffff888054cd41c0 R12: 0000000000000001 R13: ffff88808bea7a50 R14: 0000000000000001 R15: ffff88808fd90060 FS: 0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30f23000 CR3: 0000000091f10000 CR4: 00000000001406e0 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+0x4f5/0x1040 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+0x7c0/0x14c0 kernel/workqueue.c:2116 worker_thread+0x5d7/0x1080 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 5f 1b 61 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: ffff888052d77b98 RIP: skb_put+0x29/0x170 net/core/skbuff.c:1694 RSP: ffff888052d77b98 CPU: 1 PID: 32603 Comm: syz-executor.0 Tainted: G D 4.14.182-syzkaller #0 Bluetooth: hci3 command 0x1003 tx timeout 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_node mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x54/0x400 mm/slab.c:3640 __alloc_skb+0x9a/0x4c0 net/core/skbuff.c:193 Bluetooth: hci3 sending frame failed (-49) alloc_skb include/linux/skbuff.h:980 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:336 [inline] ll_recv+0x3d6/0x1040 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+0xd5f/0x1220 drivers/tty/tty_io.c:2572 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007f8a0a12bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004ef140 RCX: 000000000045ca69 RDX: 0000000020000040 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 000000000000058b R14: 00000000004c8452 R15: 00007f8a0a12c6d4 Bluetooth: Can't allocate mem for new packet ---[ end trace 5aa2c3c26bb9bf48 ]---