[syzbot] KMSAN: uninit-value in hci_event_packet (3)

26 views
Skip to first unread message

syzbot

unread,
Mar 29, 2021, 11:43:25 AM3/29/21
to da...@davemloft.net, gli...@google.com, johan....@gmail.com, ku...@kernel.org, linux-b...@vger.kernel.org, linux-...@vger.kernel.org, luiz....@gmail.com, mar...@holtmann.org, net...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 29ad81a1 arch/x86: add missing include to sparsemem.h
git tree: https://github.com/google/kmsan.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=100da362d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9c7da2160236454
dashboard link: https://syzkaller.appspot.com/bug?extid=b12240a286aa7cd4f3fb
compiler: Debian clang version 11.0.1-2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17e08faed00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=147a978ad00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+b12240...@syzkaller.appspotmail.com

=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Not tainted 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_add+0x718/0x1890 net/bluetooth/hci_conn.c:553
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_add+0x718/0x1890 net/bluetooth/hci_conn.c:553
hci_conn_request_evt net/bluetooth/hci_event.c:2756 [inline]
hci_event_packet+0x18851/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_add include/net/bluetooth/hci_core.h:862 [inline]
BUG: KMSAN: uninit-value in hci_conn_add+0x1467/0x1890 net/bluetooth/hci_conn.c:587
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_add include/net/bluetooth/hci_core.h:862 [inline]
hci_conn_add+0x1467/0x1890 net/bluetooth/hci_conn.c:587
hci_conn_request_evt net/bluetooth/hci_event.c:2756 [inline]
hci_event_packet+0x18851/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

Uninit was stored to memory at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289
__msan_chain_origin+0x57/0xa0 mm/kmsan/kmsan_instr.c:147
hci_conn_add+0x601/0x1890 net/bluetooth/hci_conn.c:532
hci_conn_request_evt net/bluetooth/hci_event.c:2756 [inline]
hci_event_packet+0x18851/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_add+0x17a3/0x1890 net/bluetooth/hci_conn.c:593
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_add+0x17a3/0x1890 net/bluetooth/hci_conn.c:593
hci_conn_request_evt net/bluetooth/hci_event.c:2756 [inline]
hci_event_packet+0x18851/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

Uninit was stored to memory at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline]
kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289
__msan_chain_origin+0x57/0xa0 mm/kmsan/kmsan_instr.c:147
hci_conn_add+0x601/0x1890 net/bluetooth/hci_conn.c:532
hci_conn_request_evt net/bluetooth/hci_event.c:2756 [inline]
hci_event_packet+0x18851/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_hash_lookup_ba include/net/bluetooth/hci_core.h:980 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2753 [inline]
hci_event_packet+0x18669/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_conn_request_evt net/bluetooth/hci_event.c:2769 [inline]
hci_event_packet+0x18a27/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.c:605
ksys_write+0x275/0x500 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write+0x92/0xb0 fs/read_write.c:667
__x64_sys_write+0x4a/0x70 fs/read_write.c:667
do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
entry_SYSCALL_64_after_hwframe+0x44/0xa9
=====================================================
=====================================================
BUG: KMSAN: uninit-value in hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
BUG: KMSAN: uninit-value in hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
BUG: KMSAN: uninit-value in hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
CPU: 1 PID: 8218 Comm: kworker/u5:2 Tainted: G B 5.11.0-rc7-syzkaller #0
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:79 [inline]
dump_stack+0x21c/0x280 lib/dump_stack.c:120
kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
hci_proto_connect_ind include/net/bluetooth/hci_core.h:1404 [inline]
hci_conn_request_evt net/bluetooth/hci_event.c:2719 [inline]
hci_event_packet+0xf7bb/0x39e50 net/bluetooth/hci_event.c:6157
hci_rx_work+0x744/0xcf0 net/bluetooth/hci_core.c:4971
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:296

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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76
slab_alloc_node mm/slub.c:2907 [inline]
__kmalloc_node_track_caller+0xa37/0x1430 mm/slub.c:4527
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0x2f8/0xb30 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1099 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:389 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:165 [inline]
vhci_write+0x18a/0x880 drivers/bluetooth/hci_vhci.c:285
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0x1083/0x1b00 fs/read_write.

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

Kosuke Fujimoto

unread,
Apr 15, 2022, 8:43:06 AM4/15/22
to syzkaller-bugs
Check if this issue remains or not.

#syz test: https://github.com/google/kmsan.git master 

syzbot

