{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e8c819df02436f2c2379766946735e1f06a7c923"
            },
            {
              "fixed": "1001d260e2773ce7ce4d148d8aac34070fe4ef7c"
            },
            {
              "fixed": "6541956cadc484eeed719e7a8e9e7d27e5900289"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139487.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: keep a returning link when adding station links fails\n\nmt7996_mac_sta_add_links() removes all links that it was asked to add,\nwith flush set, when one of them fails. A link that comes back after\na removal kept its msta_link and may still have a firmware entry. The\nflush frees its msta_link and returns its WTBL index to wcid_mask, so a\nlater station can be given an index whose entry still belongs to this\nstation.\n\nFlush only the links that this call created, and remove a returning\nlink again without flush.",
  "id": "CVE-2026-139487",
  "modified": "2026-12-01T20:45:42.582894712Z",
  "published": "2026-11-30T13:35:12.465Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1001d260e2773ce7ce4d148d8aac34070fe4ef7c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6541956cadc484eeed719e7a8e9e7d27e5900289"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139487.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139487"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "wifi: mt76: mt7996: keep a returning link when adding station links fails"
}