From: Pengfei Xu <pengfei.xu@intel.com>
To: Jason Gunthorpe <jgg@nvidia.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 22:57:54 +0800 [thread overview]
Message-ID: <ZCb08lL4ISmEmanj@xpf.sh.intel.com> (raw)
In-Reply-To: <ZCbRCvQrzU8jdLlk@nvidia.com>
Hi Jason,
On 2023-03-31 at 09:24:42 -0300, Jason Gunthorpe wrote:
> 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.
>
Thanks for your suggestion! I will add the repro.prog for new report.
Updated repro.prog in link: https://github.com/xupengfe/syzkaller_logs/blob/main/230313_234302_try_grab_folio/repro.prog
I also new added machineInfo0, log0, report0, repro.report, repro.stats in
link: https://github.com/xupengfe/syzkaller_logs/tree/main/230313_234302_try_grab_folio
> > 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
>
Ah, seems to be related to platform independence, I can reproduce this
problem on RPL-P platform vm in almost 3 seconds after executing bianry.
And I could reproduce this issue on ADL-S vm in 3 seconds also, seems it
could be reproduced on ATOM and big cores platforms.
Thanks!
BR.
> Jason
next prev parent reply other threads:[~2023-03-31 14:56 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
2023-03-31 14:57 ` Pengfei Xu [this message]
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=ZCb08lL4ISmEmanj@xpf.sh.intel.com \
--to=pengfei.xu@intel.com \
--cc=heng.su@intel.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@nvidia.com \
--cc=kevin.tian@intel.com \
--cc=lkp@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox