================================================================== BUG: KMSAN: uninit-value in hci_conn_complete_evt net/bluetooth/hci_event.c:2440 [inline] BUG: KMSAN: uninit-value in hci_event_packet+0x12971/0x35950 net/bluetooth/hci_event.c:5781 CPU: 1 PID: 26505 Comm: kworker/u5:2 Not tainted 5.1.0-rc2+ #21 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x131/0x2a0 mm/kmsan/kmsan.c:624 __msan_warning+0x7a/0xf0 mm/kmsan/kmsan_instr.c:310 hci_conn_complete_evt net/bluetooth/hci_event.c:2440 [inline] hci_event_packet+0x12971/0x35950 net/bluetooth/hci_event.c:5781 hci_rx_work+0x478/0xcc0 net/bluetooth/hci_core.c:4458 process_one_work+0x1607/0x2010 kernel/workqueue.c:2269 worker_thread+0x111c/0x2460 kernel/workqueue.c:2415 kthread+0x4a1/0x4e0 kernel/kthread.c:254 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:205 [inline] kmsan_internal_poison_shadow+0x92/0x150 mm/kmsan/kmsan.c:159 kmsan_kmalloc+0xa9/0x130 mm/kmsan/kmsan_hooks.c:173 kmsan_slab_alloc+0xe/0x10 mm/kmsan/kmsan_hooks.c:182 slab_post_alloc_hook mm/slab.h:441 [inline] slab_alloc_node mm/slub.c:2771 [inline] __kmalloc_node_track_caller+0xead/0x1000 mm/slub.c:4396 __kmalloc_reserve net/core/skbuff.c:140 [inline] __alloc_skb+0x309/0xa20 net/core/skbuff.c:208 alloc_skb include/linux/skbuff.h:1059 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] bcsp_recv+0x1458/0x2050 drivers/bluetooth/hci_bcsp.c:685 hci_uart_tty_receive+0x35c/0x5d0 drivers/bluetooth/hci_ldisc.c:607 tty_ldisc_receive_buf+0x2ea/0x350 drivers/tty/tty_buffer.c:465 tty_port_default_receive_buf+0x14f/0x1e0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x30c/0x7f0 drivers/tty/tty_buffer.c:533 process_one_work+0x1607/0x2010 kernel/workqueue.c:2269 worker_thread+0x111c/0x2460 kernel/workqueue.c:2415 kthread+0x4a1/0x4e0 kernel/kthread.c:254 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 ==================================================================