mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+14b6d57fb728e27ce23c@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in l2cap_unregister_user
Date: Wed, 13 Aug 2025 09:46:57 +0800	[thread overview]
Message-ID: <20250813014658.4404-1-hdanton@sina.com> (raw)
In-Reply-To: <689b6c67.050a0220.7f033.0134.GAE@google.com>

> Date: Tue, 12 Aug 2025 09:31:35 -0700	[thread overview]
> syzbot has found a reproducer for the following issue on:
> 
> HEAD commit:    8f5ae30d69d7 Linux 6.17-rc1
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=15494c34580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=8c5ac3d8b8abfcb
> dashboard link: https://syzkaller.appspot.com/bug?extid=14b6d57fb728e27ce23c
> userspace arch: arm64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1428caf0580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=11da19a2580000

#syz test

--- x/net/bluetooth/l2cap_core.c
+++ y/net/bluetooth/l2cap_core.c
@@ -1714,6 +1714,7 @@ int l2cap_register_user(struct l2cap_con
 
 	list_add(&user->list, &conn->users);
 	ret = 0;
+	hci_dev_hold(hdev);
 
 out_unlock:
 	hci_dev_unlock(hdev);
@@ -1735,6 +1736,7 @@ void l2cap_unregister_user(struct l2cap_
 
 out_unlock:
 	hci_dev_unlock(hdev);
+	hci_dev_put(hdev);
 }
 EXPORT_SYMBOL(l2cap_unregister_user);
 
--

  reply	other threads:[~2025-08-13  1:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01 18:29 syzbot
2024-11-02  1:27 ` Hillf Danton
2024-11-02  1:46   ` syzbot
2024-12-23 22:29 ` syzbot
2025-08-12 16:31 ` syzbot
2025-08-13  1:46   ` Hillf Danton [this message]
2025-08-13  2:41     ` syzbot
2026-03-07  8:59 ` Forwarded: Re: [RESEND] Bluetooth: L2CAP: Fix use-after-free " syzbot
2026-03-07  9:45 ` syzbot
2026-03-07 10:33 ` syzbot
2025-11-05 14:40 [PATCH] " shaurya
2025-11-05 15:32 ` [syzbot] [bluetooth?] KASAN: slab-use-after-free Read " syzbot
2025-11-05 19:03   ` shaurya
2025-11-05 19:04     ` syzbot
2025-11-05 19:05   ` shaurya
2025-11-05 19:05     ` syzbot
2025-11-05 19:26 [PATCH] Bluetooth: L2CAP: Fix use-after-free " shaurya
2025-11-05 20:14 ` [syzbot] [bluetooth?] KASAN: slab-use-after-free Read " syzbot
     [not found] <625d3721ef07c7c15488af80fbfc53620921611b.camel@iki.fi>
2026-03-07  9:33 ` syzbot
     [not found] <a36a0c60c12b6a8e09776875f2836f2e03894639.camel@iki.fi>
2026-03-07 10:22 ` syzbot
     [not found] <5c93792d0d75a84b0df4f9828d20f33c7a1e71fb.camel@iki.fi>
2026-03-07 11:00 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250813014658.4404-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+14b6d57fb728e27ce23c@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®