Hacker News new | ask | show | jobs
by ranger_danger 32 days ago
> The chain you drop the packet doesn't matter

Hard disagree... the packet could be part of an existing TCP stream and get processed by nf_conntrack before it hits the filter.INPUT chain. Or a local application could be sending packets to the loopback interface that bypasses the input chain in various ways.

A custom netfilter rule may already exist that accepts the packet before your mitigation does. And nftables allows custom chains that run at a higher priority than filter.INPUT and could be accepted before it touches it.

This is why vendors are suggesting to use the raw.PREROUTING chain instead.

And what I said before about eBPF still stands... someone has written a mitigation that uses that instead since it runs even before PREROUTING: https://github.com/sevaepsteyn/cve-2026-98432-ebpf

And again, any processes that are part of a separate network namespace will not have the same netfilter rules applied that one has added within the main namespace.

Local processes / users can also easily bypass netfilter entirely by way of creating their own network namespaces via unshare/firejail/etc regardless of whether user namespaces are enabled.

1 comments

Sounds like if I don't have other rules which allow the incoming connection, and processes running on the host are outside my threat model, I'm safe.