mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+d59601b9136ebc356300@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [fs?] KASAN: slab-use-after-free Read in debugfs_u32_get
Date: Thu, 26 Dec 2024 17:24:54 -0800	[thread overview]
Message-ID: <676e01e6.050a0220.226966.008e.GAE@google.com> (raw)
In-Reply-To: <6763ae7b.050a0220.15da49.0007.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: Re: [syzbot] [fs?] KASAN: slab-use-after-free Read in debugfs_u32_get
Author: lizhi.xu@windriver.com

#syz test

diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c
index 3e0b61202f0c..01810508ac1e 100644
--- a/drivers/net/netdevsim/dev.c
+++ b/drivers/net/netdevsim/dev.c
@@ -1650,7 +1650,7 @@ static void nsim_dev_reload_destroy(struct nsim_dev *nsim_dev)
 
 	if (devlink_is_reload_failed(devlink))
 		return;
-	debugfs_remove(nsim_dev->take_snapshot);
+	nsim_dev_debugfs_exit(nsim_dev);
 
 	if (nsim_dev_get_vfs(nsim_dev)) {
 		nsim_bus_dev_set_vfs(nsim_dev->nsim_bus_dev, 0);

  reply	other threads:[~2024-12-27  1:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-19  5:26 syzbot
2024-12-27  1:24 ` syzbot [this message]
2024-12-27  1:52 ` [syzbot] " syzbot
2025-01-17  0:41 ` 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=676e01e6.050a0220.226966.008e.GAE@google.com \
    --to=syzbot+d59601b9136ebc356300@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®