{"id":"CVE-2026-64041","state":"PUBLISHED","title":"ASoC: codecs: fs210x: fix possible buffer overflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: fs210x: fix possible buffer overflow\n\nIn fs210x_effect_scene_info(), a string was copied like this:\n\n    strscpy(DST, SRC, strlen(SRC) + 1);\n\nA buffer overflow would happen if strlen(SRC) >= sizeof(DST).\nActually, strscpy() must be used this way:\n\n    strscpy(DST, SRC, sizeof(DST));\n    strscpy(DST, SRC); // defaults to sizeof(DST)","publishedAt":"2026-07-19T15:39:27.967Z","updatedAt":"2026-08-05T12:38:33.905Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"1ddf678bb75b6383c775ece61d40956c441d8a26","versionType":"git"},{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"6daefdf1cd3c56483f61970a76c0ad6028e4118f","versionType":"git"},{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"0d435a7ebcd4e97e47673c1ab6fb27f973a053ec","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/fs210x.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/fs210x.c"]}],"references":["https://git.kernel.org/stable/c/1ddf678bb75b6383c775ece61d40956c441d8a26","https://git.kernel.org/stable/c/6daefdf1cd3c56483f61970a76c0ad6028e4118f","https://git.kernel.org/stable/c/0d435a7ebcd4e97e47673c1ab6fb27f973a053ec"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64041.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64041","state":"PUBLISHED","datePublished":"2026-07-19T15:39:27.967Z","dateUpdated":"2026-08-05T12:38:33.905Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.029Z"},"containers":{"cna":{"title":"ASoC: codecs: fs210x: fix possible buffer overflow","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: fs210x: fix possible buffer overflow\n\nIn fs210x_effect_scene_info(), a string was copied like this:\n\n    strscpy(DST, SRC, strlen(SRC) + 1);\n\nA buffer overflow would happen if strlen(SRC) >= sizeof(DST).\nActually, strscpy() must be used this way:\n\n    strscpy(DST, SRC, sizeof(DST));\n    strscpy(DST, SRC); // defaults to sizeof(DST)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"1ddf678bb75b6383c775ece61d40956c441d8a26","versionType":"git"},{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"6daefdf1cd3c56483f61970a76c0ad6028e4118f","versionType":"git"},{"version":"75611770177965ae902c87c96eace07542beff07","status":"affected","lessThan":"0d435a7ebcd4e97e47673c1ab6fb27f973a053ec","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/fs210x.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/fs210x.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1ddf678bb75b6383c775ece61d40956c441d8a26"},{"url":"https://git.kernel.org/stable/c/6daefdf1cd3c56483f61970a76c0ad6028e4118f"},{"url":"https://git.kernel.org/stable/c/0d435a7ebcd4e97e47673c1ab6fb27f973a053ec"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The overflow is triggered only through a local ALSA control ioctl on /dev/snd/controlC*, not via any network, Bluetooth, or physical bus interface.\nAC:L - Once firmware contains a scene name of 64+ bytes, a single SNDRV_CTL_IOCTL_ELEM_INFO call deterministically overflows the 64-byte enumerated name buffer on the kernel stack.\nPR:L - Exploitation requires local access to the ALSA control device, which is typically granted to unprivileged users in the audio group on embedded Linux, kiosk, and IoT deployments using this amplifier.\nUI:N - The attacker can trigger the vulnerable ioctl directly (e.g., via amixer or a custom program) without requiring any action from a victim user.\nS:U - Successful exploitation results in standard kernel memory corruption and potential local privilege escalation within the same security authority, not a cross-boundary escape such as VM or sandbox breakout.\nC:H - The stack buffer overflow writes beyond the 64-byte destination, corrupting adjacent kernel stack data and enabling information disclosure as part of memory corruption exploitation.\nI:H - Unbounded stack corruption from the incorrect strscpy size argument can overwrite return addresses and other stack metadata, enabling arbitrary kernel code execution.\nA:H - Stack corruption in kernel context during ioctl handling can cause kernel oops, panic, or hang, resulting in complete loss of system availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:38:33.905Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}