All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Pengfei Xu <pengfei.xu@intel.com>
Cc: iommu@lists.linux.dev, kevin.tian@intel.com, yi.l.liu@intel.com,
	heng.su@intel.com, ying.huang@intel.com, lkp@intel.com
Subject: Re: [Syzkaller & bisect] There is "try_grab_folio" WARNING in v6.3-rc2 kernel
Date: Fri, 31 Mar 2023 09:24:42 -0300	[thread overview]
Message-ID: <ZCbRCvQrzU8jdLlk@nvidia.com> (raw)
In-Reply-To: <ZBExkEW/On0ue68q@xpf.sh.intel.com>

On Wed, Mar 15, 2023 at 10:46:40AM +0800, Pengfei Xu wrote:
> Hi Jason and kernel experts,
> 
> Greeting!
> 
> Platform: x86 platforms
> There is "try_grab_folio" WARNING in v6.3-rc2 kernel:
> 
> All detailed info: https://github.com/xupengfe/syzkaller_logs/tree/main/230313_234302_try_grab_folio
> Reproduced code: https://github.com/xupengfe/syzkaller_logs/blob/main/230313_234302_try_grab_folio/repro.c
> v6.3-rc2 issue dmesg: https://github.com/xupengfe/syzkaller_logs/blob/main/230313_234302_try_grab_folio/eeac8ede17557680855031c6f305ece2378af326_dmesg.log
> Bisect info: https://github.com/xupengfe/syzkaller_logs/blob/main/230313_234302_try_grab_folio/bisect_info.log
> Kconfig: https://github.com/xupengfe/syzkaller_logs/blob/main/230313_234302_try_grab_folio/kconfig_origin

Do you have a syzkaller format reproducer for this? It is often
informative.

> If you don't need the following environment to reproduce the problem or if you
> already have one, please ignore the following information.
> 
> How to reproduce:
> git clone https://gitlab.com/xupengfe/repro_vm_env.git
> cd repro_vm_env
> tar -xvf repro_vm_env.tar.gz
> cd repro_vm_env; ./start3.sh  // it needs qemu-system-x86_64 and I used v7.1.0
>    // start3.sh will load bzImage_2241ab53cbb5cdb08a6b2d4688feb13971058f65 v6.2-rc5 kernel
>    // You could change the bzImage_xxx as you want
> You could use below command to log in, there is no password for root.
> ssh -p 10023 root@localhost

These instructions did not result in a reproduction for me :(

Nor did the reproduction work in my usual test VM.

It must be timing sensitive?

The trace says it is touching a page with a corrupted refcount, which
suggests a double free, but it is weird that it would trigger here and
not at the point of the double free...

I don't have a guess what this is

Jason

  reply	other threads:[~2023-03-31 12:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  2:46 [Syzkaller & bisect] There is "try_grab_folio" WARNING in v6.3-rc2 kernel Pengfei Xu
2023-03-31 12:24 ` Jason Gunthorpe [this message]
2023-03-31 14:57   ` Pengfei Xu
2023-03-31 15:33     ` Jason Gunthorpe
2023-04-01  4:19       ` Pengfei Xu

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=ZCbRCvQrzU8jdLlk@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=heng.su@intel.com \
    --cc=iommu@lists.linux.dev \
    --cc=kevin.tian@intel.com \
    --cc=lkp@intel.com \
    --cc=pengfei.xu@intel.com \
    --cc=yi.l.liu@intel.com \
    --cc=ying.huang@intel.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.