Skip to content
Heist/ feed
Back to feed
UnratedFix available

wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO hwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload to a struct hwsim_tx_rate * and unconditionally reads IEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds the attribute from above (NLA_BINARY .len is a maximum) and the op sets GENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is accepted and the loop reads past the payload. Require the exact length in the policy, so a malformed attribute is rejected before the handler runs.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.271, 5.15.222, 6.1.189, 6.12.111, 6.18.53, 6.6.158
CVEs
CVE-2026-98887
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:28 UTC · Revision 1

Source evidence

wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO

core-osv · Original source

Published 23 Oct 2026, 11:37 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO hwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload to a struct hwsim_tx_rate * and unconditionally reads IEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds the attribute from above (NLA_BINARY .len is a maximum) and the op sets GENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is accepted and the loop reads past the payload. Require the exact length in the policy, so a malformed attribute is rejected before the handler runs.

osv:CVE-2026-98887

Kernel

Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53

Complete source record
{
  "id": "90ce49960bfb2613192c393ce2bd85f715037e66a7af64b3ef2a2ade4926fd0a",
  "url": "https://osv.dev/vulnerability/CVE-2026-98887",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO hwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload to a struct hwsim_tx_rate * and unconditionally reads IEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds the attribute from above (NLA_BINARY .len is a maximum) and the op sets GENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is accepted and the loop reads past the payload. Require the exact length in the policy, so a malformed attribute is rejected before the handler runs.",
    "evidence": "osv:CVE-2026-98887",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.271",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.222",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.111",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.53",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98887",
      "aliases": [
        "CVE-2026-98887"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5d44fe7c9808c56e136e59147bd932f5491520f1"
                },
                {
                  "fixed": "3a96bb65b4b820d8b41fa155781ec1c29e3479d4"
                },
                {
                  "fixed": "59e1f2a0242232b4a3af144ae317d3913fc09046"
                },
                {
                  "fixed": "1ae85bb34fe3510659b86d6a5f8036dd498233f8"
                },
                {
                  "fixed": "6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695"
                },
                {
                  "fixed": "b5b1234bbfa25537fb9a5c0d62c328ed4547f721"
                },
                {
                  "fixed": "13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7"
                },
                {
                  "fixed": "3dc723ac78a6e4fa0fd49e27e487ed319da40a9f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98887.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.7.0"
                },
                {
                  "fixed": "5.10.271"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.222"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.189"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.158"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.111"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.53"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98887.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.962222304Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7",
        "https://git.kernel.org/stable/c/1ae85bb34fe3510659b86d6a5f8036dd498233f8",
        "https://git.kernel.org/stable/c/3a96bb65b4b820d8b41fa155781ec1c29e3479d4",
        "https://git.kernel.org/stable/c/3dc723ac78a6e4fa0fd49e27e487ed319da40a9f",
        "https://git.kernel.org/stable/c/59e1f2a0242232b4a3af144ae317d3913fc09046",
        "https://git.kernel.org/stable/c/6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695",
        "https://git.kernel.org/stable/c/b5b1234bbfa25537fb9a5c0d62c328ed4547f721",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98887.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98887",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98887.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98887",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 514274,
  "published_at": "2026-10-23T11:37:44.605+00:00"
}