{"id":"CVE-2026-139480","state":"PUBLISHED","title":"wifi: mm81x: validate YAPS receive framing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mm81x: validate YAPS receive framing\n\nThe receive byte count comes from device-controlled status registers, but\nthe packet splitter unconditionally consumes a four-byte delimiter. A count\nof one to three bytes therefore makes bytes_remaining negative. If the\nreused receive buffer contains a valid delimiter, the negative value is\npassed to memcpy() and converted to a near-SIZE_MAX length, corrupting\nkernel memory.\n\nYAPS streams are word aligned, so reject byte counts that cannot contain\ncomplete delimiters. Also reject delimiter sizes which do not leave any\npacket data after removing the reserved metadata page.\n\n[remove Suggested-by and fix Assisted-by]","publishedAt":"2026-11-30T13:35:08.535Z","updatedAt":"2026-11-30T13:35:08.535Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b1906cea00b021acea22460225401d5b27bc7c36","status":"affected","lessThan":"40bd161aa1544c6273fa46dc00271caf237e6141","versionType":"git"},{"version":"b1906cea00b021acea22460225401d5b27bc7c36","status":"affected","lessThan":"7e6689cbbf9e6040e4ce38656a126459aa994f68","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/morsemicro/mm81x/yaps_hw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.3","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/morsemicro/mm81x/yaps_hw.c"]}],"references":["https://git.kernel.org/stable/c/40bd161aa1544c6273fa46dc00271caf237e6141","https://git.kernel.org/stable/c/7e6689cbbf9e6040e4ce38656a126459aa994f68"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139480.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139480","state":"PUBLISHED","datePublished":"2026-11-30T13:35:08.535Z","dateUpdated":"2026-11-30T13:35:08.535Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.936Z"},"containers":{"cna":{"title":"wifi: mm81x: validate YAPS receive framing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mm81x: validate YAPS receive framing\n\nThe receive byte count comes from device-controlled status registers, but\nthe packet splitter unconditionally consumes a four-byte delimiter. A count\nof one to three bytes therefore makes bytes_remaining negative. If the\nreused receive buffer contains a valid delimiter, the negative value is\npassed to memcpy() and converted to a near-SIZE_MAX length, corrupting\nkernel memory.\n\nYAPS streams are word aligned, so reject byte counts that cannot contain\ncomplete delimiters. Also reject delimiter sizes which do not leave any\npacket data after removing the reserved metadata page.\n\n[remove Suggested-by and fix Assisted-by]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b1906cea00b021acea22460225401d5b27bc7c36","status":"affected","lessThan":"40bd161aa1544c6273fa46dc00271caf237e6141","versionType":"git"},{"version":"b1906cea00b021acea22460225401d5b27bc7c36","status":"affected","lessThan":"7e6689cbbf9e6040e4ce38656a126459aa994f68","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/morsemicro/mm81x/yaps_hw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.3","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/morsemicro/mm81x/yaps_hw.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/40bd161aa1544c6273fa46dc00271caf237e6141"},{"url":"https://git.kernel.org/stable/c/7e6689cbbf9e6040e4ce38656a126459aa994f68"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:08.535Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}