CVE-2026-142903: ALSA: vmaster: Protect follower lookup and setup

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ALSA: vmaster: Protect follower lookup and setup

A control selected by sndctladdfollowers() must remain alive until sndctladdfollower() 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 sndctladdfollowers() sndctlfindidmixer() return follower sndctlremove() downwrite(controlsrwsem) sndctlremove() unlink follower sndctlfreeone(follower) upwrite(controlsrwsem) sndctladdfollower() read follower->count

Removal completes after lookup returns and before setup reads the control. Since setup holds neither controlsrwsem nor a reference, the count read and subsequent control copies can access freed memory.

Hold controlsrwsem 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 sndctladdfollower+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]=OOTMODULE Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, archcaps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <TASK> dumpstacklvl+0x93/0xd0 printreport+0xce/0x630 ? sndctladdfollower+0x452/0x520 ? srsoaliasreturnthunk+0x5/0xfbef5 ? virtaddrvalid+0x20d/0x410 ? sndctladdfollower+0x452/0x520 kasanreport+0xe0/0x110 ? sndctladdfollower+0x452/0x520 sndctladdfollower+0x452/0x520 sndctladdfollowers+0x153/0x2b0 ? srsoaliasreturnthunk+0x5/0xfbef5 ? pfxsndctladdfollowers+0x10/0x10 ? mightfault+0x135/0x190 ? srsoaliasreturnthunk+0x5/0xfbef5 ? mightfault+0x14e/0x190 ? pfxfixturewrite+0x10/0x10 [pmbdvmasterfixture] fixturewrite+0x174/0x1f0 [pmbdvmasterfixture] ? pfxfixturewrite+0x10/0x10 [pmbdvmasterfixture] ? pfxmightresched+0x10/0x10 procregwrite+0x1fb/0x2d0 vfswrite+0x25a/0x1010 ? pfxprocregwrite+0x10/0x10 ? kmemcachefree+0x242/0x580 ? pfxvfswrite+0x10/0x10 ? srsoaliasreturnthunk+0x5/0xfbef5 ? putname+0x93/0xe0 ? srsoaliasreturnthunk+0x5/0xfbef5 ? dosysopenat2+0x12a/0x1b0 ? pfxdosysopenat2+0x10/0x10 ksyswrite+0x111/0x200 ? pfxksyswrite+0x10/0x10 ? irqentryexit+0xbe/0x820 ? srsoaliasreturnthunk+0x5/0xfbef5 dosyscall64+0x115/0x6a0 entrySYSCALL64afterhwframe+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 ORIGRAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0b83517780 RCX: 00007f0b835a9687 RDX: 0000000000000005 RSI: 0000564f8a21d074 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 000000 ---truncated---

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  5. Compensating control

    Hold controls_rwsem for writing across follower lookup and setup, until wrapper installation is complete.

Event History

Dec 3, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
Description
Data Sourced
via OSV·03:25 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

A kernel client must add followers to a live virtual master while another client concurrently removes or replaces a published follower. The card and master must remain alive during this race.

2

What operation makes the race unsafe?

The follower lookup returns a raw control pointer without retaining it, and follower setup later uses that pointer without holding controls_rwsem or a reference. A concurrent removal can free the control between lookup and setup, causing use-after-free access.

3

What is the implemented fix?

The fix holds controls_rwsem for writing across both the follower lookup and follower setup. This prevents concurrent removal or replacement from freeing the selected control during setup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203