Menu

A 21-year-old kernel bug can fool your firewall. I built a 3-condition check that tells you if your host is actually exposed
📰

A 21-year-old kernel bug can fool your firewall. I built a 3-condition check that tells you if your host is actually exposed

DEV Community: typescript·TECHDEV·1 day ago
#mAMSB7Sb
#devtotypescript#devto#dev#fraggate#kernel
Long article (1118 words) — no AI summary yet.
Reading 0:00
15s threshold

On 2026-11-30, Red Hat published CVE-2026-139281: a Linux kernel flaw with a CVSS score of 9.1 that has been present since kernel 2.6.15, released in January 2006. Twenty-one years.

The bug lives in nf_conntrack_reasm.c , in a function called find_prev_fhdr() . When the kernel reassembles fragmented IPv6 packets, it stores a Next Header offset in a single unsigned byte. Past byte 255, the offset wraps. The fix example in the advisory is blunt: conntrack records the traffic as UDP port 53 while the payload is delivered to UDP port 9999.

That is the dangerous part. Stateful firewall rules that trust conntrack - the classic ct state established,related accept - act on the wrong record. The firewall fools itself.

The researcher is Jeremy Jean (ANSSI). The patch went public 2026-08-22, merged upstream 2026-10-19, and landed in mainline 7.4-rc1. Fixed builds: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.