net: bridge: mst: move switchdev call outside rcu (Linux Linux)

CVE-2026-98301
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net: bridge: mst: move switchdev call outside rcu This is a follow-up of one of sashiko's pre-existing bug reports. br_mst_set_state() calls switchdev_port_attr_set() for nonzero MSTIs while holding rcu_read_lock() which invokes the blocking switchdev notifier chain and may sleep. Nonzero MSTI changes come from netlink with rtnl held. Move the switchdev call before entering the rcu section and assert that rtnl is held. The call cannot be deferred because netlink needs its error and extack. Also DSA reads the old bridge MST state during the callback and checks it. A deferred callback will be late and will see the updated state.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 8ca9a750fc711911ef616ceb627d07357b04545e < b9661fd2423fc25e91e0517ecc0b6156ad83e3a8 ; affected 4488617e5e995a09abe4d81add5fb165674edb59 < 6b431b63219853eef4054e2f1cb073d2ca2059b4 ; affected 3a7c1661ae1383364cd6092d851f5e5da64d476b < abf734d150c61acfdfee102169d0e5d1c482e285 ; affected 3a7c1661ae1383364cd6092d851f5e5da64d476b < d5c4ee1fa4e83a12afc051c831936cd8e006cde3 ; affected 3a7c1661ae1383364cd6092d851f5e5da64d476b < c40ed3e884c8dc0350f26484030438ef24208ff1 ; affected 3a7c1661ae1383364cd6092d851f5e5da64d476b < 18a6fe05fb6e18de29fa90d388bb34044114b3d8
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.54 ≤ 6.18.*

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