{"id":"CVE-2026-68348","state":"PUBLISHED","title":"ASoC: tas2781: bound firmware description string parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: tas2781: bound firmware description string parsing\n\nThe TAS2781 firmware parser reads several variable-length description\nstrings with strlen() before checking that the string terminator is\npresent inside the firmware blob. A malformed firmware image without a\nNUL terminator can therefore make the parser walk past the end of the\nfirmware buffer before the later size checks run.\n\nAdd a small bounded string-length helper and use it for all description\nfields that are parsed from the firmware buffer. Keep the existing size\nchecks for the fixed bytes that follow each string.","publishedAt":"2026-08-10T12:03:25.193Z","updatedAt":"2026-10-19T21:09:05.718Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"3ddb0d3e36507615e5ef010a879357a54870adf5","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"0ec45e80a82785ee147516fdecf5c93707dec119","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"41ae2b7d37c3dd82302167496836cca9f0328374","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"e75ef37d83c90b09bedb601624b47e168202b226","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"bc889dfcea9294a1eae7f8e2f3573a90764ae4d0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/tas2781-fmwlib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/tas2781-fmwlib.c"]}],"references":["https://git.kernel.org/stable/c/3ddb0d3e36507615e5ef010a879357a54870adf5","https://git.kernel.org/stable/c/0ec45e80a82785ee147516fdecf5c93707dec119","https://git.kernel.org/stable/c/41ae2b7d37c3dd82302167496836cca9f0328374","https://git.kernel.org/stable/c/e75ef37d83c90b09bedb601624b47e168202b226","https://git.kernel.org/stable/c/bc889dfcea9294a1eae7f8e2f3573a90764ae4d0"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68348.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68348","state":"PUBLISHED","datePublished":"2026-08-10T12:03:25.193Z","dateUpdated":"2026-10-19T21:09:05.718Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.384Z"},"containers":{"cna":{"title":"ASoC: tas2781: bound firmware description string parsing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: tas2781: bound firmware description string parsing\n\nThe TAS2781 firmware parser reads several variable-length description\nstrings with strlen() before checking that the string terminator is\npresent inside the firmware blob. A malformed firmware image without a\nNUL terminator can therefore make the parser walk past the end of the\nfirmware buffer before the later size checks run.\n\nAdd a small bounded string-length helper and use it for all description\nfields that are parsed from the firmware buffer. Keep the existing size\nchecks for the fixed bytes that follow each string."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"3ddb0d3e36507615e5ef010a879357a54870adf5","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"0ec45e80a82785ee147516fdecf5c93707dec119","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"41ae2b7d37c3dd82302167496836cca9f0328374","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"e75ef37d83c90b09bedb601624b47e168202b226","versionType":"git"},{"version":"915f5eadebd29ba185ac506766a90120153b7e14","status":"affected","lessThan":"bc889dfcea9294a1eae7f8e2f3573a90764ae4d0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/tas2781-fmwlib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/tas2781-fmwlib.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3ddb0d3e36507615e5ef010a879357a54870adf5"},{"url":"https://git.kernel.org/stable/c/0ec45e80a82785ee147516fdecf5c93707dec119"},{"url":"https://git.kernel.org/stable/c/41ae2b7d37c3dd82302167496836cca9f0328374"},{"url":"https://git.kernel.org/stable/c/e75ef37d83c90b09bedb601624b47e168202b226"},{"url":"https://git.kernel.org/stable/c/bc889dfcea9294a1eae7f8e2f3573a90764ae4d0"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The malformed blob is consumed by request_firmware() from the local firmware search path during tas2781 codec probe (tasdevice_dsp_parser/tas2781_load_calibration); there is no network, adjacent-network, or peer-supplied data path into the parser, so local presence on the affected system is required.\nAC:L - Simply omitting the NUL terminator at the end of a coef/cal .bin file makes strlen() run past fmw->size deterministically on every load — no race, no timing window, and no memory-layout precondition the attacker cannot influence.\nPR:L - The parsing path contains no capability, credential, or privilege check whatsoever, and the firmware search path on many embedded/Android/appliance deployments lives on a vendor or data partition writable by non-root system accounts; a low-privileged local account is therefore sufficient to be positioned to place the blob.\nUI:N - Parsing runs from the asynchronous request_firmware_nowait() completion callback during device probe/bind; once the file is in place it is consumed automatically at the next boot or driver bind with no victim action required.\nS:U - The out-of-bounds read occurs in kernel memory belonging to the same kernel that hosts the vulnerable codec driver, with no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - strlen() is unbounded — it walks from the description offset through arbitrary kernel memory adjacent to the firmware buffer until a zero byte is found, so the read is not confined to a few bytes and touches heap/vmalloc contents outside the intended allocation.\nI:N - The defect is purely a read: the computed length is re-validated against fmw->size afterwards (and int/size_t promotion makes overflowed sums fail the check), so no out-of-bounds write or corrupted parse offset results from the OOB strlen.\nA:H - Firmware buffers are vmalloc/kmalloc allocations, so a strlen() walk past the end readily crosses into an unmapped page or guard page and produces a kernel oops/panic, which is High availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:50.265Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68348","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T15:47:21.509614Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:09:05.718Z"}}]}}}