CVE-2026-100016 (GCVE-0-2026-100016)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:23 – Updated: 2026-12-02 09:25
VLAI
Title
ALSA: compress: reject buffer geometry change on gapless next_track
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: compress: reject buffer geometry change on gapless next_track snd_compr_set_params() is invoked from the gapless next_track re-entry path, which calls snd_compr_allocate_buffer() again and lets buffer_size change while total_bytes_available and total_bytes_transferred still hold values computed for the previous buffer. snd_compr_calc_avail() then derives an avail/count value from those stale counters against the new buffer_size, and snd_compr_write_data() copy_from_user()s that many bytes into the new, potentially smaller buffer, overflowing it with user-controlled length and content. The buffer is set up once, with the initial SET_PARAMS, and neither the core nor the DSP expects it to change for a gapless track transition. Do not call snd_compr_allocate_buffer() on the next_track path and reject a request that changes the buffer geometry, so that the codec parameters that the driver receives match the buffer in use.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 , < 6233b4879c0a71b00791f57964bc1fd2623309c1 (git)
Affected: 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 , < 04bb6a7e76313046a3f5bd05862f9ab4ac2b503e (git)
Affected: 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 , < bda1fb7c15d9c7a293cc974d0325125ec577992a (git)
Affected: 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 , < eadf0118ab295a5a2556388f13df6bec1615e556 (git)
Affected: 7ea9ee0064281ef630e038f8dd2f6e8f4030a696 , < 82da1acad6fd60b6072dd5f3383e6a55efdd2ac7 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.5
Unaffected: 0 , < 6.5 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/core/compress_offload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6233b4879c0a71b00791f57964bc1fd2623309c1",
              "status": "affected",
              "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
              "versionType": "git"
            },
            {
              "lessThan": "04bb6a7e76313046a3f5bd05862f9ab4ac2b503e",
              "status": "affected",
              "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
              "versionType": "git"
            },
            {
              "lessThan": "bda1fb7c15d9c7a293cc974d0325125ec577992a",
              "status": "affected",
              "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
              "versionType": "git"
            },
            {
              "lessThan": "eadf0118ab295a5a2556388f13df6bec1615e556",
              "status": "affected",
              "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
              "versionType": "git"
            },
            {
              "lessThan": "82da1acad6fd60b6072dd5f3383e6a55efdd2ac7",
              "status": "affected",
              "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/core/compress_offload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: compress: reject buffer geometry change on gapless next_track\n\nsnd_compr_set_params() is invoked from the gapless next_track\nre-entry path, which calls snd_compr_allocate_buffer() again and lets\nbuffer_size change while total_bytes_available and\ntotal_bytes_transferred still hold values computed for the previous\nbuffer. snd_compr_calc_avail() then derives an avail/count value from\nthose stale counters against the new buffer_size, and\nsnd_compr_write_data() copy_from_user()s that many bytes into the\nnew, potentially smaller buffer, overflowing it with user-controlled\nlength and content.\n\nThe buffer is set up once, with the initial SET_PARAMS, and neither the\ncore nor the DSP expects it to change for a gapless track transition.\nDo not call snd_compr_allocate_buffer() on the next_track path and\nreject a request that changes the buffer geometry, so that the codec\nparameters that the driver receives match the buffer in use."
        }
      ],
      "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 bad geometry comes from the local user\u0027s second SNDRV_COMPRESS_SET_PARAMS ioctl after SNDRV_COMPRESS_NEXT_TRACK on /dev/snd/comprCxDy. It reaches snd_compr_set_params() and then snd_compr_allocate_buffer(), and the overflow fires on the next write() of that fd. No remote or physical input is involved.\nAC:L - This assumes a board whose Qualcomm q6asm/q6apm compress DAI accepts SND_COMPR_TRIGGER_NEXT_TRACK (e.g. db845c, rb5, msm8916). On it, the attacker runs SET_PARAMS (large), write, START, SET_METADATA, NEXT_TRACK, then SET_PARAMS (tiny). The stale total_bytes_available/transferred counters exceed the new buffer_size, so the u64 subtraction in snd_compr_calc_avail() wraps. Every step is the attacker\u0027s own.\nPR:L - snd_compr_open() and snd_compr_ioctl() have no capable() check. Access is gated only by the comprC*D* node permissions (audio group or the logind uaccess ACL for the seat user). That makes it a low-privileged local user, not root, and user namespaces give no extra reach.\nUI:N - The attacker opens the device, drives the gapless state machine and issues the overflowing write() on their own file descriptor. No other user or administrator has to do anything.\nS:U - The overflow corrupts kernel memory next to the compress DMA buffer in the same kernel that enforces the attacker\u0027s privileges. This is conventional local privilege escalation with no VM, TEE or IOMMU boundary crossed.\nC:H - Because avail wraps, q6asm_compr_copy()/q6apm_compr_copy() copy_from_user() the full write() count into prtd-\u003edma_buffer.area with no clamp. That is an out-of-bounds write past the 8 MiB buffer, with length and bytes chosen by the attacker, which can be used to corrupt neighbouring kernel objects and build read primitives.\nI:H - The second copy_from_user() writes count minus copy attacker-chosen bytes from the start of the DMA buffer, so an oversized write() runs linearly past its end. This is an unbounded heap-style overflow usable for control-flow hijack or privilege escalation.\nA:H - Running past the DMA allocation into a vmap guard page, or tripping a hardened-usercopy abort, oopses the kernel. On copy-less drivers each NEXT_TRACK re-entry also leaks the old kmalloc\u0027d buffer that snd_compr_allocate_buffer() replaces."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-02T09:25:11.383Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6233b4879c0a71b00791f57964bc1fd2623309c1"
        },
        {
          "url": "https://git.kernel.org/stable/c/04bb6a7e76313046a3f5bd05862f9ab4ac2b503e"
        },
        {
          "url": "https://git.kernel.org/stable/c/bda1fb7c15d9c7a293cc974d0325125ec577992a"
        },
        {
          "url": "https://git.kernel.org/stable/c/eadf0118ab295a5a2556388f13df6bec1615e556"
        },
        {
          "url": "https://git.kernel.org/stable/c/82da1acad6fd60b6072dd5f3383e6a55efdd2ac7"
        }
      ],
      "title": "ALSA: compress: reject buffer geometry change on gapless next_track",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-100016",
    "datePublished": "2026-11-30T13:23:06.352Z",
    "dateReserved": "2026-09-25T10:25:14.453Z",
    "dateUpdated": "2026-12-02T09:25:11.383Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-100016",
      "date": "2026-12-04",
      "epss": "0.00175",
      "percentile": "0.07316"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:02:26.000Z",
      "cve": "CVE-2026-100016",
      "id": "msrc_CVE-2026-100016",
      "initial_release_date": "2026-12-02T01:02:26.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ALSA: compress: reject buffer geometry change on gapless next_track",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-100016.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "sound/core/compress_offload.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6233b4879c0a71b00791f57964bc1fd2623309c1",
                    "status": "affected",
                    "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "04bb6a7e76313046a3f5bd05862f9ab4ac2b503e",
                    "status": "affected",
                    "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bda1fb7c15d9c7a293cc974d0325125ec577992a",
                    "status": "affected",
                    "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "eadf0118ab295a5a2556388f13df6bec1615e556",
                    "status": "affected",
                    "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "82da1acad6fd60b6072dd5f3383e6a55efdd2ac7",
                    "status": "affected",
                    "version": "7ea9ee0064281ef630e038f8dd2f6e8f4030a696",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "sound/core/compress_offload.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.5"
                  },
                  {
                    "lessThan": "6.5",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: compress: reject buffer geometry change on gapless next_track\n\nsnd_compr_set_params() is invoked from the gapless next_track\nre-entry path, which calls snd_compr_allocate_buffer() again and lets\nbuffer_size change while total_bytes_available and\ntotal_bytes_transferred still hold values computed for the previous\nbuffer. snd_compr_calc_avail() then derives an avail/count value from\nthose stale counters against the new buffer_size, and\nsnd_compr_write_data() copy_from_user()s that many bytes into the\nnew, potentially smaller buffer, overflowing it with user-controlled\nlength and content.\n\nThe buffer is set up once, with the initial SET_PARAMS, and neither the\ncore nor the DSP expects it to change for a gapless track transition.\nDo not call snd_compr_allocate_buffer() on the next_track path and\nreject a request that changes the buffer geometry, so that the codec\nparameters that the driver receives match the buffer in use."
          }
        ],
        "id": "CVE-2026-100016",
        "lastModified": "2026-12-02T10:17:10.460",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:15.643",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/04bb6a7e76313046a3f5bd05862f9ab4ac2b503e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6233b4879c0a71b00791f57964bc1fd2623309c1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/82da1acad6fd60b6072dd5f3383e6a55efdd2ac7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bda1fb7c15d9c7a293cc974d0325125ec577992a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/eadf0118ab295a5a2556388f13df6bec1615e556"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T06:04:21+00:00",
      "cve": "CVE-2026-100016",
      "id": "CVE-2026-100016",
      "initial_release_date": "2026-11-30T13:23:06.352000+00:00",
      "product_status:known_affected": "266",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: privilege escalation via buffer overflow in ALSA compress subsystem",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100016.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.