syzbot


memory leak in hci_conn_add (2)

Status: auto-obsoleted due to no activity on 2024/01/09 18:17
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+b6678ec6b1772e54ee6e@syzkaller.appspotmail.com
First crash: 237d, last: 175d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] memory leak in hci_conn_add (2) 0 (1) 2023/09/03 06:25
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in hci_conn_add bluetooth syz 1 1355d 1355d 0/26 auto-obsoleted due to no activity on 2022/09/23 12:04
Last patch testing requests (13)
Created Duration User Patch Repo Result
2023/11/19 06:21 1h28m retest repro upstream OK log
2023/11/19 06:21 26m retest repro upstream OK log
2023/11/19 06:21 27m retest repro upstream OK log
2023/11/19 06:21 34m retest repro upstream OK log
2023/11/19 06:21 21m retest repro upstream OK log
2023/11/18 17:53 22m retest repro upstream OK log
2023/11/18 17:53 23m retest repro upstream OK log
2023/11/18 17:53 1h32m retest repro upstream OK log
2023/11/18 17:53 1h50m retest repro upstream OK log
2023/11/18 17:53 23m retest repro upstream OK log
2023/09/03 12:19 11m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0468be89b3fa report log
2023/09/03 11:27 11m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0468be89b3fa error OK
2023/09/03 10:50 11m eadavis@sina.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888144683800 (size 2048):
  comm "syz-executor188", pid 5025, jiffies 4294944167 (age 23.500s)
  hex dump (first 32 bytes):
    d8 ec a9 0d 81 88 ff ff 22 01 00 00 00 00 ad de  ........".......
    00 00 00 00 aa aa aa aa aa 00 00 aa aa aa aa aa  ................
  backtrace:
    [<ffffffff81574a15>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
    [<ffffffff8451dcbf>] kmalloc include/linux/slab.h:599 [inline]
    [<ffffffff8451dcbf>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8451dcbf>] hci_conn_add+0x4f/0x5e0 net/bluetooth/hci_conn.c:957
    [<ffffffff8451e4e8>] hci_connect_acl+0x1c8/0x1e0 net/bluetooth/hci_conn.c:1641
    [<ffffffff8452134b>] hci_connect_sco+0x4b/0x520 net/bluetooth/hci_conn.c:1694
    [<ffffffff84593813>] sco_connect net/bluetooth/sco.c:266 [inline]
    [<ffffffff84593813>] sco_sock_connect+0x1c3/0x520 net/bluetooth/sco.c:591
    [<ffffffff83e8a6e1>] __sys_connect_file+0x91/0xb0 net/socket.c:2050
    [<ffffffff83e8a7e6>] __sys_connect+0xe6/0x110 net/socket.c:2067
    [<ffffffff83e8a82c>] __do_sys_connect net/socket.c:2077 [inline]
    [<ffffffff83e8a82c>] __se_sys_connect net/socket.c:2074 [inline]
    [<ffffffff83e8a82c>] __x64_sys_connect+0x1c/0x20 net/socket.c:2074
    [<ffffffff84b2b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84b2b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888109059e00 (size 512):
  comm "kworker/u5:2", pid 5022, jiffies 4294944667 (age 18.500s)
  hex dump (first 32 bytes):
    00 38 68 44 81 88 ff ff 40 9c 34 09 81 88 ff ff  .8hD....@.4.....
    fd 03 00 00 00 00 00 00 00 06 0c 00 00 00 00 00  ................
  backtrace:
    [<ffffffff81574a15>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1117
    [<ffffffff8455892d>] kmalloc include/linux/slab.h:599 [inline]
    [<ffffffff8455892d>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8455892d>] l2cap_conn_add.part.0+0x3d/0x340 net/bluetooth/l2cap_core.c:7845
    [<ffffffff84566504>] l2cap_conn_add net/bluetooth/l2cap_core.c:71 [inline]
    [<ffffffff84566504>] l2cap_connect_cfm+0x264/0x740 net/bluetooth/l2cap_core.c:8242
    [<ffffffff845218c3>] hci_connect_cfm include/net/bluetooth/hci_core.h:1935 [inline]
    [<ffffffff845218c3>] hci_conn_failed+0xa3/0x120 net/bluetooth/hci_conn.c:1251
    [<ffffffff8458aba1>] hci_abort_conn_sync+0x261/0x6e0 net/bluetooth/hci_sync.c:5428
    [<ffffffff8451b45d>] abort_conn_sync+0x7d/0xa0 net/bluetooth/hci_conn.c:2910
    [<ffffffff8458153d>] hci_cmd_sync_work+0xcd/0x150 net/bluetooth/hci_sync.c:306
    [<ffffffff812c8d5d>] process_one_work+0x23d/0x530 kernel/workqueue.c:2630
    [<ffffffff812c9987>] process_scheduled_works kernel/workqueue.c:2703 [inline]
    [<ffffffff812c9987>] worker_thread+0x327/0x590 kernel/workqueue.c:2784
    [<ffffffff812d6dcb>] kthread+0x12b/0x170 kernel/kthread.c:388
    [<ffffffff8114a335>] ret_from_fork+0x45/0x50 arch/x86/kernel/process.c:147
    [<ffffffff81002be1>] ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304


Crashes (65):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/31 07:45 upstream 14ab6d425e80 b5729d82 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/29 04:41 upstream 51a7691038c3 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/27 05:39 upstream 3a568e3a961b bf285f0c .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/26 20:16 upstream 611da07b89fd 23afc60f .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/25 14:24 upstream 4f82870119a4 17e6d526 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/25 04:52 upstream d88520ad73b7 17e6d526 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/20 13:03 upstream ce55c22ec8b2 a42250d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/19 22:04 upstream dd72f9c7e512 42e1d524 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/18 22:26 upstream dd72f9c7e512 342b9c55 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/16 08:26 upstream 58720809f527 6388bc36 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/15 19:25 upstream 9a3dad63edbe 6388bc36 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/13 14:52 upstream ce583d5fb9d3 6388bc36 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/12 10:24 upstream 8182d7a3f1b8 83165b57 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/11 01:33 upstream 94f6f0550c62 83165b57 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/10 23:43 upstream 94f6f0550c62 83165b57 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/10 07:47 upstream 94f6f0550c62 c9be5398 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/09 22:58 upstream 94f6f0550c62 3c53c7d9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/09 22:02 upstream 94f6f0550c62 3c53c7d9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/08 15:07 upstream b9ddbb0cde2a 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/08 05:44 upstream 59f3fd30af35 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/08 03:56 upstream 59f3fd30af35 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/07 14:13 upstream 82714078aee4 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/07 02:58 upstream af95dc6fdc25 ea12a918 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/06 23:09 upstream af95dc6fdc25 ea12a918 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/05 18:04 upstream 3006adf3be79 b7d7ff54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/05 05:04 upstream ba7d997a2a29 b7d7ff54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/04 07:04 upstream cbf3a2cb156a 65faba36 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/01 18:55 upstream e402b08634b3 8e26a358 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/30 23:31 upstream 9f3ebbef746f 8e26a358 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/30 07:21 upstream 71e58659bfc0 8e26a358 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/28 14:28 upstream 633b47cb009d c2ab1e5d .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/28 00:53 upstream 633b47cb009d 2895a507 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/27 12:53 upstream 0e945134b680 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/26 23:26 upstream 50768a425b46 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/25 03:04 upstream 6465e260f487 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/23 12:11 upstream d90b0276af8f 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/22 22:19 upstream dc912ba91b7e 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/22 04:44 upstream 27bbf45eae9c 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/18 15:28 upstream ce9ecca0238b 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/17 22:50 upstream e789286468a9 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/17 06:45 upstream f0b0d403eabb 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/16 02:13 upstream e42bebf6db29 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/14 23:33 upstream 9fdfb15a3dbf 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/14 07:26 upstream aed8aee11130 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/11 19:52 upstream 0bb80ecc33a8 59da8366 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/11 19:13 upstream 0bb80ecc33a8 59da8366 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/11 05:21 upstream 0bb80ecc33a8 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/10 04:13 upstream 2a5a4326e583 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/10 02:49 upstream 2a5a4326e583 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/09 02:09 upstream a48fa7efaf11 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/09 01:28 upstream a48fa7efaf11 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/08 04:37 upstream 4a0fc73da97e 72324844 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/07 05:48 upstream 744a759492b5 72324844 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/05 08:04 upstream 3f86ed6ec0b3 8bc9053e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/05 01:09 upstream 708283abf896 8bc9053e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/04 06:15 upstream db906f0ca6bb 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/02 17:51 upstream 0468be89b3fa 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/02 09:13 upstream b84acc11b1c9 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/08/30 11:04 upstream d68b4b6f307d b42ca3a7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/08/30 10:30 upstream d68b4b6f307d b42ca3a7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/08/30 06:16 upstream d68b4b6f307d b42ca3a7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/10/30 22:03 upstream ffc253263a13 b5729d82 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/05 19:30 upstream 3f86ed6ec0b3 8bc9053e .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/04 03:16 upstream db906f0ca6bb 696ea0d2 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
2023/09/02 20:58 upstream 0468be89b3fa 696ea0d2 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in hci_conn_add
* Struck through repros no longer work on HEAD.