From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+9265e754091c2d27ea29@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_sock_ready_cb (2)
Date: Fri, 23 Jan 2026 14:38:12 +0800 [thread overview]
Message-ID: <20260123063814.2286-1-hdanton@sina.com> (raw)
In-Reply-To: <69729a7e.a00a0220.2cf64e.0003.GAE@google.com>
> Date: Thu, 22 Jan 2026 13:45:34 -0800
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: a66191c590b3 Merge tag 'hyperv-fixes-signed-20260121' of g..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=11b467fc580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=f1fac0919970b671
> dashboard link: https://syzkaller.appspot.com/bug?extid=9265e754091c2d27ea29
> compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=143e7f9a580000
#syz test
--- x/net/bluetooth/af_bluetooth.c
+++ y/net/bluetooth/af_bluetooth.c
@@ -226,6 +226,7 @@ void bt_accept_enqueue(struct sock *pare
list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q);
bt_sk(sk)->parent = parent;
+ sock_hold(parent);
/* Copy credentials from parent since for incoming connections the
* socket is allocated by the kernel.
@@ -258,6 +259,7 @@ void bt_accept_unlink(struct sock *sk)
list_del_init(&bt_sk(sk)->accept_q);
sk_acceptq_removed(bt_sk(sk)->parent);
+ sock_put(bt_sk(sk)->parent);
bt_sk(sk)->parent = NULL;
sock_put(sk);
}
--
next prev parent reply other threads:[~2026-01-23 6:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-01 10:15 syzbot
2026-01-22 21:45 ` syzbot
2026-01-23 6:38 ` Hillf Danton [this message]
2026-01-23 6:57 ` syzbot
2026-01-23 10:26 ` Hillf Danton
2026-01-23 11:02 ` syzbot
2026-01-23 22:21 ` Hillf Danton
2026-01-23 23:44 ` syzbot
2026-08-08 11:53 ` Forwarded: [PATCH] Bluetooth: L2CAP: reject accept queue add unless BT_LISTEN syzbot
[not found] <CAHiZj8jFpERHN8xUkMibnpjjAbROC8KN=TBfD4veJCPdWTk8jg@mail.gmail.com>
2024-10-01 13:17 ` [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in l2cap_sock_ready_cb (2) syzbot
[not found] <19093ec5231c4962ecae6191435b8539fc501922.1786189599.git.pav@iki.fi>
2026-08-08 18:48 ` syzbot
2026-08-08 22:06 [PATCH] Bluetooth: L2CAP: reject accept queue add unless BT_LISTEN Pauli Virtanen
2026-08-08 23:17 ` [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in l2cap_sock_ready_cb (2) 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=20260123063814.2286-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+9265e754091c2d27ea29@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®