unread,
Apr 15, 2022, 8:43:10 AM4/15/22
to Kosuke Fujimoto, fujimot...@gmail.com, syzkall...@googlegroups.com
I see the command but can't find the corresponding bug.
Please resend the email to syzbo...@syzkaller.appspotmail.com address
that is the sender of the bug report (also present in the Reported-by tag).

>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bug...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/416c5eb6-261b-4082-8441-25c198fe9e1bn%40googlegroups.com.

syzbot

unread,
Apr 15, 2022, 10:54:12 AM4/15/22
to fujimot...@gmail.com, gli...@google.com, syzkall...@googlegroups.com
Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
KMSAN: uninit-value in number

=====================================================
BUG: KMSAN: uninit-value in number+0x851/0x23d0 lib/vsprintf.c:490
number+0x851/0x23d0 lib/vsprintf.c:490
vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2861
snprintf+0x24a/0x290 lib/vsprintf.c:2928
tomoyo_print_header security/tomoyo/audit.c:165 [inline]
tomoyo_init_log+0xd1f/0x3ad0 security/tomoyo/audit.c:255
tomoyo_supervisor+0x8c0/0x27a0 security/tomoyo/common.c:2097
tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
tomoyo_path_permission security/tomoyo/file.c:587 [inline]
tomoyo_path_perm+0x949/0xc40 security/tomoyo/file.c:838
tomoyo_inode_getattr+0x54/0x60 security/tomoyo/tomoyo.c:122
security_inode_getattr+0x1bb/0x2a0 security/security.c:1337
vfs_getattr fs/stat.c:157 [inline]
vfs_statx+0x286/0x860 fs/stat.c:225
vfs_fstatat fs/stat.c:243 [inline]
__do_sys_newfstatat fs/stat.c:412 [inline]
__se_sys_newfstatat+0x129/0x970 fs/stat.c:406
__x64_sys_newfstatat+0x11e/0x170 fs/stat.c:406
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable es created at:
ext4_map_blocks+0xa4/0x3a20 fs/ext4/inode.c:505
ext4_getblk+0x2dd/0xed0 fs/ext4/inode.c:849

CPU: 1 PID: 19512 Comm: dhcpcd-run-hook Not tainted 5.17.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================
=====================================================
BUG: KMSAN: uninit-value in number+0x872/0x23d0 lib/vsprintf.c:491
number+0x872/0x23d0 lib/vsprintf.c:491
vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2861
snprintf+0x24a/0x290 lib/vsprintf.c:2928
tomoyo_print_header security/tomoyo/audit.c:165 [inline]
tomoyo_init_log+0xd1f/0x3ad0 security/tomoyo/audit.c:255
tomoyo_supervisor+0x8c0/0x27a0 security/tomoyo/common.c:2097
tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
tomoyo_path_permission security/tomoyo/file.c:587 [inline]
tomoyo_path_perm+0x949/0xc40 security/tomoyo/file.c:838
tomoyo_inode_getattr+0x54/0x60 security/tomoyo/tomoyo.c:122
security_inode_getattr+0x1bb/0x2a0 security/security.c:1337
vfs_getattr fs/stat.c:157 [inline]
vfs_statx+0x286/0x860 fs/stat.c:225
vfs_fstatat fs/stat.c:243 [inline]
__do_sys_newfstatat fs/stat.c:412 [inline]
__se_sys_newfstatat+0x129/0x970 fs/stat.c:406
__x64_sys_newfstatat+0x11e/0x170 fs/stat.c:406
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable es created at:
ext4_map_blocks+0xa4/0x3a20 fs/ext4/inode.c:505
ext4_getblk+0x2dd/0xed0 fs/ext4/inode.c:849

CPU: 1 PID: 19512 Comm: dhcpcd-run-hook Tainted: G B 5.17.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================


Tested on:

commit: 33d9269e Revert "kernel: kmsan: don't instrument stack..
console output: https://syzkaller.appspot.com/x/log.txt?x=1427795cf00000
kernel config: https://syzkaller.appspot.com/x/.config?x=e942046819979f46
dashboard link: https://syzkaller.appspot.com/bug?extid=b12240a286aa7cd4f3fb
compiler: clang version 14.0.0 (/usr/local/google/src/llvm-git-monorepo 2b554920f11c8b763cd9ed9003f4e19b919b8e1f), GNU ld (GNU Binutils for Debian) 2.35.2

Note: no patches were applied.

syzbot

unread,
Sep 19, 2022, 5:01:31 PM9/19/22
to gli...@google.com, syzkall...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages