From: David Miller <davem@davemloft.net>
To: edumazet@google.com
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
syzkaller@googlegroups.com
Subject: Re: [PATCH net] ax24: fix setsockopt(SO_BINDTODEVICE)
Date: Wed, 20 May 2020 21:00:12 -0700 (PDT) [thread overview]
Message-ID: <20200520.210012.1620040824637283139.davem@davemloft.net> (raw)
In-Reply-To: <20200520012443.31913-1-edumazet@google.com>
From: Eric Dumazet <edumazet@google.com>
Date: Tue, 19 May 2020 18:24:43 -0700
> syzbot was able to trigger this trace [1], probably by using
> a zero optlen.
>
> While we are at it, cap optlen to IFNAMSIZ - 1 instead of IFNAMSIZ.
>
> [1]
...
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Reported-by: syzbot <syzkaller@googlegroups.com>
Applied and queued up for -stable with s/ax24/ax25/, thanks.
prev parent reply other threads:[~2020-05-21 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 1:24 [PATCH net] ax24: fix setsockopt(SO_BINDTODEVICE) Eric Dumazet
2020-05-21 4:00 ` David Miller [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=20200520.210012.1620040824637283139.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=syzkaller@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).