public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Vasiliy Kovalev <kovalev@altlinux.org>, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 5.15.y] scsi: core: Fix scsi_mode_select() buffer length handling
Date: Mon,  9 Dec 2024 15:55:55 -0500	[thread overview]
Message-ID: <20241209132628-c75f8be7ddfda850@stable.kernel.org> (raw)
In-Reply-To: <20241209165340.112862-1-kovalev@altlinux.org>

[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: a7d6840bed0c2b16ac3071b74b5fcf08fc488241

WARNING: Author mismatch between patch and upstream commit:
Backport author: Vasiliy Kovalev <kovalev@altlinux.org>
Commit author: Damien Le Moal <damien.lemoal@wdc.com>


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

Note: The patch differs from the upstream commit:
---
1:  a7d6840bed0c2 ! 1:  16b532ea81441 scsi: core: Fix scsi_mode_select() buffer length handling
    @@ Metadata
      ## Commit message ##
         scsi: core: Fix scsi_mode_select() buffer length handling
     
    +    commit a7d6840bed0c2b16ac3071b74b5fcf08fc488241 upstream.
    +
         The MODE SELECT(6) command allows handling mode page buffers that are up to
         255 bytes, including the 4 byte header needed in front of the page
         buffer. For requests larger than this limit, automatically use the MODE
    @@ Commit message
         Link: https://lore.kernel.org/r/20210820070255.682775-3-damien.lemoal@wdc.com
         Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
         Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    +    Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
     
      ## drivers/scsi/scsi_lib.c ##
     @@ drivers/scsi/scsi_lib.c: scsi_mode_select(struct scsi_device *sdev, int pf, int sp, int modepage,
---

Results of testing on various branches:

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

      reply	other threads:[~2024-12-09 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09 16:53 [PATCH 5.15.y] scsi: core: Fix scsi_mode_select() buffer length handling Vasiliy Kovalev
2024-12-09 20:55 ` 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=20241209132628-c75f8be7ddfda850@stable.kernel.org \
    --to=sashal@kernel.org \
    --cc=kovalev@altlinux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox