Security mailing lists by PureSourceCode

CVE-2026-139504

not scored yet

wifi: mm81x: check bytes_remaining before reading delimiter

In the Linux kernel, the following vulnerability has been resolved:

wifi: mm81x: check bytes_remaining before reading delimiter

mm81x_yaps_hw_read_pkts() reads a full 4-byte delimiter and then
subtracts sizeof(delim) from bytes_remaining on every loop iteration,
guarded only by "bytes_remaining > 0". If 1-3 bytes are left in the
window, this reads past the end of the valid data and then subtracts
4 from a value smaller than 4, driving bytes_remaining negative.

A negative bytes_remaining then reaches the total_len > bytes_remaining
branch, where "bytes_remaining" is passed to memcpy() as the copy
length. Implicitly converted to size_t, a negative int becomes a
huge value, turning that memcpy() into a massive out-of-bounds copy.

Bail out of the split loop once fewer than sizeof(delim) bytes remain,
the same way the existing "end of stream" check bails on a zero
delimiter.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= b1906cea00b021acea22460225401d5b27bc7c36, < 0f3c6b1b62f3ba755b7b4f5b03335eb91d144f29; >= b1906cea00b021acea22460225401d5b27bc7c36, < 54a54c06868d0c2beb9ec3e2ffda0f6cb33d5c8e 0f3c6b1b62f3ba755b7b4f5b03335eb91d144f29, 54a54c06868d0c2beb9ec3e2ffda0f6cb33d5c8e
CVE List Linux Linux = 7.3

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.