All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+8c2fa00c27ecafd148f5@syzkaller.appspotmail.com>
To: habilerenturker@hotmail.com
Cc: habilerenturker@hotmail.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [kernfs?] KASAN: slab-use-after-free Read in kernfs_find_ns
Date: Tue, 24 Nov 2026 07:02:26 -0800	[thread overview]
Message-ID: <6b05a702.44b41460.34b83f.003d.GAE@google.com> (raw)
In-Reply-To: <20261124150219.3833-1-habilerenturker@hotmail.com>

> #syz test

Patch testing via #syz test is temporarily disabled.
See https://github.com/google/syzkaller/issues/8122 for details.

>
> diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c
> index 29af9fe860e2..f2a52af64718 100644
> --- a/drivers/infiniband/core/device.c
> +++ b/drivers/infiniband/core/device.c
> @@ -1030,12 +1030,13 @@ static void remove_one_compat_dev(struct ib_device *device, u32 id)
>  
>  	mutex_lock(&device->compat_devs_mutex);
>  	cdev = xa_erase(&device->compat_devs, id);
> -	mutex_unlock(&device->compat_devs_mutex);
>  	if (cdev) {
>  		ib_free_port_attrs(cdev);
>  		device_del(&cdev->dev);
> -		put_device(&cdev->dev);
>  	}
> +	mutex_unlock(&device->compat_devs_mutex);
> +	if (cdev)
> +		put_device(&cdev->dev);
>  }
>  
>  static void remove_compat_devs(struct ib_device *device)

       reply	other threads:[~2026-11-24 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261124150219.3833-1-habilerenturker@hotmail.com>
2026-11-24 15:02 ` syzbot [this message]
2026-11-24  1:09 [syzbot] [kernfs?] KASAN: slab-use-after-free Read in kernfs_find_ns 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=6b05a702.44b41460.34b83f.003d.GAE@google.com \
    --to=syzbot+8c2fa00c27ecafd148f5@syzkaller.appspotmail.com \
    --cc=habilerenturker@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.