CVE-2022-50325 (GCVE-0-2022-50325)
Vulnerability from cvelistv5
Published
2025-09-15 14:49
Modified
2026-08-05 08:58
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Fix potential RX buffer overflow If an event caused firmware to return invalid RX size for LARGE_CONFIG_GET, memcpy_fromio() could end up copying too many bytes. Fix by utilizing min_t().
Impacted products
Vendor Product Version
Linux Linux Version: f14a1c5a9f830025dc8638303ddefd5f731ae4bc
Version: f14a1c5a9f830025dc8638303ddefd5f731ae4bc
Version: f14a1c5a9f830025dc8638303ddefd5f731ae4bc
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/intel/avs/ipc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a",
              "status": "affected",
              "version": "f14a1c5a9f830025dc8638303ddefd5f731ae4bc",
              "versionType": "git"
            },
            {
              "lessThan": "0bad12fee5ae16ab439d97c66c4238f5f4cc7f68",
              "status": "affected",
              "version": "f14a1c5a9f830025dc8638303ddefd5f731ae4bc",
              "versionType": "git"
            },
            {
              "lessThan": "23ae34e033b2c0e5e88237af82b163b296fd6aa9",
              "status": "affected",
              "version": "f14a1c5a9f830025dc8638303ddefd5f731ae4bc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/intel/avs/ipc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Fix potential RX buffer overflow\n\nIf an event caused firmware to return invalid RX size for\nLARGE_CONFIG_GET, memcpy_fromio() could end up copying too many bytes.\nFix by utilizing min_t()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The overflow is in the Intel AVS DSP IPC reply path, reached via local ALSA mixer controls (volume get) or driver probe IPC, not via network or adjacent wireless frames.\nAC:L - An attacker who can trigger LARGE_CONFIG_GET causes a deterministic memcpy_fromio overflow whenever the reply size exceeds AVS_MAILBOX_SIZE; no race or other attacker-uncontrollable timing is required.\nPR:L - Unprivileged local users with ordinary audio-device access can invoke avs_control_volume_get \u2192 avs_ipc_get_large_config; real root is not required, and user-namespace CAP_SYS_ADMIN is irrelevant here.\nUI:N - The attacker triggers the vulnerable IPC path through their own ALSA control ioctls; no separate victim action is needed.\nS:U - This is standard kernel heap memory corruption within the host kernel\u0027s security authority, with no VM/IOMMU/sandbox boundary crossed.\nC:H - Out-of-bounds write into the ipc-\u003erx.data heap buffer (up to ~1MB via the 20-bit size field) is memory corruption that can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same heap overflow is an out-of-bounds write that can corrupt adjacent kernel objects and enable control-flow hijacking or privilege escalation.\nA:H - Overflowing the fixed 4096-byte RX buffer readily causes kernel oops/panic or heap corruption crashes when the firmware returns an oversized size."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:58:11.012Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ec1f0c12cb2e614c3fa8e9402f7ffcf82166078a"
        },
        {
          "url": "https://git.kernel.org/stable/c/0bad12fee5ae16ab439d97c66c4238f5f4cc7f68"
        },
        {
          "url": "https://git.kernel.org/stable/c/23ae34e033b2c0e5e88237af82b163b296fd6aa9"
        }
      ],
      "title": "ASoC: Intel: avs: Fix potential RX buffer overflow",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50325",
    "datePublished": "2025-09-15T14:49:19.788Z",
    "dateReserved": "2025-09-15T14:18:36.815Z",
    "dateUpdated": "2026-08-05T08:58:11.012Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…