cedws 3 days ago

I can’t help but feel CHERI is a hardware hack for a software problem. Hardware has no business patching software’s errors. Given the history of vulnerabilities in hardware security features themselves, I’m also sceptical of it being a long term, robust solution. For instance, I recall a paper busting ARM’s Memory Tagging Extension.

  • wk_end 3 days ago

    Do you hold the same opinion about hardware support for memory protection?

  • pjmlp 3 days ago

    Unfortunelly 50 years of experience have proven that C Machines are the only way to put C devs into their place, in regards to security first mindset.

    Solaris has been doing this since 2016, with SPARC ADI.

    • gnufx 3 days ago

      CHERI is very different from that in multiple ways, and then SPARC/Solaris is doubly moribund.

      • pjmlp 2 days ago

        The main difference is that SPARC Solaris is actually used in production, regardless of how many existing deployments.

  • ksec 2 days ago

    >I can’t help but feel CHERI is a hardware hack for a software problem.

    It is a hardware solution for software problem. Pretty much like a lot of things in hardware just to make software faster or easier.

evanjrowley 4 days ago

Would be nice if an ARM Morello Framework motherboard was released with this.

  • janice1999 4 days ago

    It's not clear to me if ARM (the company) is actually interested in pursuing Cheri since all the work seems to have been DARPA or UK gov funded. I'm more interested in their RISC-V implementation (FPGA only for now I think). Some companies might be able to run with RISC-V and give us real hardware.

    • ksec 4 days ago

      Are you suggesting this year will be the end of their Morello program?

      From [1] "The Morello program started in October 2019, and will span a 5-year period."

      [1] https://www.arm.com/zh-TW/architecture/cpu/morello

      • mlyle 4 days ago

        I am not sure what your comment means. We are almost 5 years past Oct 2019, are we not?

        If that’s what you intended to point out, I am sorry.

        • pjmlp 2 days ago
          • mlyle 2 days ago

            Again, it's just better if you say what you're trying to say, instead of posting a bunch of links and let us figure it out.

            I don't know how any of your links really let us weigh ARM's commitment to CHERI going forward, which is the point of discussion. Indeed, none of those 3 links has anything to do with ARM at all, other than the first mentioning Morello.

            The comment you responded to is this:

            > It's not clear to me if ARM (the company) is actually interested in pursuing Cheri

            • pjmlp 2 days ago

              It is the commitment of Microsoft Research dollars.

              • mlyle 2 days ago

                We're discussing whether this is a likely future direction for ARM, and whether ARM will continue to invest in this or push this as a key future direction. That is what you replied to. You've shown nothing other than ARM was interested in taking some research money in the past. And, frankly, you've wasted my time with links trying to figure out what you were saying (which turned out to be irrelevant).

                Sigh.

                • pjmlp 2 days ago

                  ARM will be interested as long as Microsoft Research is interested in putting in the greens.

                  Please don't waste more of your precious time replying to this.

                  • mlyle 2 days ago

                    The question was whether ARM was interested in this beyond collecting research dollars.

  • gnufx 4 days ago

    It runs in emulation, at least, doesn't it?

hi-v-rocknroll 3 days ago

Sadly, seL4's design approach and formal verification process still hasn't caught on. Until then, we're just rebuilding castles with slightly different grades of sand in the ocean surf and expecting a different result.

  • 95014_refugee 3 days ago

    I’m not sure about the “sadly” part here. Whilst it proved that something could be done, it also taught us a lot about what doing it cost (a lot), how scalable it was (not), and whether it would be broadly applicable (no).

    Any strategy for improving software resilience has to account for the scale and pace of software development, as well as accommodating the skill gradient and surrounding social factors. FV as currently practiced fails at all of this.

    • hi-v-rocknroll 3 days ago

      Doing the same thing and expecting a different result is either madness or stupidity. Rigor and correctness are lacking in most, if not all, software engineering and it's still not okay.

  • pjmlp 3 days ago

    Those kind of solutions only work, if you get the human side buy-in as well.

    For many safety concepts in software development, the problem isn't technical.

    And since many devs are like St. Thomas, where only if you build X with Y to prove Z, while achieving Webscale delivery, they will "maybe" adopt the technology.

    Thus failing the money, and with such sceptic attitude, many good technologies fail to gain adoption.

cyberpunk 4 days ago

I wonder why a separate distro and not upstream this work to FreeBSD?

  • janice1999 4 days ago

    It probably doesn't make sense for FreeBSD to maintain a separate distro build for an experimental architecture that only supports a single demo board and requires lots of patches.

    It is a super interesting project though. It would be great if the hardware performance overheads were reduced so much that it became a mainstream ARM target.

    • ksec 4 days ago

      >It would be great if the hardware performance overheads were reduced so much that it became a mainstream ARM target.

      We are only looking at sub 5% performance hit on an optimised ARM design. I don't see that really as performance overheads.

alberth 4 days ago

Does Apple do anything like this with their hardware/software combo?

  • musicale 4 days ago

    Not yet, but they definitely could. It might provide momentum to bring improved memory safety to ARM in general.

    • musicale 2 days ago

      Apple's M1 certainly reset people's expectations for battery life in a laptop.

      A morello-like Apple Silicon implementation with software support in macOS might not be as blindingly obvious to end users in terms of superior behavior, but it could potentially serve as a compelling proof-of-concept example to competing vendors, demonstrating the practicality of hardware memory safety features for mass market devices.

    • pjmlp 3 days ago

      Safe C on iBoot, hardned libc++, Pointer Authentication Codes (PACs) on iDevices.