Shellfeed logo Shellfeed

CVE-2026-64041 · HIGH (CVSS 7.8)

Summary: ASoC: codecs: fs210x: fix possible buffer overflow

Details

In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: fs210x: fix possible buffer overflow

In fs210x_effect_scene_info(), a string was copied like this:

strscpy(DST, SRC, strlen(SRC) + 1);

A buffer overflow would happen if strlen(SRC) >= sizeof(DST).
Actually, strscpy() must be used this way:

strscpy(DST, SRC, sizeof(DST));
strscpy(DST, SRC); // defaults to sizeof(DST)

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [75611770177965ae902c87c96eace07542beff07 – 1ddf678bb75b6383c775ece61d40956c441d8a26]
  • Linux Kernel [6.18.0 – 6.18.34] [6.19.0 – 7.0.11]

References