CVE-2026-99451 (GCVE-0-2026-99451)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:41 – Updated: 2026-11-23 08:02
VLAI
Title
wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement mt7996_mac_add_twt_setup() links a new flow into dev->twt_list before asking the MCU to add the agreement, but exits without unlinking the flow if the request fails. The flow-ID and table masks are only committed after MCU success, so the still-linked flow is invisible to the mask-gated teardown paths. If the station retries the setup, the same slot is cleared and its embedded list node reinitialized while it is still linked, corrupting dev->twt_list. If the station disassociates instead, teardown skips the flow and station storage can be freed while the node remains linked. A later scheduling or debugfs twt_stats walk can then dereference the freed flow, resulting in a use-after-free. Unlink the flow when the MCU rejects the agreement. This restores the list to its pre-request state while leaving the unchanged mask and agreement accounting untouched.
Impacted products
Vendor Product Version
Linux Linux Affected: 98686cd21624c75a043e96812beadddf4f6f48e5 , < 3e5327940a2a72f1f81d167eb5e9176341c89e45 (git)
Affected: 98686cd21624c75a043e96812beadddf4f6f48e5 , < dd0978ebf56ee9dda9fc0ff36db91511c01fa716 (git)
Affected: 98686cd21624c75a043e96812beadddf4f6f48e5 , < 26dc15da08f15e8320514d700d6a4c449d1bb047 (git)
Affected: 98686cd21624c75a043e96812beadddf4f6f48e5 , < 40e3d300cc7e27b12e3307099247d6c5cc1fa009 (git)
Affected: 98686cd21624c75a043e96812beadddf4f6f48e5 , < 022f5f8b7a0580da50fcbc34da853d03d4321fe2 (git)
Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/mediatek/mt76/mt7996/mac.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3e5327940a2a72f1f81d167eb5e9176341c89e45",
              "status": "affected",
              "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
              "versionType": "git"
            },
            {
              "lessThan": "dd0978ebf56ee9dda9fc0ff36db91511c01fa716",
              "status": "affected",
              "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
              "versionType": "git"
            },
            {
              "lessThan": "26dc15da08f15e8320514d700d6a4c449d1bb047",
              "status": "affected",
              "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
              "versionType": "git"
            },
            {
              "lessThan": "40e3d300cc7e27b12e3307099247d6c5cc1fa009",
              "status": "affected",
              "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
              "versionType": "git"
            },
            {
              "lessThan": "022f5f8b7a0580da50fcbc34da853d03d4321fe2",
              "status": "affected",
              "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/mediatek/mt76/mt7996/mac.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement\n\nmt7996_mac_add_twt_setup() links a new flow into dev-\u003etwt_list before\nasking the MCU to add the agreement, but exits without unlinking the flow\nif the request fails. The flow-ID and table masks are only committed\nafter MCU success, so the still-linked flow is invisible to the\nmask-gated teardown paths.\n\nIf the station retries the setup, the same slot is cleared and its\nembedded list node reinitialized while it is still linked, corrupting\ndev-\u003etwt_list. If the station disassociates instead, teardown skips the\nflow and station storage can be freed while the node remains linked. A\nlater scheduling or debugfs twt_stats walk can then dereference the\nfreed flow, resulting in a use-after-free.\n\nUnlink the flow when the MCU rejects the agreement. This restores the\nlist to its pre-request state while leaving the unchanged mask and\nagreement accounting untouched."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - A WiFi peer triggers mt7996_mac_add_twt_setup by sending a WLAN_S1G_TWT_SETUP action frame. ieee80211_rx_h_action queues it from ieee80211_process_rx_twt_action, and ieee80211_s1g_rx_twt_setup calls drv_add_twt_setup. The agreement parameters ride in that 802.11 action frame, so the sender must be in radio range of the AP.\nAC:H - The flow stays on dev-\u003etwt_list with flowid_mask clear only when mt7996_mcu_twt_agrt_update returns non-zero. Requests the driver already treats as unsupported (sta-\u003emlo, min_twt_dur \u003c MT7996_MIN_TWT_DUR, and mt7996_mac_check_twt_req) return before the list insert. The remaining failure is a non-zero UNI event-\u003estatus or -ETIMEDOUT from mt7996_mcu_parse_response, and the tree shows no TWT field that produces that status.\nPR:N - ieee80211_process_rx_twt_action requires rx-\u003esta but not WLAN_STA_AUTHORIZED. _ieee80211_is_robust_mgmt_frame excludes WLAN_CATEGORY_S1G, so ieee80211_drop_unencrypted_mgmt keeps the unprotected setup. Open-system authentication inserts the station before any PSK or 802.1X handshake.\nUI:N - The attacker completes open-system authentication, transmits the TWT Setup, and then either retries the setup or deauthenticates. The subsequent list walk is caused by that second setup frame.\nS:U - The dangling mt7996_twt_flow is embedded in the sta_info object from __sta_info_alloc and released by sta_info_free, while dev-\u003etwt_list is state of that same AP kernel.\nC:H - On disassociation mt7996_mac_twt_teardown_flow returns without list_del because the flowid_mask bit was never set, then sta_info_free kfree\u0027s the station. The next mt7996_mac_twt_sched_list_add walk reads that freed embedded flow, a heap use-after-free.\nI:H - mt7996_mac_twt_sched_list_add calls list_add through the freed flow\u0027s list pointers, and a retry memset\u0027s and INIT_LIST_HEAD\u0027s flow[flowid] while that node is still on dev-\u003etwt_list. Reusing the freed sta_info slot turns those stores into an attacker-controlled write.\nA:H - Retrying setup turns the still-linked flow into a self-loop, so mt7996_mac_twt_sched_list_add never finishes and holds dev-\u003emt76.mutex. Disassociation instead leaves the node linked until sta_info_free, and the same walk or mt7996_twt_stats then dereferences freed memory."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:02:58.988Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3e5327940a2a72f1f81d167eb5e9176341c89e45"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd0978ebf56ee9dda9fc0ff36db91511c01fa716"
        },
        {
          "url": "https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047"
        },
        {
          "url": "https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009"
        },
        {
          "url": "https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2"
        }
      ],
      "title": "wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99451",
    "datePublished": "2026-11-19T14:41:47.595Z",
    "dateReserved": "2026-09-25T10:25:14.416Z",
    "dateUpdated": "2026-11-23T08:02:58.988Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99451",
      "date": "2026-11-22",
      "epss": "0.00176",
      "percentile": "0.07158"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:14:15.000Z",
      "cve": "CVE-2026-99451",
      "id": "msrc_CVE-2026-99451",
      "initial_release_date": "2026-11-21T01:14:15.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "wifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99451.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/wireless/mediatek/mt76/mt7996/mac.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3e5327940a2a72f1f81d167eb5e9176341c89e45",
                    "status": "affected",
                    "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dd0978ebf56ee9dda9fc0ff36db91511c01fa716",
                    "status": "affected",
                    "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "26dc15da08f15e8320514d700d6a4c449d1bb047",
                    "status": "affected",
                    "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "40e3d300cc7e27b12e3307099247d6c5cc1fa009",
                    "status": "affected",
                    "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "022f5f8b7a0580da50fcbc34da853d03d4321fe2",
                    "status": "affected",
                    "version": "98686cd21624c75a043e96812beadddf4f6f48e5",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/wireless/mediatek/mt76/mt7996/mac.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.2"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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\nwifi: mt76: mt7996: unlink TWT flow if the MCU rejects the agreement\n\nmt7996_mac_add_twt_setup() links a new flow into dev-\u003etwt_list before\nasking the MCU to add the agreement, but exits without unlinking the flow\nif the request fails. The flow-ID and table masks are only committed\nafter MCU success, so the still-linked flow is invisible to the\nmask-gated teardown paths.\n\nIf the station retries the setup, the same slot is cleared and its\nembedded list node reinitialized while it is still linked, corrupting\ndev-\u003etwt_list. If the station disassociates instead, teardown skips the\nflow and station storage can be freed while the node remains linked. A\nlater scheduling or debugfs twt_stats walk can then dereference the\nfreed flow, resulting in a use-after-free.\n\nUnlink the flow when the MCU rejects the agreement. This restores the\nlist to its pre-request state while leaving the unchanged mask and\nagreement accounting untouched."
          }
        ],
        "id": "CVE-2026-99451",
        "lastModified": "2026-11-23T08:17:48.877",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.6,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-19T15:17:58.957",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/022f5f8b7a0580da50fcbc34da853d03d4321fe2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/26dc15da08f15e8320514d700d6a4c449d1bb047"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3e5327940a2a72f1f81d167eb5e9176341c89e45"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/40e3d300cc7e27b12e3307099247d6c5cc1fa009"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dd0978ebf56ee9dda9fc0ff36db91511c01fa716"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-22T11:33:27+00:00",
      "cve": "CVE-2026-99451",
      "id": "CVE-2026-99451",
      "initial_release_date": "2026-11-19T14:41:47.595000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in mt7996 wireless driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99451.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…