# CVE-2025-40154: ASoC: Intel: bytcr\_rt5640: Fix invalid quirk input mapping

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-11-12T10:23:28.470Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< dea9c8c9028c9374761224a7f9d824e845a2aa2e; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< f58fca15f3bf8b982e799c31e4afa8923788aa40; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 29a41bf6422688f0c5a09b18222e1a64b2629fa4; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 5c03ea2ef4ebba75c69c90929d8590eb3d3797a9; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 48880f3cdf2b6d8dcd91219c5b5c8a7526411322; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0
- Anyone running Linux 4.18

## Description

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

ASoC: Intel: bytcr\_rt5640: Fix invalid quirk input mapping

When an invalid value is passed via quirk option, currently
bytcr\_rt5640 driver only shows an error message but leaves as is.
This may lead to unepxected results like OOB access.

This patch corrects the input mapping to the certain default value if
an invalid value is passed.

## Affected and fixed versions

- Linux: \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< dea9c8c9028c9374761224a7f9d824e845a2aa2e; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< f58fca15f3bf8b982e799c31e4afa8923788aa40; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 29a41bf6422688f0c5a09b18222e1a64b2629fa4; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 5c03ea2ef4ebba75c69c90929d8590eb3d3797a9; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 48880f3cdf2b6d8dcd91219c5b5c8a7526411322; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-40154.md
Affected: Linux >= 063422ca2a9de238401c3848c1b3641c07b6316c, < 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01; >= 063422ca2a9de238401c3848c1b3641c07b6316c, < a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d; >= 063422ca2a9de238401c3848c1b3641c07b6316c, < dea9c8c9028c9374761224a7f9d824e845a2aa2e; >= 063422ca2a9de238401c384…
Fixed in: Linux 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01, Linux 29a41bf6422688f0c5a09b18222e1a64b2629fa4, Linux 5c03ea2ef4ebba75c69c90929d8590eb3d3797a9, Linux 48880f3cdf2b6d8dcd91219c5b5c8a7526411322

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-2025-40154 being exploited?

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

### How serious is CVE-2025-40154?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40154?

Linux \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< dea9c8c9028c9374761224a7f9d824e845a2aa2e; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< f58fca15f3bf8b982e799c31e4afa8923788aa40; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 29a41bf6422688f0c5a09b18222e1a64b2629fa4; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 5c03ea2ef4ebba75c69c90929d8590eb3d3797a9; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< 48880f3cdf2b6d8dcd91219c5b5c8a7526411322; \>= 063422ca2a9de238401c3848c1b3641c07b6316c, \< fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0; Linux 4.18.

### Is there a fix for CVE-2025-40154?

Yes. Fixed in Linux 2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01, Linux 29a41bf6422688f0c5a09b18222e1a64b2629fa4, Linux 5c03ea2ef4ebba75c69c90929d8590eb3d3797a9, Linux 48880f3cdf2b6d8dcd91219c5b5c8a7526411322. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40154?

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/2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01>
- other: <https://git.kernel.org/stable/c/a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d>
- other: <https://git.kernel.org/stable/c/dea9c8c9028c9374761224a7f9d824e845a2aa2e>
- other: <https://git.kernel.org/stable/c/f58fca15f3bf8b982e799c31e4afa8923788aa40>
- other: <https://git.kernel.org/stable/c/29a41bf6422688f0c5a09b18222e1a64b2629fa4>
- other: <https://git.kernel.org/stable/c/5c03ea2ef4ebba75c69c90929d8590eb3d3797a9>
- other: <https://git.kernel.org/stable/c/48880f3cdf2b6d8dcd91219c5b5c8a7526411322>
- other: <https://git.kernel.org/stable/c/fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0>

## 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-2025-40154>

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