wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO
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
- Linux
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-98887
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 29 Oct 2026, 18:03 UTC · Revision 2
Source evidence
wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO
core-cve · Original sourcePublished 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.
cve:CVE-2026-98887
Linux
Fixed versions: Not specified
Linux
Fixed versions: Not specified
Complete source record
{
"id": "6b5c0c9cb526e7cd944799b7107d249969f56850f8071358805d11985103040b",
"url": "https://www.cve.org/CVERecord?id=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": "cve:CVE-2026-98887",
"products": [
{
"name": {
"value": "Linux",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
},
{
"name": {
"value": "Linux",
"evidence": "/containers/cna/affected/1/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98887",
"aliases": [
"CVE-2026-98887"
],
"metrics": [],
"affected": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "3a96bb65b4b820d8b41fa155781ec1c29e3479d4",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "59e1f2a0242232b4a3af144ae317d3913fc09046",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "1ae85bb34fe3510659b86d6a5f8036dd498233f8",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "b5b1234bbfa25537fb9a5c0d62c328ed4547f721",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7",
"versionType": "git"
},
{
"status": "affected",
"version": "5d44fe7c9808c56e136e59147bd932f5491520f1",
"lessThan": "3dc723ac78a6e4fa0fd49e27e487ed319da40a9f",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/wireless/virtual/mac80211_hwsim_main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/wireless/virtual/mac80211_hwsim_main.c"
],
"defaultStatus": "affected"
}
],
"modified": "2026-10-26T06:56:11.864Z",
"provider": "cve",
"references": [
"https://git.kernel.org/stable/c/3a96bb65b4b820d8b41fa155781ec1c29e3479d4",
"https://git.kernel.org/stable/c/59e1f2a0242232b4a3af144ae317d3913fc09046",
"https://git.kernel.org/stable/c/1ae85bb34fe3510659b86d6a5f8036dd498233f8",
"https://git.kernel.org/stable/c/6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695",
"https://git.kernel.org/stable/c/b5b1234bbfa25537fb9a5c0d62c328ed4547f721",
"https://git.kernel.org/stable/c/13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7",
"https://git.kernel.org/stable/c/3dc723ac78a6e4fa0fd49e27e487ed319da40a9f"
],
"provider_metadata": {
"cna": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-26T06:56:11.864Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-98887",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-cve",
"document_id": 263345,
"published_at": "2026-10-23T11:37:44.605+00:00"
}