Kernel Kit / Infix / v26.10.0latest
CVE-2026-31420
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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.
Published 2026-04-13NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References 8
- git.kernel.org/stable/c/1ec86b4b9e28170a2565cf36f0e6e2b96b55134d
- git.kernel.org/stable/c/2120bd8546cd6a63c558d135773aa8f41c8259fc
- git.kernel.org/stable/c/610073ffb77ffd2b5eca182d2ac264de4834a175
- git.kernel.org/stable/c/630a15a31c2034b5b697f4aabc769b9d80d82446
- git.kernel.org/stable/c/c9bc352f716d1bebfe43354bce539ec2d0223b30
- git.kernel.org/stable/c/e8ec80430bfa520e7352155d6ac632e527cba7aa
- git.kernel.org/stable/c/ec8850be9b2b3beac1c7967d95f169dd2785979d
- git.kernel.org/stable/c/fa6e24963342de4370e3a3c9af41e38277b74cf3
Fable 5.1 · high confidence · 2026-11-05
The upstream fix for CVE-2026-31420 is already present in the linux 6.18.60 sources in this build: both nla_policy tables in net/bridge/br_mrp_netlink.c use NLA_POLICY_MIN(NLA_U32, 1) for IFLA_BRIDGE_MRP_START_TEST_INTERVAL and IFLA_BRIDGE_MRP_START_IN_TEST_INTERVAL, so a zero interval is rejected at netlink parsing before reaching the workqueue code.
This is a stable backport that NVD's version range does not reflect.
CONFIG_BRIDGE_MRP=y is compiled in, but the vulnerable code path is not in this build, so reachability is moot.
Evidence 5
…/ is output/build/linux-6.18.60/
[IFLA_BRIDGE_MRP_START_TEST_INTERVAL] = NLA_POLICY_MIN(NLA_U32, 1) — the fix hunk for br_mrp_start_test_policy is present
…/net/bridge/br_mrp_netlink.c:199
[IFLA_BRIDGE_MRP_START_IN_TEST_INTERVAL] = NLA_POLICY_MIN(NLA_U32, 1) — the fix hunk for br_mrp_start_in_test_policy is present
…/net/bridge/br_mrp_netlink.c:319
Kernel is 6.18.60 stable; the fix is included in this stable release (NVD range is stale)
…/Makefile (VERSION=6 PATCHLEVEL=18 SUBLEVEL=60)
CONFIG_BRIDGE=y and CONFIG_BRIDGE_MRP=y — MRP code is compiled in (br_mrp_netlink.o in output/objects.txt), but with the fixed policy tables
…/.config:1426,1429
No Infix/Buildroot patch touches MRP; the fix comes from the upstream stable tarball itself
…/.applied_patches_list
Version and patches
NVD maps the CVE to linux_kernel 6.18.60, but the 6.18.60 stable tarball used here already contains the upstream fix (the NLA_POLICY_MIN(NLA_U32, 1) hunks from the referenced stable commits) in net/bridge/br_mrp_netlink.c. No Buildroot patch references the CVE; none is needed.
Recommendation
No action. Document as N/A (fix present in 6.18.60 stable source); consider adding a Buildroot LINUX_IGNORE_CVES entry or noting it in triage records so the match is suppressed in future scans.
Open questions
None.
Members of Kernel Kit decide. Sign in if you are one.