[<prev] [next>] [day] [month] [year] [list]
Message-ID: <687f2998.a70a0220.693ce.00f7.GAE@google.com>
Date: Mon, 21 Jul 2025 23:03:04 -0700
From: syzbot <syzbot+a9a4bedfca6aa9d7fa24@...kaller.appspotmail.com>
To: ipravdin.official@...il.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] KMSAN: uninit-value in hci_cmd_complete_evt
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
KMSAN: uninit-value in hci_cmd_complete_evt
=====================================================
BUG: KMSAN: uninit-value in hci_cmd_complete_evt+0xca3/0xe90 net/bluetooth/hci_event.c:4210
hci_cmd_complete_evt+0xca3/0xe90 net/bluetooth/hci_event.c:4210
hci_event_func net/bluetooth/hci_event.c:7515 [inline]
hci_event_packet+0xce2/0x1e40 net/bluetooth/hci_event.c:7572
hci_rx_work+0x9a8/0x12b0 net/bluetooth/hci_core.c:4068
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319
worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
kthread+0xd59/0xf00 kernel/kthread.c:464
ret_from_fork+0x6e/0x90 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Uninit was stored to memory at:
hci_cmd_complete_evt+0xc9c/0xe90 net/bluetooth/hci_event.c:4210
hci_event_func net/bluetooth/hci_event.c:7515 [inline]
hci_event_packet+0xce2/0x1e40 net/bluetooth/hci_event.c:7572
hci_rx_work+0x9a8/0x12b0 net/bluetooth/hci_core.c:4068
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319
worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
kthread+0xd59/0xf00 kernel/kthread.c:464
ret_from_fork+0x6e/0x90 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Uninit was stored to memory at:
hci_cmd_complete_evt+0x775/0xe90 net/bluetooth/hci_event.c:-1
hci_event_func net/bluetooth/hci_event.c:7515 [inline]
hci_event_packet+0xce2/0x1e40 net/bluetooth/hci_event.c:7572
hci_rx_work+0x9a8/0x12b0 net/bluetooth/hci_core.c:4068
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319
worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
kthread+0xd59/0xf00 kernel/kthread.c:464
ret_from_fork+0x6e/0x90 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Uninit was created at:
slab_post_alloc_hook mm/slub.c:4153 [inline]
slab_alloc_node mm/slub.c:4196 [inline]
kmem_cache_alloc_node_noprof+0x818/0xf00 mm/slub.c:4248
kmalloc_reserve+0x13c/0x4b0 net/core/skbuff.c:578
__alloc_skb+0x347/0x7d0 net/core/skbuff.c:669
alloc_skb include/linux/skbuff.h:1337 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:509 [inline]
vhci_get_user drivers/bluetooth/hci_vhci.c:488 [inline]
vhci_write+0x125/0x960 drivers/bluetooth/hci_vhci.c:608
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0xb34/0x1560 fs/read_write.c:684
ksys_write fs/read_write.c:736 [inline]
__do_sys_write fs/read_write.c:747 [inline]
__se_sys_write fs/read_write.c:744 [inline]
__x64_sys_write+0x1fb/0x4d0 fs/read_write.c:744
x64_sys_call+0x38c3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd9/0x1c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:0 Not tainted 6.15.0-rc6-syzkaller-01366-g0ba714749722 #0 PREEMPT(undef)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: hci0 hci_rx_work
=====================================================
Tested on:
commit: 0ba71474 Bluetooth: hci_event: Mask data status from L..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=13122f22580000
kernel config: https://syzkaller.appspot.com/x/.config?x=38456bfd5c806d6d
dashboard link: https://syzkaller.appspot.com/bug?extid=a9a4bedfca6aa9d7fa24
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
Note: no patches were applied.
Powered by blists - more mailing lists