All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: gregkh@linuxfoundation.org, pabeni@redhat.com, kuba@kernel.org
Cc: stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] mptcp: make fallback action and fallback decision atomic" failed to apply to 5.15-stable tree
Date: Mon, 28 Jul 2025 16:09:05 +0200	[thread overview]
Message-ID: <c4b32eef-e3dc-4b84-a8f0-fa92a48d2ed6@kernel.org> (raw)
In-Reply-To: <2025072147-privatize-stallion-5438@gregkh>

Hi Greg,

On 21/07/2025 12:55, gregkh@linuxfoundation.org wrote:
> 
> The patch below does not apply to the 5.15-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.

(...)

> ------------------ original commit in Linus's tree ------------------
> 
> From f8a1d9b18c5efc76784f5a326e905f641f839894 Mon Sep 17 00:00:00 2001
> From: Paolo Abeni <pabeni@redhat.com>
> Date: Mon, 14 Jul 2025 18:41:44 +0200
> Subject: [PATCH] mptcp: make fallback action and fallback decision atomic
> 
> Syzkaller reported the following splat:

(...)

> Since we need to track the 'fallback is possible' condition and the
> fallback status separately, there are a few possible races open between
> the check and the actual fallback action.
> 
> Add a spinlock to protect the fallback related information and use it
> close all the possible related races. While at it also remove the
> too-early clearing of allow_infinite_fallback in __mptcp_subflow_connect():
> the field will be correctly cleared by subflow_finish_connect() if/when
> the connection will complete successfully.
> 
> If fallback is not possible, as per RFC, reset the current subflow.
> 
> Since the fallback operation can now fail and return value should be
> checked, rename the helper accordingly.
> 
> Fixes: 0530020a7c8f ("mptcp: track and update contiguous data status")

FYI, I don't think backporting this commit f8a1d9b18c5e ("mptcp: make
fallback action and fallback decision atomic") in v5.15 and v5.10 is
worth it: triggering this warning is difficult and required admin
rights. Plus the fix is quite invasive, and causes many conflicts in
these versions.

Same for commit def5b7b2643e ("mptcp: plug races between subflow fail
and subflow creation") for v5.15 only which depends on the other one.

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


      reply	other threads:[~2025-07-28 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-21 10:55 FAILED: patch "[PATCH] mptcp: make fallback action and fallback decision atomic" failed to apply to 5.15-stable tree gregkh
2025-07-28 14:09 ` Matthieu Baerts [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=c4b32eef-e3dc-4b84-a8f0-fa92a48d2ed6@kernel.org \
    --to=matttbe@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kuba@kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    /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.