CVE-2026-139504
publishedwifi: mm81x: check bytes_remaining before reading delimiter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb1906cea00b021acea22460225401d5b27bc7c36 to < 0f3c6b1b62f3ba755b7b4f5b03335eb91d144f29 · b1906cea00b021acea22460225401d5b27bc7c36 to < 54a54c06868d0c2beb9ec3e2ffda0f6cb33d5c8e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.3 (affected) · 0 to < 7.3 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b1906cea00b021acea22460225401d5b27bc7c36 to < 0f3c6b1b62f3ba755b7b4f5b03335eb91d144f29 (affected · git)b1906cea00b021acea22460225401d5b27bc7c36 to < 54a54c06868d0c2beb9ec3e2ffda0f6cb33d5c8e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.3 (affected)0 to < 7.3 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
wifi: mm81x: check bytes_remaining before reading delimiter
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a7951edf060cf41179af8ae9fb448cda3ad30a8002db7a2d6ac5691e6f9aace3
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record