Skip to content
DoS Write-up Intermediate

When ICMP Turns Lethal (again): Deep Dive into CVE-2026–23398

A missing NULL pointer check in the Linux kernel's ICMP tag validation function allows a single crafted ICMP Destination Unreachable (Fragmentation Needed) packet to trigger a kernel panic and crash the system. The flaw only manifests when the sysctl setting net.ipv4.ip_no_pmtu_disc is set to 3, a configuration often used in hardened environments.

medium.com

Published on medium.com

What a nice easter egg to be found! What if I tell you that a single ICMP packet could bring down your Linux server instantly?

KeyboardSamurai, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing NULL pointer check in the icmp_tag_validation() function, where the kernel dereferences a tag structure returned by get_tag() without verifying it is non-NULL.

Impact

An unauthenticated attacker could send a single packet to crash the kernel and take down the entire system, but only if the target has net.ipv4.ip_no_pmtu_disc set to 3.

What the attacker needed

Target runs Linux kernel with the flaw; net.ipv4.ip_no_pmtu_disc set to 3; attacker can send crafted ICMP packets

The fix

The kernel should be patched to add a NULL check before dereferencing the tag structure; the text does not state that a fix has been released.

How it was found

  1. Set the kernel parameter net.ipv4.ip_no_pmtu_disc to 3 on the target system.
  2. Craft an ICMP Destination Unreachable, Fragmentation Needed (Type 3, Code 4) packet with embedded headers and MTU-related fields that reach the vulnerable code path.
  3. Send the packet to the target IP address.
  4. Observe a kernel panic and system crash.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A NULL pointer check is a basic safety step where a program confirms that a piece of data actually exists before trying to use it. Here, the Linux kernel skips that check in a networking function, so a specially formed network packet can make it read from an empty location, which crashes the whole machine. The bug only appears when a particular security setting is turned on, making it a denial-of-service issue rather than a way to steal data.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.