From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: netdev@vger.kernel.org
Cc: Mat Martineau <mathew.j.martineau@linux.intel.com>,
davem@davemloft.net, kuba@kernel.org,
matthieu.baerts@tessares.net, mptcp@lists.linux.dev,
pabeni@redhat.com
Subject: [PATCH net 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup
Date: Fri, 27 Aug 2021 17:17:29 -0700 [thread overview]
Message-ID: <20210828001731.67757-1-mathew.j.martineau@linux.intel.com> (raw)
These are two fixes for the net tree, addressing separate issues.
Patch 1 addresses a divide-by-zero crash seen in syzkaller and also
reported by a user on the netdev list. This changes MPTCP code so
tcp_push() cannot be called with an invalid (0) mss_now value.
Patch 2 fixes a selftest temp file cleanup issue that consumes excessive
disk space when running repeated tests.
Matthieu Baerts (1):
selftests: mptcp: clean tmp files in simult_flows
Paolo Abeni (1):
mptcp: fix possible divide by zero
net/mptcp/protocol.c | 78 +++++++++----------
.../selftests/net/mptcp/simult_flows.sh | 4 +-
2 files changed, 39 insertions(+), 43 deletions(-)
base-commit: 5fe2a6b4344cbb2120d6d81e371b7ec8e75f03e2
--
2.33.0
next reply other threads:[~2021-08-28 0:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-28 0:17 Mat Martineau [this message]
2021-08-28 0:17 ` [PATCH net 1/2] mptcp: fix possible divide by zero Mat Martineau
2021-08-30 23:57 ` Jakub Kicinski
2021-08-28 0:17 ` [PATCH net 2/2] selftests: mptcp: clean tmp files in simult_flows Mat Martineau
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=20210828001731.67757-1-mathew.j.martineau@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=matthieu.baerts@tessares.net \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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).