CVE-2026-139504
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.
Affected versions
Linux kernel versions
7.3
and later are affected. Fixed in
7.3.6,
7.4-rc1
and their respective stable series.
References
2 totalFrequently asked questions
-
What is CVE-2026-139504?
CVE-2026-139504 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 7.3 onward and has been patched in 7.3.6 and 7.4-rc1. CVE-2026-139504 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-139504?
Yes. CVE-2026-139504 has been patched. Fixed versions include 7.3.6 and 7.4-rc1. If you are running Linux kernel 7.3 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-139504 actively exploited?
No. CVE-2026-139504 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.