CVE-2026-98830NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
wifi: wfx: validate MIB read length before copying to caller
wfx_hif_read_mib() copies reply->length bytes from the firmware
response into the caller-provided buffer without checking that
reply->length does not exceed val_len. A firmware response with
a length field larger than expected overruns the caller buffer and
reads past the end of the reply allocation.
Replace the dead -ENOMEM check with an active validation that
reply->length fits within val_len before the memcpy.
wifi: wfx: validate MIB read length before copying to caller
wfx_hif_read_mib() copies reply->length bytes from the firmware
response into the caller-provided buffer without checking that
reply->length does not exceed val_len. A firmware response with
a length field larger than expected overruns the caller buffer and
reads past the end of the reply allocation.
Replace the dead -ENOMEM check with an active validation that
reply->length fits within val_len before the memcpy.
Affected & Patched Versions
Not provided by NVD for this CVE.
Not provided by NVD for this CVE.
External References
- https://git.kernel.org/stable/c/02886c18a340da59df57365f29009e1258bfe333
- https://git.kernel.org/stable/c/71d140099165de03128c00dd129f1eab21c6a3c4
- https://git.kernel.org/stable/c/7acb36fd60a3e7b858f12e69a919c3609b281408
- https://git.kernel.org/stable/c/819d4c1323e2a9b7329021d5367aa01add22b5dc
- https://git.kernel.org/stable/c/b8310b55e53622a393d14af4939f620c1828778b
- https://git.kernel.org/stable/c/ce67ebe9d8629776ce38e6995ae72fb903c828db