Displaying 7 results from an estimated 7 matches for "jinpu".
Did you mean:
jingu
2017 Jan 04
2
[PATCH] virtio_blk: avoid DMA to stack for the sense buffer
...including the SG_IO ioctl from userspace will crash the kernel. Note that
> this includes running tools like hdparm even when the host does not have
> SCSI passthrough enabled.
This sounds scary.
Could you share how to reproduce it, this should go into stable if
it's the case.
Thanks,
Jinpu
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/block/virtio_blk.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
> index 5545a67..3c3b8f6 100644
> --- a/driv...
2017 Jan 04
2
[PATCH] virtio_blk: avoid DMA to stack for the sense buffer
...including the SG_IO ioctl from userspace will crash the kernel. Note that
> this includes running tools like hdparm even when the host does not have
> SCSI passthrough enabled.
This sounds scary.
Could you share how to reproduce it, this should go into stable if
it's the case.
Thanks,
Jinpu
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/block/virtio_blk.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
> index 5545a67..3c3b8f6 100644
> --- a/driv...
2017 Jan 05
1
[PATCH] virtio_blk: avoid DMA to stack for the sense buffer
...it, this should go into stable if
>> it's the case.
>
> Step 1: Build your kernel with CONFIG_VMAP_STACK=y
> Step 2: issue a SG_IO ioctl, e.g. sg_inq /dev/vda
>
Thanks, so it's only relevant to kernel > 4.9, as CONFIG_VMAP_STACK
only introduced in 4.9 kernel.
Regards,
Jinpu
2017 Jan 05
1
[PATCH] virtio_blk: avoid DMA to stack for the sense buffer
...it, this should go into stable if
>> it's the case.
>
> Step 1: Build your kernel with CONFIG_VMAP_STACK=y
> Step 2: issue a SG_IO ioctl, e.g. sg_inq /dev/vda
>
Thanks, so it's only relevant to kernel > 4.9, as CONFIG_VMAP_STACK
only introduced in 4.9 kernel.
Regards,
Jinpu
2017 Jan 04
4
4.10 and -stable fix for virtio_blk and virtually mapped stacks
Without this fix attempts to do scsi passthrough on virtio_blk will crash
the system on virtually mapped stacks, which is something happening during
boot with many distros.
2017 Jan 04
4
4.10 and -stable fix for virtio_blk and virtually mapped stacks
Without this fix attempts to do scsi passthrough on virtio_blk will crash
the system on virtually mapped stacks, which is something happening during
boot with many distros.
2019 Dec 11
3
[PATCH 00/24] block, scsi: final compat_ioctl cleanup
...y at oracle.com
Cc: jgross at suse.com
Cc: sstabellini at kernel.org
Cc: konrad.wilk at oracle.com
Cc: roger.pau at citrix.com
Cc: bp at alien8.de
Cc: davem at davemloft.net
Cc: john.garry at huawei.com
Cc: brking at us.ibm.com
Cc: intel-linux-scu at intel.com
Cc: artur.paszkiewicz at intel.com
Cc: jinpu.wang at cloud.ionos.com
Cc: dgilbert at interlog.com
Cc: Kai.Makisara at kolumbus.fi
Cc: arnd at arndb.de
Cc: damien.lemoal at hgst.com
Cc: hare at suse.com
Cc: linux-doc at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-block at vger.kernel.org
Cc: linux-arm-kernel at lists.infradea...