From: Dave Hansen <dave.hansen@intel.com>
To: Marius Fleischer <fleischermarius@gmail.com>,
Jens Axboe <axboe@kernel.dk>
Cc: Dave Hansen <dave.hansen@linux.intel.com>,
Andy Lutomirski <luto@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
linux-kernel@vger.kernel.org, syzkaller@googlegroups.com,
harrisonmichaelgreen@gmail.com,
Pavel Begunkov <asml.silence@gmail.com>,
io-uring@vger.kernel.org
Subject: Re: WARNING in get_pat_info
Date: Tue, 15 Oct 2024 16:40:48 -0700 [thread overview]
Message-ID: <15c0859f-445f-4159-9b38-3af6d9a2a572@intel.com> (raw)
In-Reply-To: <CAJg=8jzfbrG+-wBz29wKKPXuPFSR_1Ltb6mmO9czh-834aN0UQ@mail.gmail.com>
On 10/15/24 15:29, Marius Fleischer wrote:
> Hi Jens,
> Please find the config we used for testing the reproducer on v5.15.167
> - hope that helps.
>
> Which of the reproducers did you try? Upon more testing, it seems like the
> C reproducer (repro.c) is a little unstable on v5.15.167 but repro.syz works
> fine. Instructions on how to run repro.syz are here:
> https://github.com/google/syzkaller/blob/master/docs/executing_syzkaller_programs.md
FWIW, those instructions don't work if you don't have 'go' in your path
already. Even when you do, it apparently needs to be a pretty recent
version.
They also say "Unpack it (a tarball) to $HOME/goroot". I read that as:
mkdir $HOME/goroot
cd $HOME/goroot
tar -zxf $TARBALL
When I think it really means something like:
cd $HOME
tar -zxf $TARBALL
mv go goroot
or something.
I figured it out eventually, but it would be nice to make those
instructions a _bit_ more clear, especially for folks that don't have a
recent go toolchain already sitting around.
Oh, and the go toolchain had a jolly old time beating up on my poor
little 4GB-of-RAM test VM. I had to double its RAM just to compile this
beast.
> TL;DR compile syzkaller, copy syz-execprog, syz-executor, repro.syz into
> the VM and run the command below inside the VM
> ./syz-execprog -executor=./syz-executor -procs=8 -repeat=0 repro.syz
>
> Please let me know if you need more details from us!
It didn't reproduce for me, either, at least ~10k executed programs in.
How long should it take?
The next step would be to figure out specifically why get_pat_info()
failed. To double check that io_uring is the thing that's involved and
(presumably) why follow_phys() failed. Basically, I think we need to
know what state the page tables and the VMA were in.
next prev parent reply other threads:[~2024-10-15 23:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 20:11 WARNING in get_pat_info Marius Fleischer
2024-10-15 18:55 ` Marius Fleischer
2024-10-15 20:04 ` Dave Hansen
2024-10-15 21:56 ` Jens Axboe
2024-10-15 22:29 ` Marius Fleischer
2024-10-15 23:40 ` Dave Hansen [this message]
2024-10-17 3:39 ` Marius Fleischer
-- strict thread matches above, loose matches on Subject: below --
2024-08-16 9:44 lee bruce
2024-10-17 19:27 ` David Hildenbrand
2024-10-17 22:25 ` Peter Xu
2024-10-18 10:48 ` David Hildenbrand
2024-10-18 11:20 ` David Hildenbrand
2024-12-13 17:35 chase xd
2024-12-13 17:40 ` Jens Axboe
2024-12-13 17:47 ` chase xd
2024-12-13 17:49 ` Jens Axboe
2024-12-13 17:55 ` chase xd
2024-12-13 17:57 ` Jens Axboe
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=15c0859f-445f-4159-9b38-3af6d9a2a572@intel.com \
--to=dave.hansen@intel.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=fleischermarius@gmail.com \
--cc=harrisonmichaelgreen@gmail.com \
--cc=io-uring@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=syzkaller@googlegroups.com \
--cc=tglx@linutronix.de \
/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.