Re: Kernel error with 6.8.9

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

 




> 2024年5月17日 08:34,Eric Wheeler <bcache@xxxxxxxxxxxxxxxxxx> 写道:
> 
> On Mon, 13 May 2024, Coly Li wrote:
> 
>> 
>> 
>>> 2024年5月12日 17:41,Pierre Juhen (IMAP) <pierre.juhen@xxxxxxxxx> 写道:
>>> 
>>> Hi,
>>> 
>>> I use bcache on an nvme partition as frontend and md array ass backend.
>>> 
>>> I have the following error since I updated to kernel 6.8.9.
>>> 
>>> UBSAN: array-index-out-of-bounds in drivers/md/bcache/bset.c:1098:3
>>> [    7.138127] index 4 is out of range for type 'btree_iter_set [4]'
> ...
>> 
>> The fix is in linux-next and will be in 6.10 as expecting.
> 
> Thank you Coly!
> 
> Two questions:
> 
> - What is the commit hash for this fix? 

It is commit 3a861560ccb3 (“ bcache: fix variable length array abuse in btree_iter”) from Linus tree.

> 
> - Does it need to be backported to older kernels?
> 

This is a patch to moving warning, the original code works fine. IMHO it is not mandatory to backport to elder kernels, but good to have if UBSAN also complains in that kernel version.

Thanks.

Coly Li







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux