Skip to content
Heist/ feed
Back to feed
UnratedFix available

ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.246, 5.15.195, 5.4.301, 6.1.156, 6.12.53, 6.17.3, 6.6.112
CVEs
CVE-2025-40154
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:23 UTC · Revision 1

Source evidence

ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping

core-osv · Original source

Published 12 Nov 2025, 10:23 UTC

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.

osv:CVE-2025-40154

Kernel

Fixed versions: 5.4.301, 5.10.246, 5.15.195, 6.1.156, 6.6.112, 6.12.53, 6.17.3

Complete source record
{
  "id": "832e63d316481b826c937ce19027553e35a8f3187e44d871540b5318771dd3d6",
  "url": "https://osv.dev/vulnerability/CVE-2025-40154",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping",
    "summary": "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.",
    "evidence": "osv:CVE-2025-40154",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.301",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.246",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.195",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.156",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-40154",
      "aliases": [
        "CVE-2025-40154"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "063422ca2a9de238401c3848c1b3641c07b6316c"
                },
                {
                  "fixed": "2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01"
                },
                {
                  "fixed": "a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d"
                },
                {
                  "fixed": "dea9c8c9028c9374761224a7f9d824e845a2aa2e"
                },
                {
                  "fixed": "f58fca15f3bf8b982e799c31e4afa8923788aa40"
                },
                {
                  "fixed": "29a41bf6422688f0c5a09b18222e1a64b2629fa4"
                },
                {
                  "fixed": "5c03ea2ef4ebba75c69c90929d8590eb3d3797a9"
                },
                {
                  "fixed": "48880f3cdf2b6d8dcd91219c5b5c8a7526411322"
                },
                {
                  "fixed": "fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40154.json"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40154.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.481024980Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/29a41bf6422688f0c5a09b18222e1a64b2629fa4",
        "https://git.kernel.org/stable/c/2c27e047bdcba457ec953f7e90e4ed6d5f8aeb01",
        "https://git.kernel.org/stable/c/48880f3cdf2b6d8dcd91219c5b5c8a7526411322",
        "https://git.kernel.org/stable/c/5c03ea2ef4ebba75c69c90929d8590eb3d3797a9",
        "https://git.kernel.org/stable/c/a97b4d18ecb012c5624cdf2cab2ce5e1312fdd5d",
        "https://git.kernel.org/stable/c/dea9c8c9028c9374761224a7f9d824e845a2aa2e",
        "https://git.kernel.org/stable/c/f58fca15f3bf8b982e799c31e4afa8923788aa40",
        "https://git.kernel.org/stable/c/fba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40154.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40154",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40154.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40154",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 501992,
  "published_at": "2025-11-12T10:23:28.47+00:00"
}