NULL pointer dereference (memory safety) in netfilter OS fingerprint TTL check
Description
Commit Details
Author: Fernando Fernandez Mancera
Date: 2026-04-17 16:20 UTC
Message:
Triage Assessment
Vulnerability Type: Memory safety (NULL pointer dereference)
Confidence: HIGH
Reasoning:
The patch removes an unconditional access to skb->dev and an interface loop that could dereference a NULL or invalid device pointer during TTL checks, replacing with a safer switch-based TTL evaluation. This mitigates a potential NULL pointer dereference / memory-safety issue in the netfilter OS fingerprint path, which could otherwise lead to kernel crashes. The change is explicitly described as fixing a NULL dereference vulnerability in ttl check.
Verification Assessment
Vulnerability Type: NULL pointer dereference (memory safety) in netfilter OS fingerprint TTL check
Confidence: HIGH
Affected Versions: All versions prior to and including v7.0-rc6 (i.e., before this patch in nfnetlink_osf.c)