public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+27c3c57b78da2a0995d8@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
	syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [pm?] INFO: trying to register non-static key in netdev_unregister_kobject
Date: Thu,  8 Aug 2024 18:37:54 +0800	[thread overview]
Message-ID: <20240808103754.2783-1-hdanton@sina.com> (raw)
In-Reply-To: <000000000000795a2506196e7cd5@google.com>

On Mon, 27 May 2024 05:16:25 -0700
> syzbot found the following issue on:
> 
> HEAD commit:    e67572cd2204 Linux 6.9-rc6
> git tree:       upstream
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=13274a87180000

#syz test upstream  master

--- x/net/bluetooth/hci_core.c
+++ y/net/bluetooth/hci_core.c
@@ -2598,7 +2598,7 @@ int hci_register_dev(struct hci_dev *hde
 	if (!IS_ERR_OR_NULL(bt_debugfs))
 		hdev->debugfs = debugfs_create_dir(hdev->name, bt_debugfs);
 
-	error = device_add(&hdev->dev);
+	error = device_register(&hdev->dev);
 	if (error < 0)
 		goto err_wqueue;
 
--

       reply	other threads:[~2024-08-08 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000000000000795a2506196e7cd5@google.com>
2024-08-08 10:37 ` Hillf Danton [this message]
2024-08-08 11:03   ` [syzbot] [pm?] INFO: trying to register non-static key in netdev_unregister_kobject 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=20240808103754.2783-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+27c3c57b78da2a0995d8@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