CVE-2026-31420

bridge: mrp: reject zero test interval to avoid OOM panic

State
Published
Severity
Not scored
Published
Apr 13, 2026
Updated
Sep 14, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before 610073ffb77ffd2b5eca182d2ac264de4834a175Affected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before ec8850be9b2b3beac1c7967d95f169dd2785979dAffected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before 1ec86b4b9e28170a2565cf36f0e6e2b96b55134dAffected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before 2120bd8546cd6a63c558d135773aa8f41c8259fcAffected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before 630a15a31c2034b5b697f4aabc769b9d80d82446Affected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before e8ec80430bfa520e7352155d6ac632e527cba7aaAffected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before c9bc352f716d1bebfe43354bce539ec2d0223b30Affected
  • 20f6a05ef63594feb0c6dfbd629da0448b43124d to before fa6e24963342de4370e3a3c9af41e38277b74cf3Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.