All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@kernel.org>
To: gregkh@linuxfoundation.org, eilaimemedsnaimel@gmail.com
Cc: stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] futex/requeue: Prevent NULL pointer dereference in" failed to apply to 5.10-stable tree
Date: Wed, 22 Jul 2026 17:13:23 +0200	[thread overview]
Message-ID: <87se5bjbvw.ffs@fw13> (raw)
In-Reply-To: <2026072141-striking-reaffirm-3311@gregkh>

On Tue, Jul 21 2026 at 17:13, gregkh@linuxfoundation.org wrote:
> The patch below does not apply to the 5.10-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>.
>
> To reproduce the conflict and resubmit, you may use the following commands:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y
> git checkout FETCH_HEAD
> git cherry-pick -x 74e144274af39935b0f410c0ee4d2b91c3730414

As I said before this commit should not be backported as it is buggy and
got reverted upstream:

  39def6d250d3 ("futex/requeue: Revert "Prevent NULL pointer dereference in remove_waiter() on self-deadlock""")

The one which fixes the actual problem is:

   40a25d59e85b ("locking/rtmutex: Skip remove_waiter() when waiter is not enqueued")

That one does not apply to 5.10/15 either as the prerequisite

    3bfdc63936dd ("rtmutex: Use waiter::task instead of current in remove_waiter()")

has not been backported presumably because the Fixes tag in that commit
points to a commit which got introduced post 5.15. Though the bug it
fixes got introduced way earlier.

Let me backport these two:

   3bfdc63936dd ("rtmutex: Use waiter::task instead of current in remove_waiter()")
   40a25d59e85b ("locking/rtmutex: Skip remove_waiter() when waiter is not enqueued")

to 5.10.y and 5.15.y. I'll send a series later.

Thanks,

        tglx

  reply	other threads:[~2026-07-22 15:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 15:13 FAILED: patch "[PATCH] futex/requeue: Prevent NULL pointer dereference in" failed to apply to 5.10-stable tree gregkh
2026-07-22 15:13 ` Thomas Gleixner [this message]
2026-07-22 16:14 ` [patch 5.10.y 0/2] rtmutex/futex: Backport of rejecting fixes Thomas Gleixner
2026-07-22 16:14   ` [patch 5.10.y 1/2] rtmutex: Use waiter::task instead of current in remove_waiter() Thomas Gleixner
2026-07-22 16:14   ` [patch 5.10.y 2/2] locking/rtmutex: Skip remove_waiter() when waiter is not enqueued Thomas Gleixner

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=87se5bjbvw.ffs@fw13 \
    --to=tglx@kernel.org \
    --cc=eilaimemedsnaimel@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --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.