← Back to CVE Explorer

CVE-2026-98301

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-06 09:18:21.037000
Last modified
2026-10-19 10:18:32.027000
View original CVE JSON
{
  "id": "CVE-2026-98301",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-06T09:18:21.037",
  "lastModified": "2026-10-19T10:18:32.027",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bridge: mst: move switchdev call outside rcu\n\nThis is a follow-up of one of sashiko's pre-existing bug reports.\nbr_mst_set_state() calls switchdev_port_attr_set() for nonzero MSTIs\nwhile holding rcu_read_lock() which invokes the blocking switchdev\nnotifier chain and may sleep. Nonzero MSTI changes come from netlink\nwith rtnl held. Move the switchdev call before entering the rcu section and\nassert that rtnl is held.\n\nThe call cannot be deferred because netlink needs its error and extack.\nAlso DSA reads the old bridge MST state during the callback and checks it.\nA deferred callback will be late and will see the updated state."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "net/bridge/br_mst.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "8ca9a750fc711911ef616ceb627d07357b04545e",
              "lessThan": "b9661fd2423fc25e91e0517ecc0b6156ad83e3a8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4488617e5e995a09abe4d81add5fb165674edb59",
              "lessThan": "6b431b63219853eef4054e2f1cb073d2ca2059b4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a7c1661ae1383364cd6092d851f5e5da64d476b",
              "lessThan": "abf734d150c61acfdfee102169d0e5d1c482e285",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a7c1661ae1383364cd6092d851f5e5da64d476b",
              "lessThan": "d5c4ee1fa4e83a12afc051c831936cd8e006cde3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a7c1661ae1383364cd6092d851f5e5da64d476b",
              "lessThan": "c40ed3e884c8dc0350f26484030438ef24208ff1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a7c1661ae1383364cd6092d851f5e5da64d476b",
              "lessThan": "18a6fe05fb6e18de29fa90d388bb34044114b3d8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "a2b01e65d9ba8af2bb086d3b7288ca53a07249ac",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e43dd2b1ec746e105b7db5f9ad6ef14685a615a4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6.1.93",
              "lessThan": "6.1.189",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.6.33",
              "lessThan": "6.6.158",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.8.12",
              "lessThan": "6.9",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.9.3",
              "lessThan": "6.10",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "net/bridge/br_mst.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.10",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.10",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.54",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.8",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/18a6fe05fb6e18de29fa90d388bb34044114b3d8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6b431b63219853eef4054e2f1cb073d2ca2059b4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/abf734d150c61acfdfee102169d0e5d1c482e285",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b9661fd2423fc25e91e0517ecc0b6156ad83e3a8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c40ed3e884c8dc0350f26484030438ef24208ff1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d5c4ee1fa4e83a12afc051c831936cd8e006cde3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}