Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 298DD3CCFBE for ; Mon, 13 Apr 2026 13:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776087662; cv=none; b=iHdVetAf+ctm3uPQhBxRLRM76V/P1OA9SlZa+i/esNJeuVZF9snPwPM589xjdp+y1dYBI9bBFy3E1ShDw7pkjpam9Y9lQB55LAwNGTHa7C/yhNN3x2Atne+py7iwTZ9/vlsa4tEnwnLuPHCWcE9gjzQULprQf1mlQLFj2zxSm6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776087662; c=relaxed/simple; bh=iSkm8wBK7nvzqYAzAPQ3+OhC8GW7vrcr2xdHt3tQz5k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ODM9giKi0rQUOj/+CV4wabFoAt8+/387nYxZkrBDLDt6fA/+4ikS2T8hV2Ey9cGtlhjoaVpB27KG7PYNBcGmZBUKgUdejBCRn3KCX+z1Zml4MJlkKvh4nvGSFbh7RhmsnfOGCnS/h97i61fUsFZIZCRVpU6YwVx5gdem9RPFxGM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oe9rsLnK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oe9rsLnK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70C68C2BCAF; Mon, 13 Apr 2026 13:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776087661; bh=iSkm8wBK7nvzqYAzAPQ3+OhC8GW7vrcr2xdHt3tQz5k=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oe9rsLnKLiCYX+wX984ZLojOxk0WS8OKUvW+gG0Q/uNWKP9E1S0T3uTBjc9eDU1N0 RQBpcFajhHCtcwOjkSVcNYDH2LuMNGx/vu9lhssZAI6ji7nFD3vRBLerIr/Za5UONI eb9MwdFgZ3DHbaWUKfeCeeML61382S+C/gBjwDNQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31420: bridge: mrp: reject zero test interval to avoid OOM panic Date: Mon, 13 Apr 2026 15:40:54 +0200 Message-ID: <2026041355-CVE-2026-31420-f7b0@gregkh> X-Mailer: git-send-email 2.53.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=2738; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rj9L8xF/G9C5u2LrICDjmlBZscnhaBDtv/oBflWFWXM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl3PqWz7V333+2bw0PfILPIkkXHbp27elWh5ZXwFcHpy 65JpFxj7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJWCxgmB9da9z7f/KZax++ HU1kVPP5YKEfp8uw4ILSAZEZb7dP1j1xpFuh0+XWv72rfgMA 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: bridge: mrp: reject zero test interval to avoid OOM panic br_mrp_start_test() and br_mrp_start_in_test() accept the user-supplied interval value from netlink without validation. When interval is 0, usecs_to_jiffies(0) yields 0, causing the delayed work (br_mrp_test_work_expired / br_mrp_in_test_work_expired) to reschedule itself with zero delay. This creates a tight loop on system_percpu_wq that allocates and transmits MRP test frames at maximum rate, exhausting all system memory and causing a kernel panic via OOM deadlock. The same zero-interval issue applies to br_mrp_start_in_test_parse() for interconnect test frames. Use NLA_POLICY_MIN(NLA_U32, 1) in the nla_policy tables for both IFLA_BRIDGE_MRP_START_TEST_INTERVAL and IFLA_BRIDGE_MRP_START_IN_TEST_INTERVAL, so zero is rejected at the netlink attribute parsing layer before the value ever reaches the workqueue scheduling code. This is consistent with how other bridge subsystems (br_fdb, br_mst) enforce range constraints on netlink attributes. The Linux kernel CVE team has assigned CVE-2026-31420 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 20f6a05ef63594feb0c6dfbd629da0448b43124d and fixed in 6.19.12 with commit c9bc352f716d1bebfe43354bce539ec2d0223b30 Issue introduced in 5.8 with commit 20f6a05ef63594feb0c6dfbd629da0448b43124d and fixed in 7.0 with commit fa6e24963342de4370e3a3c9af41e38277b74cf3 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-31420 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: net/bridge/br_mrp_netlink.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/c9bc352f716d1bebfe43354bce539ec2d0223b30 https://git.kernel.org/stable/c/fa6e24963342de4370e3a3c9af41e38277b74cf3