wifi: libipw: reject too-short beacon and probe responses (Linux Linux)

CVE-2026-98349
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: libipw: reject too-short beacon and probe responses libipw_process_probe_response() and the libipw_network_init() call it makes assume the frame contains the full 36-byte beacon and probe response prefix, but the ipw2100 and ipw2200 receive paths only establish that a management frame carries the generic 24-byte three-address header. libipw_network_init() then computes the information element length as stats->len - sizeof(*beacon) stats->len is a u16 and sizeof() has type size_t, so the subtraction is evaluated as size_t and wraps instead of going negative. Truncating that to the u16 length parameter of libipw_parse_info_param() yields 65524 for a 24-byte beacon, and the parser then walks the receive buffer as if it held almost 64 KiB of information elements, reading past the allocation. Reject the frame before any fixed field is touched. Found by an AI-assisted review of length arithmetic in management frame parsers. Verified with a KUnit case under Generic KASAN on arm64 under QEMU; I do not have the hardware, so it is not tested on a real device.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < cee6f141b3bebe62eb0363fd147acb52023935f0 ; affected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < 23afeb5d2bdfd34c8a0a661876291a4fa9978293 ; affected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < 89959ff00a978f3172726d3d5f861ee6f1aae26d ; affected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < 14ae269c1306053ddf1ccf37c4bd66e085a652d1 ; affected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < ff756e6647722b7d225d882f7bdb186d8eee318e ; affected b453872c35cfcbdbf5a794737817f7d4e7b1b579 < 2c87bbc00dc93149d1dc4f803ad92d92e4ef3758
Linux · Linuxaffected 2.6.14 ; unaffected 0 < 2.6.14 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD