Re: [PATCH] md: make sure desc_nr less than MD_SB_DISKS

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

 



On Mon, Dec 9, 2019 at 11:03 PM Yufen Yu <yuyufen@xxxxxxxxxx> wrote:
>
> For super_90_load, we need to make sure 'desc_nr' less
> than MD_SB_DISKS, avoiding invalid memory access of 'sb->disks'.
>
> Fixes: 228fc7d76db6 ("md: avoid invalid memory access for array sb->dev_roles")
> Signed-off-by: Yufen Yu <yuyufen@xxxxxxxxxx>

Applied. Thanks!
Song



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux