# CVE-2026-80575: Input: cs40l50-vibra - validate custom data from user space

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-26T14:37:34.942Z
- **Modified:** 2026-08-27T06:17:43.243Z

## Who should check

- Anyone running Linux \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 3855b6a11f8a7aceb8181cc08c99afef58517006; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 52a818c586ae2c36b7324bfaefb547f5e866a8ae; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< d38554602a0b04e85fad28ce72c7500cf50d419b; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d
- Anyone running Linux 6.11

## Description

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

Input: cs40l50-vibra - validate custom data from user space

cs40l50\_add() copies the custom data of an FF\_PERIODIC/FF\_CUSTOM effect
straight from the ff\_effect the user passed to EVIOCSFF, without
requiring it to hold anything:

    work\_data.custom\_data = memdup\_array\_user(periodic-\>custom\_data,
                                              periodic-\>custom\_len,
                                              sizeof(s16));
    work\_data.custom\_len = periodic-\>custom\_len;

The driver then reads two words out of that buffer: custom\_data\[0\] as the
waveform bank in cs40l50\_effect\_bank\_set(), and custom\_data\[1\] as the
index within the bank in cs40l50\_effect\_index\_set().  Neither read is
covered by a length check, and custom\_len is fully user controlled:

  - custom\_len == 0 makes memdup\_array\_user() call memdup\_user() with a
    length of zero, which returns ZERO\_SIZE\_PTR rather than an error, so
    custom\_data\[0\] dereferences it.

  - custom\_len == 1 allocates two bytes.  A bank of ROM or RAM keeps
    effect-\>type out of the OWT case, and custom\_data\[1\] is then read one
    word past the allocation.

The bank value itself is also mishandled.  It is masked with
CS40L50\_CUSTOM\_DATA\_MASK (0xffff) but stored in an s16, so a
custom\_data\[0\] of 0x8000 or above wraps to a negative value that passes
the "bank\_type \>= CS40L50\_WVFRM\_BANK\_NUM" test.
cs40l50\_effect\_index\_set() indexes vib-\>dsp.banks\[\] with it before the
switch statement's default case gets a chance to reject it:

    base\_index = vib-\>dsp.banks\[effect-\>type\].base\_index;
    max\_index = vib-\>dsp.banks\[effect-\>type\].max\_index;

Require the two words the driver reads to be present, and hold the masked
bank in a u32 so the existing upper-bound test covers the whole range.
The da7280 haptic driver already range checks custom\_len this way.

## Affected and fixed versions

- Linux: \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 3855b6a11f8a7aceb8181cc08c99afef58517006; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 52a818c586ae2c36b7324bfaefb547f5e866a8ae; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< d38554602a0b04e85fad28ce72c7500cf50d419b; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80575. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80575.md
Affected: Linux >= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, < 3855b6a11f8a7aceb8181cc08c99afef58517006; >= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, < 52a818c586ae2c36b7324bfaefb547f5e866a8ae; >= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, < d38554602a0b04e85fad28ce72c7500cf50d419b; >= c38fe1bb5d21c2ce0857965…
Fixed in: Linux 3855b6a11f8a7aceb8181cc08c99afef58517006, Linux 52a818c586ae2c36b7324bfaefb547f5e866a8ae, Linux 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80575 being exploited?

There is no confirmed exploitation: CVE-2026-80575 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80575?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80575?

Linux \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 3855b6a11f8a7aceb8181cc08c99afef58517006; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 52a818c586ae2c36b7324bfaefb547f5e866a8ae; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< d38554602a0b04e85fad28ce72c7500cf50d419b; \>= c38fe1bb5d21c2ce0857965ee06174ee587d6b42, \< 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d; Linux 6.11.

### Is there a fix for CVE-2026-80575?

Yes. Fixed in Linux 3855b6a11f8a7aceb8181cc08c99afef58517006, Linux 52a818c586ae2c36b7324bfaefb547f5e866a8ae, Linux 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d. Upgrade Linux to 7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d or later.

### How do I check if I'm affected by CVE-2026-80575?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3855b6a11f8a7aceb8181cc08c99afef58517006>
- other: <https://git.kernel.org/stable/c/52a818c586ae2c36b7324bfaefb547f5e866a8ae>
- other: <https://git.kernel.org/stable/c/d38554602a0b04e85fad28ce72c7500cf50d419b>
- other: <https://git.kernel.org/stable/c/7d5c576cb1c86047b1fcb1aa9532e17fc5e46c1d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80575>

HTML: <https://flawdb.com/CVE-2026-80575> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80575>
