stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: "Miguel García" <miguelgarciaroman8@gmail.com>,
	"Sasha Levin" <sashal@kernel.org>
Subject: Re: [PATCH 6.1.y] block: make bio_check_eod work for zero sized devices
Date: Sun, 13 Apr 2025 12:46:50 -0400	[thread overview]
Message-ID: <20250412105909-5300d45443777a29@stable.kernel.org> (raw)
In-Reply-To: <20250412102424.56383-1-miguelgarciaroman8@gmail.com>

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected.
No action required from the submitter.

The upstream commit SHA1 provided is correct: 3eb96946f0be6bf447cbdf219aba22bc42672f92

WARNING: Author mismatch between patch and upstream commit:
Backport author: <miguelgarciaroman8@gmail.com>
Commit author: Christoph Hellwig<hch@lst.de>

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

Note: The patch differs from the upstream commit:
---
1:  3eb96946f0be6 ! 1:  6a6f180aae691 block: make bio_check_eod work for zero sized devices
    @@ Metadata
      ## Commit message ##
         block: make bio_check_eod work for zero sized devices
     
    +    commit 3eb96946f0be6bf447cbdf219aba22bc42672f92 upstream.
    +
    +    This patch is a backport.
    +
         Since the dawn of time bio_check_eod has a check for a non-zero size of
         the device.  This doesn't really make any sense as we never want to send
         I/O to a device that's been set to zero size, or never moved out of that.
    @@ Commit message
         the issue really goes back way before git history.
     
         Fixes: 9fe95babc742 ("zram: remove valid_io_request")
    -    Reported-by: syzbot+b8d61a58b7c7ebd2c8e0@syzkaller.appspotmail.com
    +    Reported-by: syzbot+2aca91e1d3ae43aef10c@syzkaller.appspotmail.com
    +    Bug: https://syzkaller.appspot.com/bug?extid=2aca91e1d3ae43aef10c
         Signed-off-by: Christoph Hellwig <hch@lst.de>
         Link: https://lore.kernel.org/r/20230524060538.1593686-1-hch@lst.de
         Signed-off-by: Jens Axboe <axboe@kernel.dk>
    +    (cherry picked from commit 3eb96946f0be6bf447cbdf219aba22bc42672f92)
    +    Signed-off-by: Miguel García <miguelgarciaroman8@gmail.com>
     
      ## block/blk-core.c ##
     @@ block/blk-core.c: static inline int bio_check_eod(struct bio *bio)
---

Results of testing on various branches:

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

      parent reply	other threads:[~2025-04-13 16:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-12 10:24 [PATCH 6.1.y] block: make bio_check_eod work for zero sized devices Miguel García
2025-04-12 15:43 ` Greg KH
2025-04-13 16:46 ` 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=20250412105909-5300d45443777a29@stable.kernel.org \
    --to=sashal@kernel.org \
    --cc=miguelgarciaroman8@gmail.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;
as well as URLs for NNTP newsgroup(s).