[PATCH v2 0/2] fix bio_split_to_limits() NULL pointer dereference
Alexander Mikhalitsyn
aleksandr.mikhalitsyn at canonical.com
Thu Jun 1 08:20:53 UTC 2023
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(-)
--
2.34.1
More information about the kernel-team
mailing list