CVE-2025-40154: Invalid Quirk Input Mapping in Linux Kernel Intel bytcr_rt5640 Driver
- Vendor
- Linux
CVE-2025-40154 is an input-validation vulnerability in the Linux kernel's ASoC Intel bytcr_rt5640 audio driver. When an invalid input-mapping value is supplied through the quirk option, the driver logs an error but retains the invalid value. Subsequent processing can consequently produce unexpected behavior, including possible out-of-bounds memory access. The fix replaces invalid input mappings with a defined default mapping.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An invalid quirk input mapping can cause unexpected kernel-driver behavior and potentially out-of-bounds memory access, with possible effects on system stability, confidentiality, and integrity. The specific access type and a demonstrated path to information disclosure, privilege escalation, or arbitrary code execution are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, ensure the driver's quirk option uses a valid input mapping and restrict unauthorized changes to driver configuration. These measures reduce exposure to the triggering condition but do not replace the kernel fix. No vendor-specific temporary workaround is documented.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the bytcr_rt5640 input-mapping validation fix, then reboot into the updated kernel. Fixed builds include RHEL 9.6 kernel 5.14.0-570.79.1.el9_6, RHEL 9.4 kernel 5.14.0-427.107.1.el9_4, RHEL 8.10 kernel 4.18.0-553.97.1.el8_10, and RHEL 10.0 kernel 6.12.0-55.55.1.el10_0. For SUSE systems, install the applicable product-specific security update; examples include kernel-default 6.4.0-150700.53.25.1 for applicable 15 SP7 products and 6.4.0-38.1 for applicable Linux Micro products. Later vendor-fixed builds are also appropriate.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-40154 exploited in the wild?
- As of Nov 23, 2026, Mallory has no reports of CVE-2025-40154 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-40154?
- As of Nov 23, 2026, Mallory has found no public exploit for CVE-2025-40154.
- Is there a patch for CVE-2025-40154?
- Install a vendor-supported kernel update containing the bytcr_rt5640 input-mapping validation fix, then reboot into the updated kernel. Fixed builds include RHEL 9.6 kernel 5.14.0-570.79.1.el9_6, RHEL 9.4 kernel 5.14.0-427.107.1.el9_4, RHEL 8.10 kernel 4.18.0-553.97.1.el8_10, and RHEL 10.0 kernel 6.12.0-55.55.1.el10_0.
- What products are affected by CVE-2025-40154?
- Linux Kernel.
- How severe is CVE-2025-40154?
- CVE-2025-40154 has an EPSS score of 0.29% (14th percentile) as of Nov 23, 2026.
Recent activity
39 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.