# CVE-2026-142909: ALSA: vmaster: Serialize hook registration with control callbacks

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:25:53.382Z
- **Modified:** 2026-12-03T04:18:30.690Z

> **AI summary (AI-generated, claude-haiku-5-5):** A local attacker can trigger a NULL pointer dereference in the Linux kernel ALSA vmaster hook by racing a native control write against hook registration, crashing the system.

## Who should check

- Anyone running Linux \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< dad9ecc05e53f1dca7d47124f03b223b2f3a3828; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< af75e181711154fe92bf483210011a44bfc40161; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 5027de87bee94e60652541720ddcb42c9d7affda; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7bea850e0212042c35adb7f09dd9df139e621f1f; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7d67530f3bf01fa917f5d6effc86160c1140116c; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< b6564204d6ee1430735ffad8d4028554033649de; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1; e35facb7a9bb47ba4335b14cb73f079b7cf5b25d; 4453c82b204f8ba4d3c107f04bd4f83c3132bde6; 5de7565b4e5cf5e5e21027968d3a9bdad23c162c; …
- Anyone running Linux 4.1

## Description

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

ALSA: vmaster: Serialize hook registration with control callbacks

An HDA virtual-master hook must have its private argument initialized
before a control callback can invoke it. snd\_hda\_add\_vmaster\_hook()
installs the trampoline through snd\_ctl\_add\_vmaster\_hook(), which stores
master-\>hook before master-\>hook\_private\_data without serialization.

When a codec with a vmaster mute hook binds to an already registered
card, snd\_hda\_gen\_build\_controls() publishes and initializes the Master
Playback Switch before installing the hook. A native write that changes
the switch can then run in the following order:

  1. The codec bind path publishes and initializes the master control in
     \_\_snd\_hda\_add\_vmaster(), then calls snd\_hda\_add\_vmaster\_hook().
  2. The hook setter stores master-\>hook, but has not yet stored its
     private argument.
  3. SNDRV\_CTL\_IOCTL\_ELEM\_WRITE takes controls\_rwsem and calls
     master\_put() while the setter remains between those stores.
  4. master\_put() sees the callback and invokes vmaster\_hook() with a
     NULL argument. The trampoline dereferences it before the setter
     can complete publication.

The write lock held by snd\_ctl\_elem\_write() does not exclude the hook
setter, so this can cause a NULL pointer dereference. Take the same
controls\_rwsem for writing inside snd\_ctl\_add\_vmaster\_hook() so the
callback and its argument are installed together with respect to
native control callbacks. Pass the card into the helper and update
the HDA caller, keeping the lock in the ALSA core. Release it when
registration returns, before the caller synchronizes the hook.

KASAN report as below:

    Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 \[\#1\] SMP KASAN NOPTI
    KASAN: null-ptr-deref in range \[0x0000000000000008-0x000000000000000f\]
    CPU: 1 UID: 0 PID: 499 Comm: alsa-vmaster-tr Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ \#1 PREEMPT(lazy)
    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
    RIP: 0010:vmaster\_hook+0x35/0xb0
    Code: f5 53 48 89 fb 48 83 ec 08 e8 57 f0 9a fc eb 50 e8 50 f0 9a fc 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 \<80\> 3c 02 00 75 59 48 8d 7b 10 48 8b 43 08 48 ba 00 00 00 00 00 fc
    RSP: 0018:ffff888117647cd0 EFLAGS: 00010212
    RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff84e9ff50
    RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008
    RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001
    R10: ffffffff89427457 R11: ffff888115ad1d00 R12: ffffffff84e9ff30
    R13: ffff888114943ca0 R14: 0000000000000000 R15: 0000000000000001
    FS:  00007fe8167b3780(0000) GS:ffff88826b7e3000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 0000557c8c2842a8 CR3: 000000011579f005 CR4: 0000000000770ef0
    PKRU: 55555554
    Call Trace:
     \<TASK\>
     master\_put+0x20e/0x2b0
     snd\_ctl\_elem\_write+0x37f/0x5e0
     snd\_ctl\_ioctl+0x997/0xdd0
     ? \_\_pfx\_snd\_ctl\_ioctl+0x10/0x10
     ? srso\_alias\_return\_thunk+0x5/0xfbef5
     ? selinux\_file\_ioctl+0xaa/0x280
     ? \_\_pfx\_snd\_ctl\_ioctl+0x10/0x10
     \_\_x64\_sys\_ioctl+0x163/0x1d0
     do\_syscall\_64+0x115/0x6a0
     entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
    RIP: 0033:0x7fe8168c291b
    Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 \<89\> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
    RSP: 002b:00007fffab0cb150 EFLAGS: 00000246 ORIG\_RAX: 0000000000000010
    RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe8168c291b
    RDX: 00007fffab0cb310 RSI: 00000000c4c85513 RDI: 0000000000000003
    RBP: 00007fffab0cb310 R08: 0000000000000000 R09: 0000000000000000
    R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
    R13: 00007fff
---truncated---

## Affected and fixed versions

- Linux: \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< dad9ecc05e53f1dca7d47124f03b223b2f3a3828; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< af75e181711154fe92bf483210011a44bfc40161; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 5027de87bee94e60652541720ddcb42c9d7affda; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7bea850e0212042c35adb7f09dd9df139e621f1f; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7d67530f3bf01fa917f5d6effc86160c1140116c; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< b6564204d6ee1430735ffad8d4028554033649de; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1; e35facb7a9bb47ba4335b14cb73f079b7cf5b25d; 4453c82b204f8ba4d3c107f04bd4f83c3132bde6; 5de7565b4e5cf5e5e21027968d3a9bdad23c162c; … (cvelist)
- Linux: 4.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142909. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142909.md
Affected: Linux >= ee52e56e7b12834476cd0031c5986254ba1b6317, < dad9ecc05e53f1dca7d47124f03b223b2f3a3828; >= ee52e56e7b12834476cd0031c5986254ba1b6317, < af75e181711154fe92bf483210011a44bfc40161; >= ee52e56e7b12834476cd0031c5986254ba1b6317, < 5027de87bee94e60652541720ddcb42c9d7affda; >= ee52e56e7b12834476cd003…
Fixed in: Linux 5027de87bee94e60652541720ddcb42c9d7affda, Linux 7bea850e0212042c35adb7f09dd9df139e621f1f, Linux 7d67530f3bf01fa917f5d6effc86160c1140116c, Linux 6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142909 being exploited?

There is no confirmed exploitation: CVE-2026-142909 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142909?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142909?

Linux \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< dad9ecc05e53f1dca7d47124f03b223b2f3a3828; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< af75e181711154fe92bf483210011a44bfc40161; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 5027de87bee94e60652541720ddcb42c9d7affda; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7bea850e0212042c35adb7f09dd9df139e621f1f; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 7d67530f3bf01fa917f5d6effc86160c1140116c; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< b6564204d6ee1430735ffad8d4028554033649de; \>= ee52e56e7b12834476cd0031c5986254ba1b6317, \< 6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1; e35facb7a9bb47ba4335b14cb73f079b7cf5b25d; 4453c82b204f8ba4d3c107f04bd4f83c3132bde6; 5de7565b4e5cf5e5e21027968d3a9bdad23c162c; …; Linux 4.1.

### Is there a fix for CVE-2026-142909?

Yes. Fixed in Linux 5027de87bee94e60652541720ddcb42c9d7affda, Linux 7bea850e0212042c35adb7f09dd9df139e621f1f, Linux 7d67530f3bf01fa917f5d6effc86160c1140116c, Linux 6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142909?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/dad9ecc05e53f1dca7d47124f03b223b2f3a3828>
- other: <https://git.kernel.org/stable/c/af75e181711154fe92bf483210011a44bfc40161>
- other: <https://git.kernel.org/stable/c/5027de87bee94e60652541720ddcb42c9d7affda>
- other: <https://git.kernel.org/stable/c/7bea850e0212042c35adb7f09dd9df139e621f1f>
- other: <https://git.kernel.org/stable/c/7d67530f3bf01fa917f5d6effc86160c1140116c>
- other: <https://git.kernel.org/stable/c/b6564204d6ee1430735ffad8d4028554033649de>
- other: <https://git.kernel.org/stable/c/6215cf3ff5b0ff1ca5ab66b79021f9e28b02eae1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142909>

HTML: <https://flawdb.com/CVE-2026-142909> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142909>
