Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mm81x: validate YAPS receive framing The receive byte count comes from device-controlled status registers, but the packet splitter unconditionally consumes a four-byte delimiter. A count of one to three bytes therefore makes bytes_remaining negative. If the reused receive buffer contains a valid delimiter, the negative value is passed to memcpy() and converted to a near-SIZE_MAX length, corrupting kernel memory. YAPS streams are word aligned, so reject byte counts that cannot contain complete delimiters. Also reject delimiter sizes which do not leave any packet data after removing the reserved metadata page. [remove Suggested-by and fix Assisted-by]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b1906cea00b021acea22460225401d5b27bc7c36 to < 40bd161aa1544c6273fa46dc00271caf237e6141affectedb1906cea00b021acea22460225401d5b27bc7c36 to < 7e6689cbbf9e6040e4ce38656a126459aa994f68affected
Linux Linux
Default version status: affected
7.3affected0 to < 7.3unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected