Posted by dm 6 hours ago
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.
6.12.117
6.18.61
7.3.2
7.4-rc1
This is CVE-2026-99362
Still, just another example of why C code can’t be exposed to the internet.
NFSv4 needs idmapd, which is a different beast altogether.
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.
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.
> 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.