---
id: CVE-2026-98887
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 uncon…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    3a96bb65b4b820d8b41fa155781ec1c29e3479d4
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    59e1f2a0242232b4a3af144ae317d3913fc09046
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    1ae85bb34fe3510659b86d6a5f8036dd498233f8
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    b5b1234bbfa25537fb9a5c0d62c328ed4547f721
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    3dc723ac78a6e4fa0fd49e27e487ed319da40a9f
  - Linux < 5.10.271
  - Linux < 5.15.222
  - Linux < 6.1.189
  - Linux < 6.6.158
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T11:37:44.605Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98887'
references:
  - url: 'https://git.kernel.org/stable/c/3a96bb65b4b820d8b41fa155781ec1c29e3479d4'
  - url: 'https://git.kernel.org/stable/c/59e1f2a0242232b4a3af144ae317d3913fc09046'
  - url: 'https://git.kernel.org/stable/c/1ae85bb34fe3510659b86d6a5f8036dd498233f8'
  - url: 'https://git.kernel.org/stable/c/6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695'
  - url: 'https://git.kernel.org/stable/c/b5b1234bbfa25537fb9a5c0d62c328ed4547f721'
  - url: 'https://git.kernel.org/stable/c/13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7'
  - url: 'https://git.kernel.org/stable/c/3dc723ac78a6e4fa0fd49e27e487ed319da40a9f'
tags:
  - cve.org
ingestedAt: '2026-10-23T13:24:55.580Z'
---

## Overview

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.

## Affected

- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3a96bb65b4b820d8b41fa155781ec1c29e3479d4`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 59e1f2a0242232b4a3af144ae317d3913fc09046`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1ae85bb34fe3510659b86d6a5f8036dd498233f8`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b5b1234bbfa25537fb9a5c0d62c328ed4547f721`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3dc723ac78a6e4fa0fd49e27e487ed319da40a9f`
- `Linux < 5.10.271`
- `Linux < 5.15.222`
- `Linux < 6.1.189`
- `Linux < 6.6.158`
- `Linux < 6.12.111`
- `Linux < 6.18.53`
- `Linux (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
