Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7104383983 for ; Tue, 6 Oct 2026 10:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282467; cv=none; b=cS2y1mBofOPGoS5HZ3UJR69VwnU7Rkh+POS3agXkNmnMuKGRR7tTUp+mRCpxP+grYKXav1xW/6fpBxvHhtOThNK1RLcjJTLhpH0zOwnU9GM1G3FlkjBnU6+3bfeB4yZHD6uEu0j3P9xouV1tnQ1o4ub11a0dqXF1cXoK0bh5rXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282467; c=relaxed/simple; bh=RvLMtQdZHPDwMLSw/Y5V7N1aXa2aqrJOesECo1YOnFw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pazFDhqGB3lZyr76VJl//R9nqvdwgOsdcyAAD2D1wtrR3JamFPtT+T4XrU/1FvxzwRtQh7mMfAKwQ0wYSh8iktC0IudA4wT8H8Tpd6lX/xFXfMuMvfZernKNs02OOyXGEpaWffbyDmxXyWPJBGWl05YFg8GWshOm73whJ/YzJhg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zf8z1i5W; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zf8z1i5W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAFF41F000FF; Tue, 6 Oct 2026 10:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282466; bh=cKx9ao3IvOi/lBWBP49ZxtMuJ+fgwVcdREA38o6/1s8=; h=From:To:Cc:Subject:Date:Reply-To; b=zf8z1i5WDW2Y3mQDxDrfSJmJiq3A44OC+HvlOOOymDyp9rQBqJek9qw6DK8PV1INo gLw4qRPnB8D7xE2jdPOJ6y1FfLWv5FIiEhbcnvpMAtXr64RXJGUwjP7uP8RBC9nhHm 1SXzUcKBOFLhNRp9MBgOalCoazzJ9/S6vgPGWwog= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98317: neighbour: Enforce min/max to NDTPA_INTERVAL_PROBE_TIME_MS. Date: Tue, 6 Oct 2026 10:46:58 +0200 Message-ID: <2026100612-CVE-2026-98317-0ebd@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3577; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=deezQmQttm7styKStJDvdjcbqiJZudfxgQNabofTXQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtkqUPsg/qS0/mf/fwUO3ZgktPP7gElPmvthbV2c6z n+wnMk2vSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmohfLML96973XRQ3nJwi3 Kufxdh++MyV89QmGBRusbjEGOX+7qjvF+or2Se9tobzFNQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98317 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 211da42eaa45db7b0edfde187dd88a85fbd466b5 and fixed in 6.18.54 with commit 982c7f66c04134b77126edbfd8a63ecd6928cfd9 Issue introduced in 6.0 with commit 211da42eaa45db7b0edfde187dd88a85fbd466b5 and fixed in 7.2.8 with commit 8550b50e49b01b572e653e572f24ddd73949aa74 Issue introduced in 6.0 with commit 211da42eaa45db7b0edfde187dd88a85fbd466b5 and fixed in 7.3-rc4 with commit 6d79b223ec44ada58ad37db42f539b60985a7722 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98317 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: Documentation/netlink/specs/rt-neigh.yaml Documentation/networking/ip-sysctl.rst net/core/neighbour.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/982c7f66c04134b77126edbfd8a63ecd6928cfd9 https://git.kernel.org/stable/c/8550b50e49b01b572e653e572f24ddd73949aa74 https://git.kernel.org/stable/c/6d79b223ec44ada58ad37db42f539b60985a7722