# CVE-2026-98317: neighbour: Enforce min/max to NDTPA_INTERVAL_PROBE_TIME_MS.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:12.351Z
- Modified: 2026-10-19T10:18:33.840Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

neighbour: Enforce min/max to NDTPA_INTERVAL_PROBE_TIME_MS.

NDTPA_INTERVAL_PROBE_TIME_MS sets .type and .min but misses
.validation_type, so no validation is applied:

  # ynl --family rt-neigh --do setneightbl \
  --json '{"name": "arp_cache", "parms": {"interval-probe-time-ms": 0}}'

  # ynl --family rt-neigh --dump getneightbl --output-json | \
  jq '.[] | select(.name == "arp_cache" and has("config"))
          | .parms["interval-probe-time-ms"]'
  0

Moreover, nla_get_msecs() uses msecs_to_jiffies(), and u64 is
silently cast to u32, so a larger value can bypass the min check:

  e.g. 4294967296 == 0x100000000

  # ynl --family rt-neigh --do setneightbl \
  --json '{"name": "arp_cache", "parms": {"interval-probe-time-ms": 4294967296}}'

  # ynl --family rt-neigh --dump getneightbl --output-json | \
  jq '.[] | select(.name == "arp_cache" and has("config"))
          | .parms["interval-probe-time-ms"]'
  0

msecs_to_jiffies() returns MAX_JIFFY_OFFSET if the value is
larger than INT_MAX.  Also, INT_MAX ms overflows int NEIGH_VAR()
when HZ > 1000 (Alpha, MIPS), and passing a negative integer to
queue_delayed_work(unsigned long delay) causes sign extension,
which wraps around the expiry time to the past, resulting in it
being handled as 0 delay in the timer wheel.

Let's use NLA_POLICY_FULL_RANGE() and limit the max to 1 day.

The same max check is applied to sysctl as well.

Note that this controls the probe interval for NTF_MANAGED
entries, so the max of 1 day is unlikely to break any
deployments.

(As written by CVE List.)

## Affected

- Linux Linux: from 211da42eaa45db7b0edfde187dd88a85fbd466b5 before 982c7f66c04134b77126edbfd8a63ecd6928cfd9; from 211da42eaa45db7b0edfde187dd88a85fbd466b5 before 8550b50e49b01b572e653e572f24ddd73949aa74; from 211da42eaa45db7b0edfde187dd88a85fbd466b5 before 6d79b223ec44ada58ad37db42f539b60985a7722; 6.0 (not affected: before 6.0; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/982c7f66c04134b77126edbfd8a63ecd6928cfd9>
- <https://git.kernel.org/stable/c/8550b50e49b01b572e653e572f24ddd73949aa74>
- <https://git.kernel.org/stable/c/6d79b223ec44ada58ad37db42f539b60985a7722>

## Sources

- CVE List: [CVE-2026-98317](https://www.cve.org/CVERecord?id=CVE-2026-98317), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98317](https://nvd.nist.gov/vuln/detail/CVE-2026-98317), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98317 · Whole record: https://cve.day/CVE-2026-98317.json · Rebuilt by cve.day 2026-11-25T22:59:42.328Z
