Message ID | 20231026153508.6845-1-yuxuan.luo@canonical.com |
---|---|
Headers | show |
Series | CVE-2023-31085 | expand |
On 26.10.23 17:35, Yuxuan Luo wrote: > [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(+) > Acked-by: Stefan Bader <stefan.bader@canonical.com>
On 26/10/2023 17:35, Yuxuan Luo wrote: > [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(+) > Acked-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
On 26/10/2023 17:35, Yuxuan Luo wrote: > [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 f,j,l,m:master-next. Thanks! Roxana
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