Re: [PATCH 5.15,6.1 0/3] Fix block integrity violation of kobject rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux