All reports
Medium

kernel: ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40121

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping When an invalid value is passed via quirk option, currently bytcr_rt5640 driver just ignores and leaves as is, which may lead to unepxected results like OOB access. This patch adds the sanity check and corrects the input mapping to the certain default value if an invalid value is passed.

A flaw was found in the Linux kernel’s ASoC (Audio) subsystem: in the Intel bytcr_rt5651/rt5640 driver, when a “quirk” option is supplied from user-space, invalid values are not properly validated, and the driver retains them. This can lead to unexpected behavior, including out-of-bounds accesses