wifi: libipw: reject too-short association responses (Linux Linux)

CVE-2026-98348
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 association responses libipw_handle_assoc_resp() reads the capability, status and aid fields of the 30-byte association response prefix and then computes the information element length as stats->len - sizeof(*frame) 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() turns a frame shorter than the fixed fields into a length near 64 KiB, and the parser then reads past the receive buffer. Both the ipw2100 and ipw2200 management receive paths reach this function having established only that the frame carries the generic 24-byte three-address header. 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 9e8571affd1c54b9638b4ff9844e47aae07310f6 < 766268b429ae26d8ca599031fa962b0fe4673120 ; affected 9e8571affd1c54b9638b4ff9844e47aae07310f6 < d70bdb84cf1782039384c1ffa7a18b0303c286a7 ; affected 9e8571affd1c54b9638b4ff9844e47aae07310f6 < 400b89217058fac672134a0d4092c8493dadb8ad ; affected 9e8571affd1c54b9638b4ff9844e47aae07310f6 < 46aa75291056b6dc5faaf956dffdb3e9662477b0 ; affected 9e8571affd1c54b9638b4ff9844e47aae07310f6 < e3025ecdb2057f866c09e059fc1466e81d6f243e ; affected 9e8571affd1c54b9638b4ff9844e47aae07310f6 < 14cb425ba1f3a5d849e3bbc3d02d84e0ae195dbb
Linux · Linuxaffected 2.6.15 ; unaffected 0 < 2.6.15 ; 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