FKIE_CVE-2026-139272

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep the timer source alive until card release The timer_source string must remain valid while PCM opens can select and parse it. loopback_set_timer_source() allocates the string with parent-device devres, which can release it while the card is still registered. A successful nonempty proc replacement after snd_card_register() adds the string allocation after trigger_card_free. Unbinding the platform device while snd_aloop remains loaded releases devres in reverse order. An open for an unused cable can run after the string is freed and before the card-free action disconnects the card: Device unbind PCM open devres_release_all() free replacement string snd_pcm_open() snd_card_file_add() loopback_open() loopback_snd_timer_open() loopback_parse_timer_id() trigger_card_free() snd_card_free() snd_card_disconnect() The parser can then read freed memory. KASAN has reported a one-byte use-after-free read in strchr() from loopback_snd_timer_open(). The cable_lock mutex serializes explicit replacements with opens, but implicit devres release does not take it. The card and module references held by PCM open do not retain this separate devres allocation. Use kstrdup() and release the current string from card->private_free. PCM admission already retains the card until each file is removed, and card disconnect drains proc callbacks before final card release. This keeps the string alive across admitted PCM opens and preserves the cable_lock serialization of replacements. Install the callback before the initial allocation so probe failures also release the string.
Impacted products
Vendor Product Version

{
  "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": "8f57c5ab66c0f49e59d6f16faec8de0a26593703",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "50e96965800a02b8cc4c2e258d0fa567f8af9d9e",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "d73a508a2b63d354c85b1dd6db9c24671486908d",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "197566fbd8aac63a8df8aa6d7b213471de05f57f",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "1cd36f545a9195280662feb245b50f2f2bda9b76",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "versionType": "git"
            },
            {
              "lessThan": "762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea",
              "status": "affected",
              "version": "b072e65aadd683e75518150c609ae29b5d33fe0c",
              "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.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "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 the timer source alive until card release\n\nThe timer_source string must remain valid while PCM opens can select\nand parse it. loopback_set_timer_source() allocates the string with\nparent-device devres, which can release it while the card is still\nregistered.\n\nA successful nonempty proc replacement after snd_card_register() adds\nthe string allocation after trigger_card_free. Unbinding the platform\ndevice while snd_aloop remains loaded releases devres in reverse order.\nAn open for an unused cable can run after the string is freed and before\nthe card-free action disconnects the card:\n\n  Device unbind                      PCM open\n  devres_release_all()\n    free replacement string\n                                     snd_pcm_open()\n                                       snd_card_file_add()\n                                       loopback_open()\n                                         loopback_snd_timer_open()\n                                           loopback_parse_timer_id()\n    trigger_card_free()\n      snd_card_free()\n        snd_card_disconnect()\n\nThe parser can then read freed memory. KASAN has reported a one-byte\nuse-after-free read in strchr() from loopback_snd_timer_open(). The\ncable_lock mutex serializes explicit replacements with opens, but\nimplicit devres release does not take it. The card and module references\nheld by PCM open do not retain this separate devres allocation.\n\nUse kstrdup() and release the current string from card-\u003eprivate_free.\nPCM admission already retains the card until each file is removed, and\ncard disconnect drains proc callbacks before final card release. This\nkeeps the string alive across admitted PCM opens and preserves the\ncable_lock serialization of replacements. Install the callback before\nthe initial allocation so probe failures also release the string."
    }
  ],
  "id": "CVE-2026-139272",
  "lastModified": "2026-11-30T14:18:49.973",
  "metrics": {},
  "published": "2026-11-30T14:18:49.973",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/197566fbd8aac63a8df8aa6d7b213471de05f57f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1cd36f545a9195280662feb245b50f2f2bda9b76"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/50e96965800a02b8cc4c2e258d0fa567f8af9d9e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8f57c5ab66c0f49e59d6f16faec8de0a26593703"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d73a508a2b63d354c85b1dd6db9c24671486908d"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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.