Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98317 Overview
CVE-2026-98317 is a Linux kernel vulnerability in the neighbour subsystem. The NDTPA_INTERVAL_PROBE_TIME_MS netlink attribute defines .type and .min but omits .validation_type, so no validation runs against user-supplied values. An unprivileged input path accepts zero and oversized values that silently truncate from u64 to u32, bypassing the minimum check. The resulting value flows into msecs_to_jiffies(), which returns MAX_JIFFY_OFFSET for inputs greater than INT_MAX, and into NEIGH_VAR(), where overflow can occur when HZ > 1000 on Alpha and MIPS. A negative delay passed to queue_delayed_work() wraps the expiry time into the past and is handled as a zero delay in the timer wheel.
Critical Impact
Missing netlink attribute validation allows user input to overflow neighbour probe interval timers, leading to unintended behavior for NTF_MANAGED entries on affected kernels.
Affected Products
- Linux kernel (upstream, mainline tree)
- Linux kernel stable branches referenced in the fix commits
- Distributions shipping affected kernel versions with the neighbour subsystem
Discovery Timeline
- 2026-10-06 - CVE-2026-98317 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98317
Vulnerability Analysis
The defect lives in the netlink policy for NDTPA_INTERVAL_PROBE_TIME_MS in the kernel's neighbour table configuration path. The policy entry declares a type and minimum but never sets .validation_type, so the netlink core performs no bounds check. A caller using ynl can set interval-probe-time-ms to 0 and the value is accepted and stored. The same path accepts values such as 4294967296 (0x100000000). After silent truncation to u32, the retained value is 0, which bypasses the intended minimum.
Values larger than INT_MAX milliseconds pass through nla_get_msecs() and msecs_to_jiffies(), which returns MAX_JIFFY_OFFSET. On architectures where HZ > 1000, including Alpha and MIPS, the resulting jiffies calculation inside NEIGH_VAR() overflows a signed int. The overflowed value then reaches queue_delayed_work(), whose delay parameter is unsigned long. Sign extension turns the negative value into a very large unsigned delay that wraps the expiry time to the past, causing the work item to be handled with a zero delay in the timer wheel.
Root Cause
The root cause is an input validation error [CWE-20] in the netlink attribute policy combined with a numeric truncation and sign-extension chain across u64, u32, int, and unsigned long. The missing .validation_type disables range enforcement, and the implicit casts allow out-of-range values to re-enter valid-looking numeric ranges downstream.
Attack Vector
A local caller with the capability to send RTM_SETNEIGHTBL netlink messages can set NDTPA_INTERVAL_PROBE_TIME_MS to crafted values. The impact targets NTF_MANAGED neighbour entries, where the probe interval governs timer scheduling. The upstream fix adopts NLA_POLICY_FULL_RANGE() and caps the maximum at one day, with the same bound mirrored in the sysctl path.
See the kernel git references for the exact code changes: kernel commit 6d79b223, kernel commit 8550b50e, and kernel commit 982c7f66.
Detection Methods for CVE-2026-98317
Indicators of Compromise
- Unexpected RTM_SETNEIGHTBL netlink messages carrying NDTPA_INTERVAL_PROBE_TIME_MS values of 0 or greater than 86400000 (one day in milliseconds).
- Neighbour table dumps where interval-probe-time-ms reads back as 0 after a nonzero write, indicating truncation.
- Audit records showing non-root processes exercising neighbour table configuration APIs on systems where such changes are not expected.
Detection Strategies
- Query the running kernel version against the fixed commits in the stable tree and flag hosts still running unpatched builds.
- Instrument rtnetlink auditing or eBPF tracepoints on neightbl_set to capture caller PID, UID, and attribute values for post-hoc review.
- Compare observed interval-probe-time-ms values from ynl --family rt-neigh --dump getneightbl against expected policy baselines.
Monitoring Recommendations
- Baseline which workloads legitimately manipulate the neighbour table and alert on deviations.
- Collect kernel logs from Alpha and MIPS systems configured with HZ > 1000, where the timer wrap behavior has the greatest effect.
- Forward netlink audit events into a centralized log platform to correlate neighbour configuration activity with other local privilege use.
How to Mitigate CVE-2026-98317
Immediate Actions Required
- Apply the upstream kernel patches that introduce NLA_POLICY_FULL_RANGE() enforcement for NDTPA_INTERVAL_PROBE_TIME_MS.
- Track distribution advisories and roll the patched kernel into standard build and update channels.
- Restrict CAP_NET_ADMIN to trusted processes so that neighbour table reconfiguration is not broadly accessible.
Patch Information
Fixes are available in the mainline and stable trees. Review the three referenced commits for the exact diff applied to the netlink policy and the matching sysctl bound: commit 6d79b223, commit 8550b50e, and commit 982c7f66. The patch caps interval-probe-time-ms at one day, which the upstream commit message notes is unlikely to affect real deployments because the value governs NTF_MANAGED probe cadence.
Workarounds
- Avoid setting interval-probe-time-ms from untrusted tooling until the patched kernel is deployed.
- Review any configuration management templates that write to /proc/sys/net/ipv4/neigh/*/interval_probe_time_ms or /proc/sys/net/ipv6/neigh/*/interval_probe_time_ms and enforce sane bounds in the management layer.
- On architectures where HZ > 1000, prioritize patching, since the overflow behavior in NEIGH_VAR() is most pronounced there.
# Verify the current configured value for the default IPv4 neighbour table
cat /proc/sys/net/ipv4/neigh/default/interval_probe_time_ms
# Enforce a conservative bound (example: 5000 ms) pending patch rollout
echo 5000 > /proc/sys/net/ipv4/neigh/default/interval_probe_time_ms
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

