I was wiping an NVMe drive on my work laptop because I migrated to a new unit (win11, sadly...) and whilst in the GParted live, I came across this: https://github.com/linux-nvme/nvme-cli
Maybe it could be helpful for your case for diagnostics? iunno, but thought I'd let you know. Should be in most repos - it is in Debian's, that's for sure.

