Message ID | 20230601094006.171590-1-aleksandr.mikhalitsyn@canonical.com |
---|---|
Headers | show |
Series | fix bio_split_to_limits() NULL pointer dereference | expand |
On 01/06/2023 11:40, Alexander Mikhalitsyn wrote: > BugLink: https://bugs.launchpad.net/bugs/2020901 > > [Impact] > System crash/hung as a consequence of null pointer dereference. > > [Fix] > port appropriate patches from the upstream tree > > [Test] > We have a stable reproducer on the LXD/LXC CI. > > [Where problems could occur] > We've met this problem with Qemu VM (LVM storage). > > Jens Axboe (2): > block: handle bio_split_to_limits() NULL return > pktcdvd: check for NULL returna fter calling bio_split_to_limits() > > block/blk-merge.c | 4 +++- > block/blk-mq.c | 5 ++++- > drivers/block/drbd/drbd_req.c | 2 ++ > drivers/block/pktcdvd.c | 2 ++ > drivers/block/ps3vram.c | 2 ++ > drivers/md/dm.c | 2 ++ > drivers/md/md.c | 2 ++ > drivers/nvme/host/multipath.c | 2 ++ > drivers/s390/block/dcssblk.c | 2 ++ > 9 files changed, 21 insertions(+), 2 deletions(-) > Acked-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
On Thu, Jun 01, 2023 at 11:40:04AM +0200, Alexander Mikhalitsyn wrote: > BugLink: https://bugs.launchpad.net/bugs/2020901 > > [Impact] > System crash/hung as a consequence of null pointer dereference. > > [Fix] > port appropriate patches from the upstream tree > > [Test] > We have a stable reproducer on the LXD/LXC CI. > > [Where problems could occur] > We've met this problem with Qemu VM (LVM storage). All good now, thanks! Acked-by: Andrea Righi <andrea.righi@canonical.com>
On 01.06.23 11:40, Alexander Mikhalitsyn wrote: > BugLink: https://bugs.launchpad.net/bugs/2020901 > > [Impact] > System crash/hung as a consequence of null pointer dereference. > > [Fix] > port appropriate patches from the upstream tree > > [Test] > We have a stable reproducer on the LXD/LXC CI. > > [Where problems could occur] > We've met this problem with Qemu VM (LVM storage). > > Jens Axboe (2): > block: handle bio_split_to_limits() NULL return > pktcdvd: check for NULL returna fter calling bio_split_to_limits() > > block/blk-merge.c | 4 +++- > block/blk-mq.c | 5 ++++- > drivers/block/drbd/drbd_req.c | 2 ++ > drivers/block/pktcdvd.c | 2 ++ > drivers/block/ps3vram.c | 2 ++ > drivers/md/dm.c | 2 ++ > drivers/md/md.c | 2 ++ > drivers/nvme/host/multipath.c | 2 ++ > drivers/s390/block/dcssblk.c | 2 ++ > 9 files changed, 21 insertions(+), 2 deletions(-) > Applied to kinetic:linux/master-next. Thanks. -Stefan