Skip to content

mptcp: Prevent tcp_push() crash and selftest temp file buildup

Mat Martineau mptcp netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mptcp: fix possible divide by zeronet/mptcp/protocol.c+35 -410 repliesApplied
2/2selftests: mptcp: clean tmp files in simult_flowstools/testing/selftests/net/mptcp/simult_flows.sh+2 -20 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPaolo Abeni
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net v3 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup

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.

v3: Respin after net-next merge

v2: Make suggested changes to lockdep check and indentation in patch 1

Matthieu Baerts (1):
selftests: mptcp: clean tmp files in simult_flows

Paolo Abeni (1):
mptcp: fix possible divide by zero

 net/mptcp/protocol.c                          | 76 +++++++++----------
 .../selftests/net/mptcp/simult_flows.sh       |  4 +-
 2 files changed, 37 insertions(+), 43 deletions(-)

base-commit: 780aa1209f88fd96d40572b62df922662f2b896d

Signature · 1 line
2.33.0