[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025111252-CVE-2025-40121-c2ef@gregkh>
Date: Wed, 12 Nov 2025 19:23:57 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40121: ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-40121 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 5.4.301 with commit bff827b0d507e52b23efab9f67c232a4f037ab2c
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 5.10.246 with commit 64a36a7032082b4c330ce081acb6efb99246020e
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 5.15.195 with commit 95e29db33b5f73218ae08ebb48c61c9a8d28e2ff
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 6.1.156 with commit 2204e582b4eea872e1e7a5c90edcb84b928c68b0
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 6.6.112 with commit f197894de2f4ef46c7d53827d9df294b75c35e13
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 6.12.53 with commit fdf99978a6480e14405212472b6c747e0fa43bed
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 6.17.3 with commit c60f269c123210a6846d6d1367de0eaa402c10b0
Issue introduced in 4.18 with commit 64484ccee7af53f08cca2ee3853cb8e18914d8b2 and fixed in 6.18-rc1 with commit 4336efb59ef364e691ef829a73d9dbd4d5ed7c7b
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-40121
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/soc/intel/boards/bytcr_rt5651.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/bff827b0d507e52b23efab9f67c232a4f037ab2c
https://git.kernel.org/stable/c/64a36a7032082b4c330ce081acb6efb99246020e
https://git.kernel.org/stable/c/95e29db33b5f73218ae08ebb48c61c9a8d28e2ff
https://git.kernel.org/stable/c/2204e582b4eea872e1e7a5c90edcb84b928c68b0
https://git.kernel.org/stable/c/f197894de2f4ef46c7d53827d9df294b75c35e13
https://git.kernel.org/stable/c/fdf99978a6480e14405212472b6c747e0fa43bed
https://git.kernel.org/stable/c/c60f269c123210a6846d6d1367de0eaa402c10b0
https://git.kernel.org/stable/c/4336efb59ef364e691ef829a73d9dbd4d5ed7c7b
Powered by blists - more mailing lists