From: Jiri Pirko <jiri@resnulli.us>
To: syzbot <syzbot+9cb7edb2906ea1e83006@syzkaller.appspotmail.com>
Cc: alex.aring@gmail.com, davem@davemloft.net, jiri@mellanox.com,
linux-kernel@vger.kernel.org, linux-wpan@vger.kernel.org,
netdev@vger.kernel.org, stefan@datenfreihafen.org,
syzkaller-bugs@googlegroups.com
Subject: Re: KASAN: use-after-free Read in __cfg8NUM_wpan_dev_from_attrs
Date: Mon, 7 Oct 2019 16:42:45 +0200 [thread overview]
Message-ID: <20191007144245.GC2326@nanopsycho> (raw)
In-Reply-To: <00000000000035a04b059452bc21@google.com>
Mon, Oct 07, 2019 at 04:19:09PM CEST, syzbot+9cb7edb2906ea1e83006@syzkaller.appspotmail.com wrote:
>Hello,
>
>syzbot found the following crash on:
>
>HEAD commit: 056ddc38 Merge branch 'stmmac-next'
>git tree: net-next
>console output: https://syzkaller.appspot.com/x/log.txt?x=125aaafd600000
>kernel config: https://syzkaller.appspot.com/x/.config?x=d9be300620399522
>dashboard link: https://syzkaller.appspot.com/bug?extid=9cb7edb2906ea1e83006
>compiler: gcc (GCC) 9.0.0 20181231 (experimental)
>syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1232bb3f600000
>C reproducer: https://syzkaller.appspot.com/x/repro.c?x=162d0d0b600000
>
>The bug was bisected to:
>
>commit 75cdbdd089003cd53560ff87b690ae911fa7df8e
>Author: Jiri Pirko <jiri@mellanox.com>
>Date: Sat Oct 5 18:04:37 2019 +0000
>
> net: ieee802154: have genetlink code to parse the attrs during dumpit
>
>bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11be5d0b600000
>final crash: https://syzkaller.appspot.com/x/report.txt?x=13be5d0b600000
>console output: https://syzkaller.appspot.com/x/log.txt?x=15be5d0b600000
>
>IMPORTANT: if you fix the bug, please add the following tag to the commit:
>Reported-by: syzbot+9cb7edb2906ea1e83006@syzkaller.appspotmail.com
>Fixes: 75cdbdd08900 ("net: ieee802154: have genetlink code to parse the attrs
>during dumpit")
>
>netlink: 'syz-executor134': attribute type 6 has an invalid length.
>==================================================================
>BUG: KASAN: use-after-free in nla_memcpy+0xa2/0xb0 lib/nlattr.c:572
I'm on this.
prev parent reply other threads:[~2019-10-07 14:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 14:19 KASAN: use-after-free Read in __cfg8NUM_wpan_dev_from_attrs syzbot
2019-10-07 14:42 ` Jiri Pirko [this message]
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=20191007144245.GC2326@nanopsycho \
--to=jiri@resnulli.us \
--cc=alex.aring@gmail.com \
--cc=davem@davemloft.net \
--cc=jiri@mellanox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stefan@datenfreihafen.org \
--cc=syzbot+9cb7edb2906ea1e83006@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).