{
  "id": "CVE-2026-97910",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-97910",
  "published_at": "2026-09-25T10:22:34.043Z",
  "title": "ASoC: sprd: validate compress buffer sizes against fixed allocations",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: sprd: validate compress buffer sizes against fixed allocations\n\nsprd_platform_compr_open() allocates the stage 0 IRAM buffer (32K data\narea) and the stage 1 DDR buffer (2M data area) with fixed sizes, but\nsprd_platform_compr_copy() derives all copy lengths from the user\ncontrolled runtime-\u003efragment_size and the write() count, never\ncomparing them against the physical buffer sizes. The compress core\nonly checks fragment_size * fragments for an u32 overflow in\nsnd_compress_check_input(), so a local user can configure a logical\nbuffer of up to ~4GB via SNDRV_COMPRESS_SET_PARAMS, far exceeding the\nfixed allocations.\n\nA fragment_size larger than the 32K IRAM data area makes the stage 0\ncopy_from_user() overflow past the IRAM allocation, and a buffer_size\nlarger than the 2M DDR buffer makes the wrapping copy at the end of\nsprd_platform_compr_copy() write fully user controlled data past the\nbuffer. No SNDRV_PCM_TRIGGER_START is needed, a write() in SETUP\nstate reaches the copy callback directly.\n\nReject parameters that do not fit into the fixed buffers in\nset_params(), and fix the advertised max fragment size: 128K never\nfitted into the 32K IRAM buffer. The caps values may have been carried over\nfrom the qdsp6 driver, which allocates its buffers according to the\nadvertised maxima, unlike this driver. With 32K as max fragment size\nthe advertised limits are self-consistent: 32K * 64 = 2M equals the\nDDR buffer size.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 2fada8276117215407afd1f59de5d2fe22aff01f",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c ad796a1bc1875da2ebb616ea9bc1f2994273fd02",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 1467e3989c6edf79d3898c78aa47027f31ee5acb",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 38a9bb5221bcdece5507299f739c6751d8fc16b2",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c ff63b0adc4f6a5b61c8393d204fac44c594c4d39",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 8064b73997f137c00a7e2e38295a763f9423928b",
          "\u003e= cce1396936ef2b347d622b4d49718818eb32029d, \u003c 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751"
        ],
        "fixed_in": [
          "2fada8276117215407afd1f59de5d2fe22aff01f",
          "ad796a1bc1875da2ebb616ea9bc1f2994273fd02",
          "2e27144ba4b98bb3eb14aaccd4b088e2e69844e3",
          "1467e3989c6edf79d3898c78aa47027f31ee5acb",
          "38a9bb5221bcdece5507299f739c6751d8fc16b2",
          "ff63b0adc4f6a5b61c8393d204fac44c594c4d39",
          "8064b73997f137c00a7e2e38295a763f9423928b",
          "7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.2"
        ],
        "fixed_in": [
          "0",
          "5.10.271",
          "5.15.222",
          "6.1.189",
          "6.6.158",
          "6.12.111",
          "6.18.53",
          "7.2.7",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2fada8276117215407afd1f59de5d2fe22aff01f or ad796a1bc1875da2ebb616ea9bc1f2994273fd02 or 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3 or 1467e3989c6edf79d3898c78aa47027f31ee5acb or 38a9bb5221bcdece5507299f739c6751d8fc16b2 or ff63b0adc4f6a5b61c8393d204fac44c594c4d39 or 8064b73997f137c00a7e2e38295a763f9423928b or 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751 or later.",
      "Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
