CVE-2026-64041

ASoC: codecs: fs210x: fix possible buffer overflow

Published Jul 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical 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, identified as CWE-120 and CWE-787, 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. This vulnerability also maps to arbitrary kernel write (CWE-787).

Remediation

No solution or workaround provided in the CVE record.

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 October 5, 2026 at 20:20 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
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-787
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
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'}

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

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
Weaknesses
  • CWE-120

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

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:38 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Oct 5, 2026, 6:23 PM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM