public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Wenshan Lan <jetlan9@163.com>, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.6] sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
Date: Wed, 25 Dec 2024 20:21:50 -0500	[thread overview]
Message-ID: <20241225170549-3cfce78cec7e5470@stable.kernel.org> (raw)
In-Reply-To: <20241224081057.2711-1-jetlan9@163.com>

[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: fd7b4f9f46d46acbc7af3a439bb0d869efdc5c58

WARNING: Author mismatch between patch and upstream commit:
Backport author: Wenshan Lan <jetlan9@163.com>
Commit author: Qun-Wei Lin <qun-wei.lin@mediatek.com>


Status in newer kernel trees:
6.12.y | Present (exact SHA1)
6.6.y | Not found

Note: The patch differs from the upstream commit:
---
1:  fd7b4f9f46d4 ! 1:  3e999d5c22ab sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
    @@ Metadata
      ## Commit message ##
         sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
     
    +    [ Upstream commit fd7b4f9f46d46acbc7af3a439bb0d869efdc5c58 ]
    +
         When CONFIG_KASAN_SW_TAGS and CONFIG_KASAN_STACK are enabled, the
         object_is_on_stack() function may produce incorrect results due to the
         presence of tags in the obj pointer, while the stack pointer does not have
    @@ Commit message
         Cc: Shakeel Butt <shakeel.butt@linux.dev>
         Cc: <stable@vger.kernel.org>
         Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    +    [ Resolve line conflicts ]
    +    Signed-off-by: Wenshan Lan <jetlan9@163.com>
     
      ## include/linux/sched/task_stack.h ##
     @@
    + 
      #include <linux/sched.h>
      #include <linux/magic.h>
    - #include <linux/refcount.h>
     +#include <linux/kasan.h>
      
      #ifdef CONFIG_THREAD_INFO_IN_TASK
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |

      reply	other threads:[~2024-12-26  1:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-24  8:10 [PATCH 6.6] sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers Wenshan Lan
2024-12-26  1:21 ` Sasha Levin [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=20241225170549-3cfce78cec7e5470@stable.kernel.org \
    --to=sashal@kernel.org \
    --cc=jetlan9@163.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox