CVE-2026-139273 (GCVE-0-2026-139273)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:33 – Updated: 2026-12-01 05:42
VLAI
Title
ALSA: aloop: Keep shared timer callbacks alive through close
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep shared timer callbacks alive through close The shared sound-timer callback must finish using the selected PCM runtimes before a close can detach them. loopback_snd_timer_period_elapsed() saves the active substreams under cable->lock, then drops the lock before calling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer backend has no per-stream close drain, and free_cable() keeps the timer open when the paired endpoint remains attached. With both directions running on a shared sound timer, playback can be dropped and closed while a notification is pending. Capture keeps the timer alive, allowing this order: Timer callback Playback owner -------------- -------------- select playback under cable->lock unlock; delay notification DROP; HW_FREE -> OPEN close: snd_pcm_drop(); unlock free_cable(); peer stays alive snd_pcm_period_elapsed() lock stream; cache runtime snd_pcm_detach_substream() free runtime and its fasync read runtime->fasync The stream lock taken by snd_pcm_drop() cannot protect a notification that starts after it returns, and detach does not take it. The callback can therefore read runtime->fasync after the runtime has been freed, and an escaped notification can also reach a replacement runtime if the same substream slot is reopened before the notification resumes. Take the existing cable->stop_count reference under cable->lock when selecting the targets and release it after the PCM callbacks finish, including the XRUN path. free_cable() already removes the closing endpoint under that lock and waits for stop_count before returning, so runtime detach and slot reuse cannot overtake the notification.
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: 26c53379f98d22d6a3e50bb146651dc7824334d7 , < b382c8b66c49070b8740e0b14923a1f8339c4555 (git)
Affected: 26c53379f98d22d6a3e50bb146651dc7824334d7 , < e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8 (git)
Affected: 26c53379f98d22d6a3e50bb146651dc7824334d7 , < 8a9c4702b52557f5ce1b98587df18bb0978bc36b (git)
Affected: 26c53379f98d22d6a3e50bb146651dc7824334d7 , < a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.6 , ≤ 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/drivers/aloop.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b382c8b66c49070b8740e0b14923a1f8339c4555",
              "status": "affected",
              "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
              "versionType": "git"
            },
            {
              "lessThan": "e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8",
              "status": "affected",
              "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
              "versionType": "git"
            },
            {
              "lessThan": "8a9c4702b52557f5ce1b98587df18bb0978bc36b",
              "status": "affected",
              "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
              "versionType": "git"
            },
            {
              "lessThan": "a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e",
              "status": "affected",
              "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/drivers/aloop.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "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.12.120",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep shared timer callbacks alive through close\n\nThe shared sound-timer callback must finish using the selected PCM\nruntimes before a close can detach them. loopback_snd_timer_period_elapsed()\nsaves the active substreams under cable-\u003elock, then drops the lock before\ncalling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer\nbackend has no per-stream close drain, and free_cable() keeps the timer\nopen when the paired endpoint remains attached.\n\nWith both directions running on a shared sound timer, playback can be\ndropped and closed while a notification is pending. Capture keeps the\ntimer alive, allowing this order:\n\n  Timer callback                       Playback owner\n  --------------                       --------------\n  select playback under cable-\u003elock\n  unlock; delay notification\n                                       DROP; HW_FREE -\u003e OPEN\n                                       close: snd_pcm_drop(); unlock\n                                       free_cable(); peer stays alive\n  snd_pcm_period_elapsed()\n    lock stream; cache runtime\n                                       snd_pcm_detach_substream()\n                                         free runtime and its fasync\n    read runtime-\u003efasync\n\nThe stream lock taken by snd_pcm_drop() cannot protect a notification\nthat starts after it returns, and detach does not take it. The callback\ncan therefore read runtime-\u003efasync after the runtime has been freed, and\nan escaped notification can also reach a replacement runtime if the same\nsubstream slot is reopened before the notification resumes.\n\nTake the existing cable-\u003estop_count reference under cable-\u003elock when\nselecting the targets and release it after the PCM callbacks finish,\nincluding the XRUN path. free_cable() already removes the closing\nendpoint under that lock and waits for stop_count before returning, so\nruntime detach and slot reuse cannot overtake the notification."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Reached only through local ALSA nodes /dev/snd/pcmC*D*p and pcmC*D*c: the attacker runs both ends of a loopback cable, then DROP/HW_FREE/close() on playback runs loopback_close()-\u003efree_cable() and snd_pcm_detach_substream() while loopback_snd_timer_period_elapsed() is still running. Nothing in the trigger comes from a remote peer.\nAC:H - Needs the non-default snd_timer backend: __loopback_open() only selects loopback_snd_timer_ops when timer_source is set, and that is root-only (0444 module param or root-owned proc file). The race window, from cable-\u003elock unlock to the runtime-\u003efasync read, runs with IRQs off in snd_timer_work and the attacker cannot stretch it.\nPR:L - The attacker only needs to open loopback PCM substreams. /dev/snd nodes are GROUP=audio with uaccess ACLs for the seat user, so an ordinary local user can open a free cable\u0027s playback and capture ends; root is only needed for the admin configuration counted under AC.\nUI:N - The attacker opens, starts, drops and closes their own loopback substreams. No other user has to do anything.\nS:U - The freed snd_pcm_runtime and the code reading it are both in the same kernel; no VM, IOMMU or sandbox boundary is crossed.\nC:H - snd_pcm_period_elapsed_under_stream_lock() reads runtime-\u003estate and runtime-\u003efasync from a kfree\u0027d snd_pcm_runtime. If that memory is reused with forged contents, the attacker controls which pointers the kernel dereferences next.\nI:H - A forged runtime-\u003efasync reaches snd_kill_fasync(), which writes -\u003esignal/-\u003epoll and does a list_move with attacker-chosen pointers. A forged RUNNING state reaches snd_pcm_update_hw_ptr0(), which writes through runtime-\u003estatus. Both are kernel write primitives.\nA:H - Dereferencing the freed runtime, or a freed snd_fasync, from the snd_timer kworker with IRQs off can oops or panic the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:42:05.964Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b382c8b66c49070b8740e0b14923a1f8339c4555"
        },
        {
          "url": "https://git.kernel.org/stable/c/e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a9c4702b52557f5ce1b98587df18bb0978bc36b"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e"
        }
      ],
      "title": "ALSA: aloop: Keep shared timer callbacks alive through close",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139273",
    "datePublished": "2026-11-30T13:33:13.763Z",
    "dateReserved": "2026-11-30T13:22:15.924Z",
    "dateUpdated": "2026-12-01T05:42:05.964Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139273",
      "date": "2026-12-04",
      "epss": "0.0017",
      "percentile": "0.06685"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:17:32.000Z",
      "cve": "CVE-2026-139273",
      "id": "msrc_CVE-2026-139273",
      "initial_release_date": "2026-12-02T01:13:35.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ALSA: aloop: Keep shared timer callbacks alive through close",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-139273.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "sound/drivers/aloop.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "b382c8b66c49070b8740e0b14923a1f8339c4555",
                    "status": "affected",
                    "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8",
                    "status": "affected",
                    "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8a9c4702b52557f5ce1b98587df18bb0978bc36b",
                    "status": "affected",
                    "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e",
                    "status": "affected",
                    "version": "26c53379f98d22d6a3e50bb146651dc7824334d7",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "sound/drivers/aloop.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.5"
                  },
                  {
                    "lessThan": "5.5",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.120",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "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: aloop: Keep shared timer callbacks alive through close\n\nThe shared sound-timer callback must finish using the selected PCM\nruntimes before a close can detach them. loopback_snd_timer_period_elapsed()\nsaves the active substreams under cable-\u003elock, then drops the lock before\ncalling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer\nbackend has no per-stream close drain, and free_cable() keeps the timer\nopen when the paired endpoint remains attached.\n\nWith both directions running on a shared sound timer, playback can be\ndropped and closed while a notification is pending. Capture keeps the\ntimer alive, allowing this order:\n\n  Timer callback                       Playback owner\n  --------------                       --------------\n  select playback under cable-\u003elock\n  unlock; delay notification\n                                       DROP; HW_FREE -\u003e OPEN\n                                       close: snd_pcm_drop(); unlock\n                                       free_cable(); peer stays alive\n  snd_pcm_period_elapsed()\n    lock stream; cache runtime\n                                       snd_pcm_detach_substream()\n                                         free runtime and its fasync\n    read runtime-\u003efasync\n\nThe stream lock taken by snd_pcm_drop() cannot protect a notification\nthat starts after it returns, and detach does not take it. The callback\ncan therefore read runtime-\u003efasync after the runtime has been freed, and\nan escaped notification can also reach a replacement runtime if the same\nsubstream slot is reopened before the notification resumes.\n\nTake the existing cable-\u003estop_count reference under cable-\u003elock when\nselecting the targets and release it after the PCM callbacks finish,\nincluding the XRUN path. free_cable() already removes the closing\nendpoint under that lock and waits for stop_count before returning, so\nruntime detach and slot reuse cannot overtake the notification."
          }
        ],
        "id": "CVE-2026-139273",
        "lastModified": "2026-12-01T06:17:40.827",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.0,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:50.120",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8a9c4702b52557f5ce1b98587df18bb0978bc36b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b382c8b66c49070b8740e0b14923a1f8339c4555"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T08:31:42+00:00",
      "cve": "CVE-2026-139273",
      "id": "CVE-2026-139273",
      "initial_release_date": "2026-11-30T13:33:13.763000+00:00",
      "product_status:known_affected": "252",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in ALSA loopback driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139273.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.