News for hackers. Stuff that matters.
Re:Ask HN: Why are there no open source NVMe-native key valu... by rwmj on Monday October 16, 2023 @10:33AM (#37900388)
Is there not any danger of tenants rewriting the firmware on these drives, and surprising (or compromising) future tenants? AIUI this is the central reason why even "baremetal" cloud instances still have a minimal hypervisor between the tenant and the hardware.
Re:Ask HN: Why are there no open source NVMe-native key valu... by nixgeek on Monday October 16, 2023 @11:06AM (#37900836)
I’m not sure what makes you think an “minimal hypervisor” exists — Oracle Cloud Infrastructure doesn’t have a hypervisor of any sort between you and its .metal instance types. Don’t think Amazon EC2 does either.
Re:Ask HN: Why are there no open source NVMe-native key valu... by rwmj on Monday October 16, 2023 @11:46AM (#37901498)
Amazon have their own partitioning hypervisor for this purpose. It sits below any hypervisor that might be visible to the tenant.
Re:Ask HN: Why are there no open source NVMe-native key valu... by wmf on Monday October 16, 2023 @12:19PM (#37902074)
The top clouds (AWS/Azure/Google) have custom firmware to solve this problem. Second-tier clouds probably don't so customers can reflash firmware.
Re:Ask HN: Why are there no open source NVMe-native key valu... by otterley on Monday October 16, 2023 @02:07PM (#37903749)
If your second sentence is true -- and I hope it isn't! -- that would be a gaping security hole.
Re:Ask HN: Why are there no open source NVMe-native key valu... by wmf on Monday October 16, 2023 @02:58PM (#37904485)
To be fair, some of the bare metal providers reflash firmware when the machine is reprovisioned. In theory firmware "implants" could survive reflashing but I don't know if such a thing has ever been seen in the wild.
Re:Ask HN: Why are there no open source NVMe-native key valu... by nerpderp82 on Monday October 16, 2023 @05:25PM (#37906869)
This needs to be taken into account when running on metal instances with different cloud providers. You would also want an assurance that metal instances aren't ever repurposed to be VM hosts in the future.
Re:Ask HN: Why are there no open source NVMe-native key valu... by idanp on Tuesday October 17, 2023 @01:51AM (#37911106)
Virtualization can happen in the hardware itself, e.g. SR-IOV.