An unofficial, read-only Hacker News reader.

Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server (opens external site)

216 points by dm 4 days ago | opensec.in | 95 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. How much does that help? My impression is that seL4 is great at what it does, but what it does is so limited that to e.g. host NFS on it you're just going to run Linux in a VM at which point... I guess it depends on the details and your threat model, but it feels like a long road back do the same place.
    Replies (1)
    1. seL4 itself does (intentionally) little, as is typical for micro-kernels. If you run Linux in a VM atop of it for the NFS service, than that VM would be indeed just as vulnerable. The idea of micro-kernels however is, that services like NFS would run unprivileged and get their own address space, so the damage would be limited. Now as to whether there exists a stand-alone NFS server for seL4 ...
      Replies (1)
      1. The same argument applies to Linux - it's secure because someone can write an unprivileged NFS daemon... but they didn't.
        Replies (1)
        1. It wouldn't matter, the Linux kernel has MLoCs hiding many a bug.

          When you run that much code privileged, a few lines more or less does not make a difference.

          Linux is not a foundation suitable for security to be built on. Or integrity. Or reliability.