CVE-2025-40121

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40121
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40121.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40121
Downstream
Published
2025-11-12T10:23:19Z
Modified
2025-11-27T02:32:26.683950Z
Summary
ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/40xxx/CVE-2025-40121.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
bff827b0d507e52b23efab9f67c232a4f037ab2c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
64a36a7032082b4c330ce081acb6efb99246020e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
95e29db33b5f73218ae08ebb48c61c9a8d28e2ff
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
2204e582b4eea872e1e7a5c90edcb84b928c68b0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
f197894de2f4ef46c7d53827d9df294b75c35e13
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
fdf99978a6480e14405212472b6c747e0fa43bed
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
c60f269c123210a6846d6d1367de0eaa402c10b0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64484ccee7af53f08cca2ee3853cb8e18914d8b2
Fixed
4336efb59ef364e691ef829a73d9dbd4d5ed7c7b

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
5.4.301
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.246
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.195
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.156
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.112
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.53
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3