{"id":"CVE-2026-31420","aliases":["CVE-2026-31420"],"related":[],"kind":"vulnerability","state":"published","title":"bridge: mrp: reject zero test interval to avoid OOM panic","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbridge: mrp: reject zero test interval to avoid OOM panic\n\nbr_mrp_start_test() and br_mrp_start_in_test() accept the user-supplied\ninterval value from netlink without validation. When interval is 0,\nusecs_to_jiffies(0) yields 0, causing the delayed work\n(br_mrp_test_work_expired / br_mrp_in_test_work_expired) to reschedule\nitself with zero delay. This creates a tight loop on system_percpu_wq\nthat allocates and transmits MRP test frames at maximum rate, exhausting\nall system memory and causing a kernel panic via OOM deadlock.\n\nThe same zero-interval issue applies to br_mrp_start_in_test_parse()\nfor interconnect test frames.\n\nUse NLA_POLICY_MIN(NLA_U32, 1) in the nla_policy tables for both\nIFLA_BRIDGE_MRP_START_TEST_INTERVAL and\nIFLA_BRIDGE_MRP_START_IN_TEST_INTERVAL, so zero is rejected at the\nnetlink attribute parsing layer before the value ever reaches the\nworkqueue scheduling code. This is consistent with how other bridge\nsubsystems (br_fdb, br_mst) enforce range constraints on netlink\nattributes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbridge: mrp: reject zero test interval to avoid OOM panic\n\nbr_mrp_start_test() and br_mrp_start_in_test() accept the user-supplied\ninterval value from netlink without validation. When interval is 0,\nusecs_to_jiffies(0) yields 0, causing the delayed work\n(br_mrp_test_work_expired / br_mrp_in_test_work_expired) to reschedule\nitself with zero delay. This creates a tight loop on system_percpu_wq\nthat allocates and transmits MRP test frames at maximum rate, exhausting\nall system memory and causing a kernel panic via OOM deadlock.\n\nThe same zero-interval issue applies to br_mrp_start_in_test_parse()\nfor interconnect test frames.\n\nUse NLA_POLICY_MIN(NLA_U32, 1) in the nla_policy tables for both\nIFLA_BRIDGE_MRP_START_TEST_INTERVAL and\nIFLA_BRIDGE_MRP_START_IN_TEST_INTERVAL, so zero is rejected at the\nnetlink attribute parsing layer before the value ever reaches the\nworkqueue scheduling code. This is consistent with how other bridge\nsubsystems (br_fdb, br_mst) enforce range constraints on netlink\nattributes.","source":"cvelist"}],"published":"2026-04-13T13:40:24.594Z","modified":"2026-09-14T12:17:40.467Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"610073ffb77ffd2b5eca182d2ac264de4834a175","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"ec8850be9b2b3beac1c7967d95f169dd2785979d","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"1ec86b4b9e28170a2565cf36f0e6e2b96b55134d","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"2120bd8546cd6a63c558d135773aa8f41c8259fc","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"630a15a31c2034b5b697f4aabc769b9d80d82446","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"e8ec80430bfa520e7352155d6ac632e527cba7aa","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"c9bc352f716d1bebfe43354bce539ec2d0223b30","status":"affected"},{"type":"git","introduced":"20f6a05ef63594feb0c6dfbd629da0448b43124d","fixed":"fa6e24963342de4370e3a3c9af41e38277b74cf3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/610073ffb77ffd2b5eca182d2ac264de4834a175","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec8850be9b2b3beac1c7967d95f169dd2785979d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ec86b4b9e28170a2565cf36f0e6e2b96b55134d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2120bd8546cd6a63c558d135773aa8f41c8259fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/630a15a31c2034b5b697f4aabc769b9d80d82446","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8ec80430bfa520e7352155d6ac632e527cba7aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9bc352f716d1bebfe43354bce539ec2d0223b30","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa6e24963342de4370e3a3c9af41e38277b74cf3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31420","url":"https://www.cve.org/CVERecord?id=CVE-2026-31420","licence":"CVE Terms of Use","modified":"2026-09-14T11:58:16.075Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31420","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31420","licence":"Public domain","modified":"2026-09-14T12:17:40.467Z"}],"updatedAt":"2026-11-25T22:59:18.612Z","epss":{"score":0.00097,"percentile":0.00756,"date":"2026-12-01T12:00:22.000Z"}}