public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* stack smashing detected with 'nvme sanitize-log /dev/nvme0'
@ 2023-07-26 11:52 Daniel Wagner
  2023-07-26 13:16 ` Christoph Hellwig
  2023-07-27  1:30 ` Ming Lei
  0 siblings, 2 replies; 16+ messages in thread
From: Daniel Wagner @ 2023-07-26 11:52 UTC (permalink / raw)
  To: linux-nvme@lists.infradead.org
  Cc: Guangwu Zhang, Ming Lei, Christoph Hellwig, Keith Busch

FYI, I got a a bug report [1] with a 'stack smashing detected' when running
'nvme sanitize-log /dev/nvme0' on Debian. Originally, it was reported against
udisk. udisk recently added libnvme which does now a sanitize-log call, so this
problem might exists for a while.

We figured out that an older kernel such as 4.19.289 work but newer not (it's a
bit hard for the reporter to test all combinations on his setup due to compiler
changes etc.).

There was a bit of refactoring in v5.2 which could be the cause of the stack
smash, because saw this recent fix:

 b8f6446b6853 ("nvme-pci: fix DMA direction of unmapping integrity data")

[1] https://github.com/storaged-project/udisks/issues/1152


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-09-25 15:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26 11:52 stack smashing detected with 'nvme sanitize-log /dev/nvme0' Daniel Wagner
2023-07-26 13:16 ` Christoph Hellwig
2023-08-21 13:37   ` Daniel Wagner
2023-08-21 15:11     ` Keith Busch
2023-08-22  7:55       ` Daniel Wagner
2023-08-23 15:37         ` Keith Busch
2023-08-25  6:36           ` Daniel Wagner
2023-08-28  9:21             ` Christoph Hellwig
2023-09-25 15:09               ` Daniel Wagner
2023-09-25 15:19                 ` Christoph Hellwig
2023-08-28  9:20       ` Christoph Hellwig
2023-08-29 13:29         ` Keith Busch
2023-08-28  9:18     ` Christoph Hellwig
2023-07-27  1:30 ` Ming Lei
2023-07-27  1:37   ` Guangwu Zhang
2023-07-27  7:23     ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox