All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: Aleksandr Nogikh <nogikh@google.com>
Cc: Eric Dumazet <edumazet@google.com>,
	davem@davemloft.net, dsahern@kernel.org, horms@kernel.org,
	kuba@kernel.org, linux-kernel@vger.kernel.org,
	martineau@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com,
	syzbot <syzbot+38a095a81f30d82884c1@syzkaller.appspotmail.com>,
	syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [net?] general protection fault in put_page (4)
Date: Thu, 19 Dec 2024 16:53:04 +0100	[thread overview]
Message-ID: <f648f25a-6375-4187-becb-be3b837d5838@kernel.org> (raw)
In-Reply-To: <CANp29Y7c_TKiLRGpdZ_PjE-o1k4BfGiRqh-2=2+Sk1R3iL2e4w@mail.gmail.com>

Hi Aleksandr,

Thank you for your reply!

On 19/12/2024 10:59, Aleksandr Nogikh wrote:
> Hi Matthieu,
> 
> On Wed, Dec 18, 2024 at 7:06 PM 'Matthieu Baerts' via syzkaller-bugs
> <syzkaller-bugs@googlegroups.com> wrote:
>>
>> Hi Eric,
>>
>> On 17/12/2024 18:06, Eric Dumazet wrote:
>>> On Tue, Dec 17, 2024 at 6:03 PM syzbot
>>> <syzbot+38a095a81f30d82884c1@syzkaller.appspotmail.com> wrote:
>>>>
>>>> Hello,
>>>>
>>>> syzbot found the following issue on:
>>>>
>>>> HEAD commit:    78d4f34e2115 Linux 6.13-rc3
>>>> git tree:       upstream
>>>> console+strace: https://syzkaller.appspot.com/x/log.txt?x=16445730580000
>>>> kernel config:  https://syzkaller.appspot.com/x/.config?x=6c532525a32eb57d
>>>> dashboard link: https://syzkaller.appspot.com/bug?extid=38a095a81f30d82884c1
>>>> compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
>>>> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=169b0b44580000
>>>> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=13f502df980000
>>>>
>>>> Downloadable assets:
>>>> disk image: https://storage.googleapis.com/syzbot-assets/7129ee07f8aa/disk-78d4f34e.raw.xz
>>>> vmlinux: https://storage.googleapis.com/syzbot-assets/c23c0af59a16/vmlinux-78d4f34e.xz
>>>> kernel image: https://storage.googleapis.com/syzbot-assets/031aecf04ea7/bzImage-78d4f34e.xz
>>>>
>>>> The issue was bisected to:
>>>>
>>>> commit b83fbca1b4c9c45628aa55d582c14825b0e71c2b
>>>> Author: Matthieu Baerts (NGI0) <matttbe@kernel.org>
>>>> Date:   Mon Sep 2 10:45:53 2024 +0000
>>>>
>>>>     mptcp: pm: reduce entries iterations on connect
>>>>
>>>> bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=163682df980000
>>>> final oops:     https://syzkaller.appspot.com/x/report.txt?x=153682df980000
>>>> console output: https://syzkaller.appspot.com/x/log.txt?x=113682df980000
>>
>> (...)
>>
>>> I spent some time on this bug before releasing it, because I have
>>> other syzbot reports probably
>>> caused by the same issue, hinting at shinfo->nr_frags corruption.
>>>
>>> I will hold these reports to avoid flooding the mailing list.
>>
>> Thank you for having released this bug report!
>>
>> The bisected commit looks unrelated. I don't know if we can tell syzbot
>> to "skip this commit and try harder".
> 
> As of now, it's not yet supported. I've added a +1 mention to the
> corresponding syzbot backlog issue:
> https://github.com/google/syzkaller/issues/3491

Thank you for that!

> I've also looked at the bisection log of this particular report and
> the only suspicious part is that syzbot could have been too eager to
> minimize the .config file. A different set of enabled options changed
> the cash title from "general protection fault in put_page" to "BUG:
> unable to handle kernel NULL pointer dereference in skb_release_data",
> but the rest of the bisection log looks reasonable to me.

OK, thank you for having looked! The other title sounds better to
describe this issue.

>> I'm trying to run a 'git bisect' on my side since this morning: the
>> issue seems to be older, between v6.10 and v6.11 if I'm not mistaken.
>> When using the same kernel config, I'm getting quite a few issues on
>> older commits (compilation, other warnings, etc.), plus the compilation
>> is slow on my laptop. I will update you if I can find anything useful.
> 
> If you find the proper guilty commit, it would also really help debug
> the bot's bisection result.

Will do if I can find something!

> In case it may help you during the manual bisection, syzbot
> cherry-picks this set of fix commits while doing the bisection:
> https://github.com/google/syzkaller/blob/master/pkg/vcs/linux_patches.go#L60

I appreciate the hint. It looks like all these commits are old enough to
be included in the range I'm testing for the moment.

I adapted my scripts to detect "other issues" and skip the commit.
Hopefully I can achieve something.

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.


  reply	other threads:[~2024-12-19 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 17:03 [syzbot] [net?] general protection fault in put_page (4) syzbot
2024-12-17 17:06 ` Eric Dumazet
2024-12-18 18:06   ` Matthieu Baerts
2024-12-19  9:59     ` Aleksandr Nogikh
2024-12-19 15:53       ` Matthieu Baerts [this message]
2024-12-18 11:41 ` Hillf Danton
2024-12-18 11:55   ` syzbot
2024-12-18 23:14 ` Hillf Danton
2024-12-19  0:26   ` 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=f648f25a-6375-4187-becb-be3b837d5838@kernel.org \
    --to=matttbe@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martineau@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nogikh@google.com \
    --cc=pabeni@redhat.com \
    --cc=syzbot+38a095a81f30d82884c1@syzkaller.appspotmail.com \
    --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.