bridge: mrp: reject zero test interval to avoid OOM panic (Linux Linux)

CVE-2026-31420
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.09 % · centile 0 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 20f6a05ef63594feb0c6dfbd629da0448b43124d < 610073ffb77ffd2b5eca182d2ac264de4834a175 ; affected 20f6a05ef63594feb0c6dfbd629da0448b43124d < ec8850be9b2b3beac1c7967d95f169dd2785979d ; affected 20f6a05ef63594feb0c6dfbd629da0448b43124d < 1ec86b4b9e28170a2565cf36f0e6e2b96b55134d ; affected 20f6a05ef63594feb0c6dfbd629da0448b43124d < 2120bd8546cd6a63c558d135773aa8f41c8259fc ; affected 20f6a05ef63594feb0c6dfbd629da0448b43124d < 630a15a31c2034b5b697f4aabc769b9d80d82446 ; affected 20f6a05ef63594feb0c6dfbd629da0448b43124d < e8ec80430bfa520e7352155d6ac632e527cba7aa
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD