CVE-2026-98829 (GCVE-0-2026-98829)
Vulnerability from cvelistv5
Published
2026-10-18 15:49
Modified
2026-10-19 09:26
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: drop oversized fragments to avoid extra_len overflow In ieee80211_rx_h_defragment(), fragment payloads are accumulated into entry->extra_len as subsequent fragments arrive: entry->extra_len += rx->skb->len; When the final fragment arrives, the head fragment is dequeued, and pskb_expand_head() is called with entry->extra_len to ensure sufficient tailroom for all queued fragments before copying: if (skb_tailroom(rx->skb) < entry->extra_len) { if (unlikely(pskb_expand_head(rx->skb, 0, entry->extra_len, GFP_ATOMIC))) { ... } } while ((skb = __skb_dequeue(&entry->skb_list))) { skb_put_data(rx->skb, skb->data, skb->len); dev_kfree_skb(skb); } In commit 69f132236827 ("mac80211: shrink struct ieee80211_fragment_entry"), entry->extra_len was narrowed from unsigned int to u16 in order to reduce structure memory footprint. However, an IEEE 802.11 frame sequence can contain up to 16 fragments (frag numbers 0..15). If a sequence of large fragments arrives (e.g. from a malicious peer or rogue AP), the sum of fragment lengths can exceed 65535 bytes (for example, 15 fragments of 4400 bytes total 66000 bytes). Because extra_len is a u16, this addition overflows and wraps around modulo 65536 (e.g. 66000 wraps to 464). Consequently, pskb_expand_head() allocates only the truncated amount of tailroom (or is skipped entirely if the head fragment already has >= 464 bytes of tailroom). When skb_put_data() subsequently iterates through the queued skb list, it appends the full payload into the undersized buffer, causing skb_put() to trigger skb_over_panic() and crash the kernel in softirq context. A legitimate MSDU in IEEE 802.11 is at most 2304 bytes (or up to 7935/11454 bytes for A-MSDU, which is not fragmented), well below U16_MAX. Fix this without increasing the size of struct ieee80211_fragment_entry by checking whether adding the incoming fragment length would exceed U16_MAX. If so, purge the queued fragments and drop the frame. [assign a separate drop reason]
Impacted products
Vendor Product Version
Linux Linux Version: 69f132236827ce7d4531846cc2b9447dd5620aff
Version: 69f132236827ce7d4531846cc2b9447dd5620aff
Version: 69f132236827ce7d4531846cc2b9447dd5620aff
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/mac80211/drop.h",
            "net/mac80211/rx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9338b2dea74cb0fc80a4c958b68e687610ba2261",
              "status": "affected",
              "version": "69f132236827ce7d4531846cc2b9447dd5620aff",
              "versionType": "git"
            },
            {
              "lessThan": "870b8cb9baa9bd859deceb33ae158011e6ba2360",
              "status": "affected",
              "version": "69f132236827ce7d4531846cc2b9447dd5620aff",
              "versionType": "git"
            },
            {
              "lessThan": "5e4f3509793b4db2c0835340224743db680e861f",
              "status": "affected",
              "version": "69f132236827ce7d4531846cc2b9447dd5620aff",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/mac80211/drop.h",
            "net/mac80211/rx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.3"
            },
            {
              "lessThan": "4.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "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.18.56",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: drop oversized fragments to avoid extra_len overflow\n\nIn ieee80211_rx_h_defragment(), fragment payloads are accumulated into\nentry-\u003eextra_len as subsequent fragments arrive:\n\n        entry-\u003eextra_len += rx-\u003eskb-\u003elen;\n\nWhen the final fragment arrives, the head fragment is dequeued, and\npskb_expand_head() is called with entry-\u003eextra_len to ensure sufficient\ntailroom for all queued fragments before copying:\n\n        if (skb_tailroom(rx-\u003eskb) \u003c entry-\u003eextra_len) {\n                if (unlikely(pskb_expand_head(rx-\u003eskb, 0, entry-\u003eextra_len,\n                                              GFP_ATOMIC))) {\n                        ...\n                }\n        }\n        while ((skb = __skb_dequeue(\u0026entry-\u003eskb_list))) {\n                skb_put_data(rx-\u003eskb, skb-\u003edata, skb-\u003elen);\n                dev_kfree_skb(skb);\n        }\n\nIn commit 69f132236827 (\"mac80211: shrink struct\nieee80211_fragment_entry\"), entry-\u003eextra_len was narrowed from unsigned\nint to u16 in order to reduce structure memory footprint.\n\nHowever, an IEEE 802.11 frame sequence can contain up to 16 fragments\n(frag numbers 0..15). If a sequence of large fragments arrives (e.g. from\na malicious peer or rogue AP), the sum of fragment lengths can exceed\n65535 bytes (for example, 15 fragments of 4400 bytes total 66000 bytes).\nBecause extra_len is a u16, this addition overflows and wraps around\nmodulo 65536 (e.g. 66000 wraps to 464).\n\nConsequently, pskb_expand_head() allocates only the truncated amount of\ntailroom (or is skipped entirely if the head fragment already has \u003e= 464\nbytes of tailroom). When skb_put_data() subsequently iterates through the\nqueued skb list, it appends the full payload into the undersized buffer,\ncausing skb_put() to trigger skb_over_panic() and crash the kernel in\nsoftirq context.\n\nA legitimate MSDU in IEEE 802.11 is at most 2304 bytes (or up to 7935/11454\nbytes for A-MSDU, which is not fragmented), well below U16_MAX.\n\nFix this without increasing the size of struct ieee80211_fragment_entry by\nchecking whether adding the incoming fragment length would exceed U16_MAX.\nIf so, purge the queued fragments and drop the frame.\n\n[assign a separate drop reason]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:26:21.901Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9338b2dea74cb0fc80a4c958b68e687610ba2261"
        },
        {
          "url": "https://git.kernel.org/stable/c/870b8cb9baa9bd859deceb33ae158011e6ba2360"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e4f3509793b4db2c0835340224743db680e861f"
        }
      ],
      "title": "wifi: mac80211: drop oversized fragments to avoid extra_len overflow",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98829",
    "datePublished": "2026-10-18T15:49:29.426Z",
    "dateReserved": "2026-09-25T10:25:14.372Z",
    "dateUpdated": "2026-10-19T09:26:21.901Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…