===================================================== BUG: KMSAN: uninit-value in hci_conn_complete_evt net/bluetooth/hci_event.c:2604 [inline] BUG: KMSAN: uninit-value in hci_event_packet+0xfa0a/0x39e50 net/bluetooth/hci_event.c:6153 CPU: 0 PID: 9809 Comm: kworker/u5:3 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci3 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 hci_conn_complete_evt net/bluetooth/hci_event.c:2604 [inline] hci_event_packet+0xfa0a/0x39e50 net/bluetooth/hci_event.c:6153 hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:5088 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 alloc_skb include/linux/skbuff.h:1103 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline] bcsp_recv+0x14f0/0x20d0 drivers/bluetooth/hci_bcsp.c:673 hci_uart_tty_receive+0x3a9/0x790 drivers/bluetooth/hci_ldisc.c:613 tty_ldisc_receive_buf+0x32b/0x390 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+0x381/0x910 drivers/tty/tty_buffer.c:533 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ===================================================== ===================================================== BUG: KMSAN: uninit-value in hci_conn_complete_evt net/bluetooth/hci_event.c:2615 [inline] BUG: KMSAN: uninit-value in hci_event_packet+0x1294c/0x39e50 net/bluetooth/hci_event.c:6153 CPU: 0 PID: 9809 Comm: kworker/u5:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci3 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 hci_conn_complete_evt net/bluetooth/hci_event.c:2615 [inline] hci_event_packet+0x1294c/0x39e50 net/bluetooth/hci_event.c:6153 hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:5088 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 alloc_skb include/linux/skbuff.h:1103 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline] bcsp_recv+0x14f0/0x20d0 drivers/bluetooth/hci_bcsp.c:673 hci_uart_tty_receive+0x3a9/0x790 drivers/bluetooth/hci_ldisc.c:613 tty_ldisc_receive_buf+0x32b/0x390 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+0x381/0x910 drivers/tty/tty_buffer.c:533 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ===================================================== Bluetooth: hci3: sending frame failed (-49) Bluetooth: hci3: sending frame failed (-49)