ACK/Cmt: [SRU][K:master-next][PATCH v2 0/2] fix bio_split_to_limits() NULL pointer dereference

Roxana Nicolescu roxana.nicolescu at canonical.com
Thu Jun 1 09:41:16 UTC 2023


On 01/06/2023 10:27, 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(-)
>
Hi Alexander,

You forgot to putĀ  (backported from <commit>) before your comments and 
sob in both patches. But it can fixed during applying.
Thanks for solving this!

Roxana



More information about the kernel-team mailing list