{"id":"CVE-2026-98887","state":"PUBLISHED","title":"wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO\n\nhwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload\nto a struct hwsim_tx_rate * and unconditionally reads\nIEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds\nthe attribute from above (NLA_BINARY .len is a maximum) and the op sets\nGENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is\naccepted and the loop reads past the payload.\n\nRequire the exact length in the policy, so a malformed attribute is\nrejected before the handler runs.","publishedAt":"2026-10-23T11:37:44.605Z","updatedAt":"2026-10-26T06:56:11.864Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"3a96bb65b4b820d8b41fa155781ec1c29e3479d4","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"59e1f2a0242232b4a3af144ae317d3913fc09046","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"1ae85bb34fe3510659b86d6a5f8036dd498233f8","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"b5b1234bbfa25537fb9a5c0d62c328ed4547f721","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"3dc723ac78a6e4fa0fd49e27e487ed319da40a9f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/mac80211_hwsim_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/mac80211_hwsim_main.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98887.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98887","state":"PUBLISHED","datePublished":"2026-10-23T11:37:44.605Z","dateUpdated":"2026-10-26T06:56:11.864Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.378Z"},"containers":{"cna":{"title":"wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO\n\nhwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload\nto a struct hwsim_tx_rate * and unconditionally reads\nIEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds\nthe attribute from above (NLA_BINARY .len is a maximum) and the op sets\nGENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is\naccepted and the loop reads past the payload.\n\nRequire the exact length in the policy, so a malformed attribute is\nrejected before the handler runs."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"3a96bb65b4b820d8b41fa155781ec1c29e3479d4","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"59e1f2a0242232b4a3af144ae317d3913fc09046","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"1ae85bb34fe3510659b86d6a5f8036dd498233f8","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"b5b1234bbfa25537fb9a5c0d62c328ed4547f721","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7","versionType":"git"},{"version":"5d44fe7c9808c56e136e59147bd932f5491520f1","status":"affected","lessThan":"3dc723ac78a6e4fa0fd49e27e487ed319da40a9f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/mac80211_hwsim_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/mac80211_hwsim_main.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-26T06:56:11.864Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.10.271"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.15.222"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}