FKIE_CVE-2026-142903

Vulnerability from fkie_nvd - Published: 2026-12-03 04:18 - Updated: 2026-12-03 04:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: vmaster: Protect follower lookup and setup A control selected by snd_ctl_add_followers() must remain alive until _snd_ctl_add_follower() has copied it and installed its wrapper. The lookup returns a raw pointer without retaining the control, and neither the short-lived list lookup lock nor the fast lookup protects later use. If a kernel client adds followers to a live virtual master while another client removes or replaces a published follower, the following order is possible, with the card and master kept alive: Follower setup Control removal snd_ctl_add_followers() snd_ctl_find_id_mixer() return follower snd_ctl_remove() down_write(controls_rwsem) __snd_ctl_remove() unlink follower snd_ctl_free_one(follower) up_write(controls_rwsem) _snd_ctl_add_follower() read follower->count Removal completes after lookup returns and before setup reads the control. Since setup holds neither controls_rwsem nor a reference, the count read and subsequent control copies can access freed memory. Hold controls_rwsem for writing across the lookup and follower setup. This prevents removal or replacement from freeing the selected control until wrapper installation is complete. Write ownership also excludes control callbacks while setup changes the callback and private fields. KASAN report as below: BUG: KASAN: slab-use-after-free in _snd_ctl_add_follower+0x452/0x520 Read of size 4 at addr ffff888107957d50 by task loadmodule/491 CPU: 3 UID: 0 PID: 491 Comm: loadmodule Tainted: G O 7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy) Tainted: [O]=OOT_MODULE Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x93/0xd0 print_report+0xce/0x630 ? _snd_ctl_add_follower+0x452/0x520 ? srso_alias_return_thunk+0x5/0xfbef5 ? __virt_addr_valid+0x20d/0x410 ? _snd_ctl_add_follower+0x452/0x520 kasan_report+0xe0/0x110 ? _snd_ctl_add_follower+0x452/0x520 _snd_ctl_add_follower+0x452/0x520 snd_ctl_add_followers+0x153/0x2b0 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_snd_ctl_add_followers+0x10/0x10 ? __might_fault+0x135/0x190 ? srso_alias_return_thunk+0x5/0xfbef5 ? __might_fault+0x14e/0x190 ? __pfx_fixture_write+0x10/0x10 [pmbd_vmaster_fixture] fixture_write+0x174/0x1f0 [pmbd_vmaster_fixture] ? __pfx_fixture_write+0x10/0x10 [pmbd_vmaster_fixture] ? __pfx___might_resched+0x10/0x10 proc_reg_write+0x1fb/0x2d0 vfs_write+0x25a/0x1010 ? __pfx_proc_reg_write+0x10/0x10 ? kmem_cache_free+0x242/0x580 ? __pfx_vfs_write+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? putname+0x93/0xe0 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_sys_openat2+0x12a/0x1b0 ? __pfx_do_sys_openat2+0x10/0x10 ksys_write+0x111/0x200 ? __pfx_ksys_write+0x10/0x10 ? irqentry_exit+0xbe/0x820 ? srso_alias_return_thunk+0x5/0xfbef5 do_syscall_64+0x115/0x6a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0b835a9687 Code: 48 89 fa 4c 89 df e8 58 b3 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc82ea0360 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0b83517780 RCX: 00007f0b835a9687 RDX: 0000000000000005 RSI: 0000564f8a21d074 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 000000 ---truncated---
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/core/vmaster.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2b045d1563e1f438198e1d484883c03f16fa5ec9",
              "status": "affected",
              "version": "ae07eb9bf23e1a52cdb28222a71eb014131018d8",
              "versionType": "git"
            },
            {
              "lessThan": "1a78365a74e17dd2afe4c6ae187835879bd9aab5",
              "status": "affected",
              "version": "ae07eb9bf23e1a52cdb28222a71eb014131018d8",
              "versionType": "git"
            },
            {
              "lessThan": "70d4219b6e80058d8cd723e5d250bcf9ba61d0b1",
              "status": "affected",
              "version": "ae07eb9bf23e1a52cdb28222a71eb014131018d8",
              "versionType": "git"
            },
            {
              "lessThan": "2e797cd93185301b1f29c03b12b9943fda7a9b92",
              "status": "affected",
              "version": "ae07eb9bf23e1a52cdb28222a71eb014131018d8",
              "versionType": "git"
            },
            {
              "lessThan": "db2db2dec96e24d067cc5692ac5eec35830ee8d9",
              "status": "affected",
              "version": "ae07eb9bf23e1a52cdb28222a71eb014131018d8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/core/vmaster.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "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.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: vmaster: Protect follower lookup and setup\n\nA control selected by snd_ctl_add_followers() must remain alive until\n_snd_ctl_add_follower() has copied it and installed its wrapper. The\nlookup returns a raw pointer without retaining the control, and neither\nthe short-lived list lookup lock nor the fast lookup protects later use.\n\nIf a kernel client adds followers to a live virtual master while another\nclient removes or replaces a published follower, the following order is\npossible, with the card and master kept alive:\n\n  Follower setup                      Control removal\n  snd_ctl_add_followers()\n    snd_ctl_find_id_mixer()\n      return follower\n                                      snd_ctl_remove()\n                                        down_write(controls_rwsem)\n                                        __snd_ctl_remove()\n                                          unlink follower\n                                          snd_ctl_free_one(follower)\n                                        up_write(controls_rwsem)\n    _snd_ctl_add_follower()\n      read follower-\u003ecount\n\nRemoval completes after lookup returns and before setup reads the\ncontrol. Since setup holds neither controls_rwsem nor a reference, the\ncount read and subsequent control copies can access freed memory.\n\nHold controls_rwsem for writing across the lookup and follower setup.\nThis prevents removal or replacement from freeing the selected control\nuntil wrapper installation is complete. Write ownership also excludes\ncontrol callbacks while setup changes the callback and private fields.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in _snd_ctl_add_follower+0x452/0x520\n    Read of size 4 at addr ffff888107957d50 by task loadmodule/491\n\n    CPU: 3 UID: 0 PID: 491 Comm: loadmodule Tainted: G           O        7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n    Tainted: [O]=OOT_MODULE\n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? _snd_ctl_add_follower+0x452/0x520\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? _snd_ctl_add_follower+0x452/0x520\n     kasan_report+0xe0/0x110\n     ? _snd_ctl_add_follower+0x452/0x520\n     _snd_ctl_add_follower+0x452/0x520\n     snd_ctl_add_followers+0x153/0x2b0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_snd_ctl_add_followers+0x10/0x10\n     ? __might_fault+0x135/0x190\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __might_fault+0x14e/0x190\n     ? __pfx_fixture_write+0x10/0x10 [pmbd_vmaster_fixture]\n     fixture_write+0x174/0x1f0 [pmbd_vmaster_fixture]\n     ? __pfx_fixture_write+0x10/0x10 [pmbd_vmaster_fixture]\n     ? __pfx___might_resched+0x10/0x10\n     proc_reg_write+0x1fb/0x2d0\n     vfs_write+0x25a/0x1010\n     ? __pfx_proc_reg_write+0x10/0x10\n     ? kmem_cache_free+0x242/0x580\n     ? __pfx_vfs_write+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? putname+0x93/0xe0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? do_sys_openat2+0x12a/0x1b0\n     ? __pfx_do_sys_openat2+0x10/0x10\n     ksys_write+0x111/0x200\n     ? __pfx_ksys_write+0x10/0x10\n     ? irqentry_exit+0xbe/0x820\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     do_syscall_64+0x115/0x6a0\n     entry_SYSCALL_64_after_hwframe+0x77/0x7f\n    RIP: 0033:0x7f0b835a9687\n    Code: 48 89 fa 4c 89 df e8 58 b3 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 \u003c5b\u003e c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff\n    RSP: 002b:00007ffc82ea0360 EFLAGS: 00000202 ORIG_RAX: 0000000000000001\n    RAX: ffffffffffffffda RBX: 00007f0b83517780 RCX: 00007f0b835a9687\n    RDX: 0000000000000005 RSI: 0000564f8a21d074 RDI: 0000000000000003\n    RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000\n    R10: 000000\n---truncated---"
    }
  ],
  "id": "CVE-2026-142903",
  "lastModified": "2026-12-03T04:18:29.783",
  "metrics": {},
  "published": "2026-12-03T04:18:29.783",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1a78365a74e17dd2afe4c6ae187835879bd9aab5"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2b045d1563e1f438198e1d484883c03f16fa5ec9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2e797cd93185301b1f29c03b12b9943fda7a9b92"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/70d4219b6e80058d8cd723e5d250bcf9ba61d0b1"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/db2db2dec96e24d067cc5692ac5eec35830ee8d9"
    }
  ],
  "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.