stack smashing detected with 'nvme sanitize-log /dev/nvme0'

Christoph Hellwig hch at lst.de
Mon Aug 28 02:21:55 PDT 2023


On Fri, Aug 25, 2023 at 08:36:50AM +0200, Daniel Wagner wrote:
> Okay, let's ignore the regression argument then. But what about the fact
> we are asking for 512 bytes via the kernels API and get too much data?
> Isn't this something we should address? I mean this forces all users of
> this kernel API allocate enough large buffers to handle this device.

There isn't really much the kernel can do except for using an IOMMU
when available to protect itself from this, but that will mean we're
shutting down the device when it does that.

The device just seems completely broken unfortunately.



More information about the Linux-nvme mailing list