Description
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)
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A buffer overflow was discovered in the ASoC fs210x codec driver in the Linux kernel. The flaw originates from an incorrect use of the strscpy function, which copies a source string into a destination buffer based on the source length rather than the destination size. If the source string length is equal to or greater than the destination buffer size, the copy operation can overwrite adjacent memory, corrupting kernel data structures. This weakness (CWE-120) can compromise the integrity of critical kernel memory and potentially lead to kernel privilege escalation if an attacker can influence the data sent to the codec driver. The vulnerability was addressed by changing the strscpy call to use the size of the destination buffer, eliminating the overflow.

Affected Systems

The flaw exists in any Linux kernel that contains the fs210x codec driver, which is part of the ASoC audio subsystem. The vendor list shows Linux:Linux, indicating the upstream kernel. No explicit version range is provided, so any kernel release that includes the unpatched fs210x code is affected until a patched release is installed.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity for a kernel buffer overflow. The EPSS probability of less than 1% suggests that exploitation attempts are currently rare or not publicly known. The vulnerability is not listed in CISA KEV catalog. The likely attack vector involves feeding specially crafted data to the fs210x codec driver through user‑space audio applications or firmware; because the fault occurs in kernel space, a successful exploitation could corrupt kernel memory. Maintaining up‑to‑date kernel mitigates this risk.

Generated by OpenCVE AI on July 30, 2026 at 20:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the fs210x buffer overflow fix
  • If the kernel cannot be updated on time, unload or disable the fs210x codec driver to remove the vulnerable code path
  • Restrict access to the audio subsystem for untrusted users and enforce firmware integrity checks on the codec device to reduce the chance of malicious data being delivered

Generated by OpenCVE AI on July 30, 2026 at 20:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 20 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description 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)
Title ASoC: codecs: fs210x: fix possible buffer overflow
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:38:33.905Z

Reserved: 2026-07-19T07:54:57.029Z

Link: CVE-2026-64041

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64041 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T21:00:22Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')