stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Cc: stable@vger.kernel.org, "Jens Axboe" <axboe@kernel.dk>,
	"Thomas Weißschuh" <linux@weissschuh.net>,
	"Christoph Hellwig" <hch@infradead.org>,
	"Martin K . Petersen" <martin.petersen@oracle.com>,
	kernel-dev@igalia.com
Subject: Re: [PATCH 5.15,6.1 0/3] Fix block integrity violation of kobject rules
Date: Tue, 8 Oct 2024 12:01:32 +0200	[thread overview]
Message-ID: <2024100824-provable-unwed-aeea@gregkh> (raw)
In-Reply-To: <20241002140123.2311471-1-cascardo@igalia.com>

On Wed, Oct 02, 2024 at 11:01:19AM -0300, Thadeu Lima de Souza Cascardo wrote:
> integrity_kobj did not have a release function and with
> CONFIG_DEBUG_KOBJECT_RELEASE, a use-after-free would be triggered as its
> holding struct gendisk would be freed without relying on its refcount.
> 
> Thomas Weißschuh (3):
>   blk-integrity: use sysfs_emit
>   blk-integrity: convert to struct device_attribute
>   blk-integrity: register sysfs attributes on struct device
> 
>  block/blk-integrity.c  | 175 ++++++++++++++---------------------------
>  block/blk.h            |  10 +--
>  block/genhd.c          |  12 +--
>  include/linux/blkdev.h |   3 -
>  4 files changed, 66 insertions(+), 134 deletions(-)
> 
> -- 
> 2.34.1
> 
> 

This series is crazy to apply, you have 1 different patch for two
branches branch, and 2 for both, meaning I can't just apply a normal
series at all.  Would you want to recieve such a thing?

Please resubmit these as 2 different series so they can be applied like
normal.

thanks,

greg k-h

      parent reply	other threads:[~2024-10-08 10:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02 14:01 [PATCH 5.15,6.1 0/3] Fix block integrity violation of kobject rules Thadeu Lima de Souza Cascardo
2024-10-02 14:01 ` [PATCH 5.15,6.1 1/3] blk-integrity: use sysfs_emit Thadeu Lima de Souza Cascardo
2024-10-02 14:01 ` [PATCH 5.15,6.1 2/3] blk-integrity: convert to struct device_attribute Thadeu Lima de Souza Cascardo
2024-10-02 14:01 ` [PATCH 5.15 3/3] blk-integrity: register sysfs attributes on struct device Thadeu Lima de Souza Cascardo
2024-10-02 14:01 ` [PATCH 6.1 " Thadeu Lima de Souza Cascardo
2024-10-02 15:29 ` [PATCH 5.15,6.1 0/3] Fix block integrity violation of kobject rules Jens Axboe
2024-10-08 10:01 ` Greg KH [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=2024100824-provable-unwed-aeea@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=axboe@kernel.dk \
    --cc=cascardo@igalia.com \
    --cc=hch@infradead.org \
    --cc=kernel-dev@igalia.com \
    --cc=linux@weissschuh.net \
    --cc=martin.petersen@oracle.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).