APPLIED [OEM-6.1] Re: [SRU][OEM-6.1][F/J/L/M][PATCH 0/1] CVE-2023-31085

Timo Aaltonen tjaalton at ubuntu.com
Tue Oct 31 07:27:26 UTC 2023


Yuxuan Luo kirjoitti 26.10.2023 klo 18.35:
> [Impact]
> An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2.
> There is a divide-by-zero error in do_div(sz,mtd->erasesize), used
> indirectly by ctrl_cdev_ioctl, when mtd->erasesize is 0.
> 
> [Backport]
> It is a clean cherry pick.
> 
> [Test]
> Compile and boot tested.
> 
> [Potential Regression]
> Expect very low regression potential that's limited to this specific
> driver.
> 
> 
> Zhihao Cheng (1):
>    ubi: Refuse attaching if mtd's erasesize is 0
> 
>   drivers/mtd/ubi/build.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 

applied to oem-6.1, thanks

-- 
t




More information about the kernel-team mailing list