CVE-2026-98487 (GCVE-0-2026-98487)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:16 – Updated: 2026-10-24 14:09
VLAI
Title
net: bridge: mdb: restart port group walk after deletion
Summary
In the Linux kernel, the following vulnerability has been resolved: net: bridge: mdb: restart port group walk after deletion br_mdb_flush_pgs() keeps a pointer-to-pointer cursor while walking mp->ports. br_multicast_del_pg() can re-enter the same MDB entry through br_multicast_sg_del_exclude_ports() and unlink other port groups. If the cursor points into one of those groups, the next iteration dereferences a stale cursor and can leave mp->ports pointing at freed memory. A following RTM_GETMDB exposes the dangling pointer: BUG: KASAN: slab-use-after-free in br_mdb_dump Read of size 8 br_mdb_dump rtnl_mdb_dump rtnl_dumpit netlink_dump Reset the cursor to mp->ports after every deletion. The deletion removes at least the selected group, so the restarted walk always makes progress.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6971 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a6acb535afb2a3b688a7858f05b61f0433e480d5 , < 46ec55855c972504258c371677ac039ba20e5d12 (git)
Affected: a6acb535afb2a3b688a7858f05b61f0433e480d5 , < ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe (git)
Affected: a6acb535afb2a3b688a7858f05b61f0433e480d5 , < fe2a42789c12eb7c5d3a42191e2cc735a6c35ead (git)
Affected: a6acb535afb2a3b688a7858f05b61f0433e480d5 , < ab1404ac81154a89fb61ac50ae9a04cd8d4834dc (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/bridge/br_mdb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "46ec55855c972504258c371677ac039ba20e5d12",
              "status": "affected",
              "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
              "versionType": "git"
            },
            {
              "lessThan": "ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe",
              "status": "affected",
              "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
              "versionType": "git"
            },
            {
              "lessThan": "fe2a42789c12eb7c5d3a42191e2cc735a6c35ead",
              "status": "affected",
              "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
              "versionType": "git"
            },
            {
              "lessThan": "ab1404ac81154a89fb61ac50ae9a04cd8d4834dc",
              "status": "affected",
              "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/bridge/br_mdb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bridge: mdb: restart port group walk after deletion\n\nbr_mdb_flush_pgs() keeps a pointer-to-pointer cursor while walking\nmp-\u003eports. br_multicast_del_pg() can re-enter the same MDB entry through\nbr_multicast_sg_del_exclude_ports() and unlink other port groups. If the\ncursor points into one of those groups, the next iteration dereferences a\nstale cursor and can leave mp-\u003eports pointing at freed memory.\n\nA following RTM_GETMDB exposes the dangling pointer:\n\n  BUG: KASAN: slab-use-after-free in br_mdb_dump\n  Read of size 8\n    br_mdb_dump\n    rtnl_mdb_dump\n    rtnl_dumpit\n    netlink_dump\n\nReset the cursor to mp-\u003eports after every deletion. The deletion removes at\nleast the selected group, so the restarted walk always makes progress."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - A local sendmsg() on NETLINK_ROUTE carrying RTM_DELMDB with NLM_F_BULK reaches the patched br_mdb_flush_pgs() through rtnl_mdb_del() and ndo_mdb_del_bulk; received bridge packets do not enter this bulk-delete path.\nAC:L - The attacker can add a *,G EXCLUDE membership and permanent static S,G groups so br_multicast_sg_add_exclude_ports() creates skipped kernel-protocol STAR_EXCL nodes; a proto-static bulk flush then deterministically invalidates pp without a race.\nPR:L - rtnetlink_rcv_msg() requires CAP_NET_ADMIN through netlink_net_capable(), but an unprivileged user can obtain that capability in a user-created network namespace and create the bridge, ports, and MDB state there.\nUI:N - The attacker performs the RTM_NEWMDB setup, NLM_F_BULK RTM_DELMDB trigger, and optional RTM_GETMDB traversal through their own netlink socket; no victim action is required.\nS:U - The dangling mp-\u003eports pointer corrupts and exposes bridge objects within the host kernel\u0027s existing security authority; it does not cross a guest-host, hypervisor, or IOMMU boundary.\nC:H - The persistent slab UAF lets reclaimed contents control p-\u003enext and p-\u003ekey.port; br_mdb_fill_info() follows these links and returns port, timer, flag, and source-list data through RTM_GETMDB, enabling kernel-memory disclosure.\nI:H - Reusing the dangling node in br_multicast_del_pg() reaches hlist_del_init_rcu() through reclaimed pg-\u003emglist.pprev and updates rhashtable and GC links, providing attacker-influenced kernel writes and potential control-flow hijacking.\nA:H - After br_multicast_destroy_port_group() calls kfree_rcu(), br_mdb_dump() produces the confirmed slab-use-after-free; stale p-\u003ekey.port or p-\u003enext dereferences in dump or br_multicast_flood can oops or panic the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:09:03.998Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/46ec55855c972504258c371677ac039ba20e5d12"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe2a42789c12eb7c5d3a42191e2cc735a6c35ead"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab1404ac81154a89fb61ac50ae9a04cd8d4834dc"
        }
      ],
      "title": "net: bridge: mdb: restart port group walk after deletion",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98487",
    "datePublished": "2026-10-18T15:16:04.746Z",
    "dateReserved": "2026-09-25T10:25:14.352Z",
    "dateUpdated": "2026-10-24T14:09:03.998Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98487",
      "date": "2026-11-01",
      "epss": "0.00164",
      "percentile": "0.05576"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:35:01.000Z",
      "cve": "CVE-2026-98487",
      "id": "msrc_CVE-2026-98487",
      "initial_release_date": "2026-10-20T22:24:02.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net: bridge: mdb: restart port group walk after deletion",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98487.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/bridge/br_mdb.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "46ec55855c972504258c371677ac039ba20e5d12",
                    "status": "affected",
                    "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe",
                    "status": "affected",
                    "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fe2a42789c12eb7c5d3a42191e2cc735a6c35ead",
                    "status": "affected",
                    "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ab1404ac81154a89fb61ac50ae9a04cd8d4834dc",
                    "status": "affected",
                    "version": "a6acb535afb2a3b688a7858f05b61f0433e480d5",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/bridge/br_mdb.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.8"
                  },
                  {
                    "lessThan": "6.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bridge: mdb: restart port group walk after deletion\n\nbr_mdb_flush_pgs() keeps a pointer-to-pointer cursor while walking\nmp-\u003eports. br_multicast_del_pg() can re-enter the same MDB entry through\nbr_multicast_sg_del_exclude_ports() and unlink other port groups. If the\ncursor points into one of those groups, the next iteration dereferences a\nstale cursor and can leave mp-\u003eports pointing at freed memory.\n\nA following RTM_GETMDB exposes the dangling pointer:\n\n  BUG: KASAN: slab-use-after-free in br_mdb_dump\n  Read of size 8\n    br_mdb_dump\n    rtnl_mdb_dump\n    rtnl_dumpit\n    netlink_dump\n\nReset the cursor to mp-\u003eports after every deletion. The deletion removes at\nleast the selected group, so the restarted walk always makes progress."
          }
        ],
        "id": "CVE-2026-98487",
        "lastModified": "2026-10-24T14:16:43.960",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-18T16:16:59.423",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/46ec55855c972504258c371677ac039ba20e5d12"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ab1404ac81154a89fb61ac50ae9a04cd8d4834dc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fe2a42789c12eb7c5d3a42191e2cc735a6c35ead"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-24T14:27:50+00:00",
      "cve": "CVE-2026-98487",
      "id": "CVE-2026-98487",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "199",
      "product_status:known_not_affected": "79",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: bridge: mdb: restart port group walk after deletion",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98487.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-22T16:38:07Z",
      "cve": "CVE-2026-98487",
      "id": "CVE-2026-98487",
      "initial_release_date": "2026-10-22T16:38:07Z",
      "product_status:known_affected": "13",
      "product_status:known_not_affected": "335",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98487",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98487.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.