(opensec.in)
No idea about NFS today, but an argument for SMB is that it apparently supports RDMA transfers and no idea if there's any "generic" interface good enough as sendfile that can be extracted yet.
https://github.com/yeet-src/pfw
Here is the specific rule. I just added and confirmed it. (can see the CI).
https://github.com/yeet-src/pfw-rules/blob/53f78fc5823354f4a...
just pull the repo w `pfw pull` then `pfw ls` and apply and you're all set.
You can try
`pfw metrics`
To see.
We use a ton of clever JIT compilation techniques to lower code directly onto the NIC
Obviously not written with AI in mind, but certainly seems to be true with the many AI eyes on open source at the moment.
Makes me wonder, is the access to the Windows source code one could apply for still a thing? If so, anyone know if there are security firms out there running the same kind of AI deep review for vulnerabilities against it?
From my limited understanding, the NT kernel runs a lot less code at the most privileged level (e.g. drivers), so perhaps that means the chances of finding such escalation vulns are a lot less?
Micro-kernels have always been said to have unsolvable performance problems vs monolithic ones, but have we perhaps entered a time where we are willing to trade off speed for reduced risk? Maybe some orgs running interpreted/JIT'ed languages on Linux would be better served rewriting in more performant ones whilst switching to micro-kernel style OSes, ending up hopefully with at least performance parity to what they had before?
Rewriting large swaths of the Linux kernel (and userspace?) in Rust may also be enough?
(Edited: formatting)
> access to the Windows source code one could apply for still a thing?
you don't need it, it doesn't matter that much
modern AIs are _incredible_ good at decompiling & reverse engineering to a point where experts in the field have publicly stated it has gotten better then them the "groundwork" (binary -> some kind of sourcode; at least in many "standard" cases)
the reason you mainly see news about AI finding vulnerabilities in open source a huge observation bias.
Mainly:
=> if you non maliciously look for security issues to report & publicize there is a bug preference for OSS (for a variety of reasons)
=> but if you maliciously look for issues you can sell proprietary software is often much more interesting (for a variety of reasons)
=> due to Linux being a critical foundational block for many huge companies there are probably many millions spend on tokens to weed out security issues
=> and for a proprietary code only the company which owns is has a good legal foothold to run analysis on it, any even if they find 1000 CVE worthy bugs, will they report them?? And will they have the same insensitive to spend huge amount of tokens on this?? Probably not always. (It's not that other can't run analysis, as mentioned decom&reverse engineering works super well. But companies threatening to sue you if you did so are not rare. And that is no matter weather they have a legal basis for it or weather you reported it in good will. Sadly being in the right doesn't protect you from abuse by through the legal system. Hence also why security researchers often prefer OSS.)
So it you sum up, if people apply it to OSS it tends to be in the open, if they apply it to closed source it often is not or less public.
BUT this means the arguments "against open source" I have seen in some sources recently really do not add up at all and to some degree it is even the opposite.
I think that has been refuted by Jochen Liedtke's work (L3, then L4 micro kernels).
if you are supper nit-picky about the definition of the class of vulnerability then yes
but if you look at the relevant "fallout" an attacker can cause then it's not a good point for Windows as you often don't need to actually get RCE in the NT kernel at all to do all the damage you want to do.
Through yes I think the Qubes and similar go in the right direction (VM sandbox everything). And micro kernel which put most work into (sandboxed) user-space seem increasingly like a "insanely good" idea. The "speed tradeoffs" are also often not really a issue at all. (1)
But it also gets increasingly more clear that trusting sandboxes is ... not always the best idea and the best thing to do is to make sure no untrusted code run at all. Sure that often isn't feasible. But for servers there is an increasing case for systems which _can_ only run what you ship and nothing else (2). Only problem is that is inherently in conflict with JIT, scripting languages etc...
---
(1): Micro-Kernels have certain choke points, but outside of some HPC-stuff they might not matter at all and/or can be worked around. E.g. Nintendo Switch might have slow hardware but isn't exactly inefficient in running games on that slow hardware, it has a micro kernel (so has Switch 2). E.g. a surprising amount of web services are run in python which is many magnitudes more a perf. drawback then what micro kernels impose. And even many of the most common web services (e.g. node or java based) might run fast (V8/Java can be reasonable fast) but would work "fine" even if they where 10%-50% slower (and for a lot of stuff we are speaking about ~5% throughput perf. drawback in average, much less if perf. is mostly compute in a small set of data and not moving data). And for LLM servers -5% throughput (between GPU and service) might matter, but you could most likely find a way to work around that, reducing it to a acceptable level not relevant compared to general time spend in the GPU doing compute.
(2): As in: A lot of hardware protections from read xor write memory to stuff which makes turning your code into gadgets or ROP very hard. Then added on top something which makes sure only signed code is loaded into executable memory. And make sure that all code is singed by the OS or your own key. (And yes that only makes sense for headless systems you never login like single service VMs (as it also implies there is no shell or any other capability to run "arbitrary scripts, even if by hand").
Yes? You're probably safe.
No? You might want to patch this even if you trust the others that have access to it.
$ echo "-4.1 -4.2" | sudo tee /proc/fs/nfsd/versions
I am no security expert but for now this change, which is temporary and reverts on reboot, seems reasonable. Before I did this I checked if my clients used nfs 4.1 or 4.2 at all and only one computer on my network did and it has fine 3/4 support. The vast majority of my nfs traffic is v3.Given the pace of LLMs finding vulnerabilities recently, how do you propose anyone will ever be able to establish a track record in the future without already having access? You're describing a system where it's literally impossible for anyone new to ever enter the field (other than a privileged few who work for these AI companies I guess)
6.12.117
6.18.61
7.3.2
7.4-rc1
This is CVE-2026-99362
One has to wonder, however, why Canonical doesn't stick to LTS kernels for their LTS distro. They already offer the HWE kernel for those who need a more up-to-date kernel (whose version is bumped twice a year I think).
Taking on the burden of backporting patches themselves has to have become quite costly (and reckless) in $CURRENTYEAR.
With so many, they're less novel, less interesting in a sense, so less worthy of effort writing by a human
Still, just another example of why C code can’t be exposed to the internet.
NFSv4 needs idmapd, which is a different beast altogether.
Still, getting root on your internal fileserver isn't great.
This is how you can tell you’re reading a post from a Real Old Time hacker. Hasn’t been that way for a long time.
If someone sets up an NFS server, they know what kind of risk they open themselves up to.
I don't think preauth RCE is an expected risk of setting up NFS, actually.
1. there are some servers where an NFS export is provided to some users basically "read only" and where the security model is "if you're in the same network you can access this data; we're all friends but I'll keep the crown jewels in that other walled off network away from y'all." In that case, using NFS V3 style UID access management is good enough. This (for those sorts of users) is an "audit the config, update it to use only NFS versions that aren't subject to this and disable the newer versions... probably also update the "risk register and put a "we'll never actually do this" story in place to update this to some object store / proper data warehouse style system.
2. there are systems such as what you've described where there's users with NFS shared homes. In those situations, hopefully, they're using some sort of "Appliance" system such as a netapp, where things like HA and such are managed by the vendor. In those cases, hopefully, they're not relying on kernel NFS services, and again this is not an issue.
3. there are systems such as the one above, but they're actually using linux. In those cases, hopefully, they're using NFS-ganesha (a userland NFS server) because it's got a couple nice big-iron management style features. Again, this avoids this V4.1+ situation.
4. people stuck in amber, who are doing as you suggest (NFS kernel exports of things that require real user identities) -- those situations are actually kinda rare, and hopefully those people who are actually doing this know what they're doing, or are so YOLO that they don't care.Ooo now, thats a good question. I used to work in VFX, and NFS was/is the bread and butter of file IO. We used to turn off v4 because it was slower over the LAN. If we were doing long disntance we'd use aspera (or what ever opensource version we could get our hands on) failing that we'd ship LTO5/6 tapes.
From a performance point of view, I know that v4 could do clustered servers natively. As in "HA" for NFS servers (that did require clustered filesystem though....)
the problem being was that you needed to fiddle about with auth to make it work, which from my understanding caused performance issues. But, that was in 2014, and we are many years ahead in CPU and memory speed now.
Then, you need to add volumes to /etc/exports with allowed hostnames (with lots of parameters for access control).
I'm assuming that anything disallowed by /etc/exports is not allowed, this exploit included.
https://www.linuxjournal.com/content/encrypting-nfsv4-stunne...
/s
> Pre-auth heap overflow in the Linux NFS server (nfsd)
> Set it to the minimum and every slot's buffer is zero bytes. nfsd4_sequence() then shrinks the reply buffer to that limit before it accepts the slot. Pad the request's tag so the buffer fills right after the SEQUENCE opcode, and the encoder quits without flagging an error. The server believes SEQUENCE succeeded and caches the whole reply, headers and tag included, into a buffer with room for nothing.
Then it causes an out-of-bounds crash:
>> BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390
>> Write of size 80 at addr ffff888003a549cd
>> __asan_memcpy+0x38/0x60
>> read_bytes_from_xdr_buf+0x1bc/0x390
>> nfsd4_sequence_done+0x5b0/0x810
>> nfs4svc_encode_compoundres+0x1bf/0x240
So yet another memory corruption issue that gives the attacker control of the execution and its possible to get root on the system and this is in the kernel itself so "hardening" does not remove the bug.What a disaster.
No it is not. My comment is not "AI written". Throw it into Pangram and you will see that it is not.
My comment does not invalidate that the vulnerability is real.
So what is your point?
> On the contrary: he explained why the comment was dead.
That isn't an explanation, it is an empty assumption.
So we are going to believe 5 month old accounts over 7+ year old ones created before Claude and ChatGPT existed?
> therefore the account has (seemingly) been restricted by the admins.
That is completely automated here.
It was a huge source of vulnerabilities in Windows back in the days and now we see issues in Linux too.
I think linux kernel should not include these scrappy protocols to begin with.