{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-74295",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-74295"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "ASoC: codecs: hdac_hdmi: Validate written enum value",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: hdac_hdmi: Validate written enum value\n\nhdac_hdmi_set_pin_port_mux() uses the written enum value to index the\ntexts array before calling snd_soc_dapm_put_enum_double(), which validates\nthat the value is within the enum item range.\n\nAn out-of-range value can therefore make the driver read past the texts\narray before the helper rejects the write. Move the lookup after the helper\nhas accepted the value.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-74295"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/216336418c007c4b44c650acf2fd3d2de5bb81e8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bc464a6a9e352daa17b1636c090cf3185710b9a0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8cbf24714d6b3f553fc959632c9781176a73a9a7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7f02e9064b6f84e7f93c72f134306271eb4f7de4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9131e4b023e0db5764680034bdc94aeae0b0f33d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d8961b5c7889b6ecc00f1409d36826df1665df27"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0b08baeccdcf52fad328ad645f5b4fbee04eea34"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:50:24Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The flaw is reached only through local ALSA control ioctls on /dev/snd/controlC* (SNDRV_CTL_IOCTL_ELEM_WRITE), which invoke hdac_hdmi_set_pin_port_mux(); there is no network, Bluetooth, or physical-input path to this callback.\nAC:L - An attacker with access to the ALSA control device can supply any out-of-range enumerated.item[0] value and reliably trigger the out-of-bounds texts[] read on default kernels without CONFIG_SND_CTL_INPUT_VALIDATION, without races or other uncontrollable conditions.\nPR:L - Exploitation requires local access to the ALSA control device (/dev/snd/controlC*), typically granted to the logged-in desktop user or audio group; no CAP_SYS_ADMIN or real root is required and user namespaces do not gate this path.\nUI:N - Once the attacker has ALSA control-device access, they can issue the ioctl directly to the Pin port Input mux control without requiring any action from another user or victim.\nS:U - The vulnerable Intel HDMI/DP audio codec driver and resulting kernel memory impacts remain within the host kernel security authority and do not cross VM, container, or IOMMU security boundaries.\nC:H - The unchecked enum index performs an out-of-bounds read of e->texts[], loading attacker-chosen adjacent kernel heap memory as a char* before validation rejects the write; per conservative kernel guidance, out-of-bounds reads are scored High.\nI:N - The bug is a read-only out-of-bounds array access with no out-of-bounds write, heap corruption, or attacker-controlled modification; snd_soc_dapm_put_enum_double() rejects invalid values before persisting any mux state change.\nA:H - Attacker-controlled out-of-bounds indices can load texts[] from unmapped addresses and fault the kernel during the pointer fetch; even near-boundary reads are a memory-safety violation treated conservatively as potential denial-of-service on affected Intel HDMI systems."
    }
  }
}
