# CVE-2026-142915: ALSA: timer: Pin the module for userspace timer controllers

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

> **AI summary (AI-generated, claude-haiku-5-5):** A local user can crash the Linux kernel or use freed module memory by racing a userspace ALSA timer controller's release against unloading the snd-timer module.

## Who should check

- Anyone running Linux \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 29227cae1f938195d15c972400dd6fff0bdb384f; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f778841f396c3cca0193641b1af973864efe9028; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< c18c8a83b95435cc32d87f3b91fed1c18f785313; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f9e882ac8257bc55a8c99399e504e434d9e72eb9
- Anyone running Linux 6.12

## Description

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

ALSA: timer: Pin the module for userspace timer controllers

The static snd\_utimer\_ids IDA must remain live until a userspace timer
controller has returned its ID. However, snd\_utimer\_fops has no owner,
so anon\_inode\_getfd() does not take a reference to snd-timer for the
controller file.

With CONFIG\_SND\_TIMER=m and CONFIG\_SND\_UTIMER=y, userspace can create a
controller with SNDRV\_TIMER\_IOCTL\_CREATE and close the native timer
file. If no timer instances or dependent modules retain snd-timer,
ordinary module unload can then overlap the controller's final release:

  Controller final release              Module unload
  snd\_utimer\_release()
    snd\_utimer\_free()
      snd\_timer\_free(): unlink provider
      snd\_utimer\_put\_id()
        enter ida\_free()
                                        delete\_module()
                                          alsa\_timer\_exit()
                                          free\_module(): free MOD\_DATA
        access snd\_utimer\_ids.xa

The provider is already absent from snd\_timer\_free\_all() when unload
runs. Neither register\_mutex nor the IDA's lock keeps module storage
resident through the remaining IDA access. That access can therefore
use freed module data and fault while acquiring the XArray lock, as
shown in the Oops below.

Set snd\_utimer\_fops.owner to THIS\_MODULE so anonymous-file creation
takes the existing module reference. The VFS drops it only after
snd\_utimer\_release() returns, keeping the IDA resident through
ida\_free() and preventing ordinary unload during that interval.

Oops report as below:

    BUG: unable to handle page fault for address: fffffbfff80480af
    \#PF: supervisor read access in kernel mode
    \#PF: error\_code(0x0000) - not-present page
    PGD 1a7ff6067 P4D 1a7ff6067 PUD 1a7ff2067 PMD 100ad6067 PTE 0
    Oops: Oops: 0000 \[\#1\] SMP KASAN NOPTI
    CPU: 0 UID: 0 PID: 485 Comm: alsa-utimer-fix 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
    RIP: 0010:kasan\_byte\_accessible+0x15/0x30
    Code: 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 48 b8 00 00 00 00 00 fc ff df 48 c1 ef 03 48 01 c7 \<0f\> b6 07 3c 07 0f 96 c0 e9 69 f1 2b ff 66 66 2e 0f 1f 84 00 00 00
    RSP: 0018:ffff88811a457c48 EFLAGS: 00010086
    RAX: dffffc0000000000 RBX: ffffffffc0240578 RCX: 0000000000000000
    RDX: 0000000000000000 RSI: ffffffff861f111c RDI: fffffbfff80480af
    RBP: ffffffffc0240578 R08: 0000000000000001 R09: 0000000000000000
    R10: ffffffff891cc057 R11: ffff88811531ba00 R12: ffffffff861f111c
    R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
    FS:  00007ff190ff7780(0000) GS:ffff8881fda2a000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: fffffbfff80480af CR3: 0000000116890003 CR4: 0000000000770ef0
    PKRU: 55555554
    Call Trace:
     \<TASK\>
     \_\_kasan\_check\_byte+0x13/0x50
     lock\_acquire+0x113/0x2f0
     ? \_\_pfx\_pmbd\_probe\_hit\_cookie+0x10/0x10
     ? lock\_release+0xc8/0x280
     ? srso\_alias\_return\_thunk+0x5/0xfbef5
     \_raw\_spin\_lock\_irqsave+0x3c/0x60
     ? ida\_free+0xd4/0x2b0
     ida\_free+0xd4/0x2b0
     ? \_\_pfx\_ida\_free+0x10/0x10
     ? srso\_alias\_return\_thunk+0x5/0xfbef5
     ? \_\_pfx\_locks\_remove\_file+0x10/0x10
     ? \_\_fput+0x39f/0xa60
     ? fput\_close\_sync+0xff/0x200
     ? \_\_pfx\_fput\_close\_sync+0x10/0x10
     ? dnotify\_flush+0x22/0x4b0
     ? \_\_x64\_sys\_close+0x8c/0xf0
     ? do\_syscall\_64+0x115/0x6a0
     ? entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
     \</TASK\>
    Modules linked in: snd(O) \[last unloaded: snd\_timer(O)\]
    CR2: fffffbfff80480af
    ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 29227cae1f938195d15c972400dd6fff0bdb384f; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f778841f396c3cca0193641b1af973864efe9028; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< c18c8a83b95435cc32d87f3b91fed1c18f785313; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f9e882ac8257bc55a8c99399e504e434d9e72eb9 (cvelist)
- Linux: 6.12 (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-142915. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142915.md
Affected: Linux >= 37745918e0e7575bc40f38da93a99b9fa6406224, < 29227cae1f938195d15c972400dd6fff0bdb384f; >= 37745918e0e7575bc40f38da93a99b9fa6406224, < f778841f396c3cca0193641b1af973864efe9028; >= 37745918e0e7575bc40f38da93a99b9fa6406224, < c18c8a83b95435cc32d87f3b91fed1c18f785313; >= 37745918e0e7575bc40f38d…
Fixed in: Linux 29227cae1f938195d15c972400dd6fff0bdb384f

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-142915 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< 29227cae1f938195d15c972400dd6fff0bdb384f; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f778841f396c3cca0193641b1af973864efe9028; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< c18c8a83b95435cc32d87f3b91fed1c18f785313; \>= 37745918e0e7575bc40f38da93a99b9fa6406224, \< f9e882ac8257bc55a8c99399e504e434d9e72eb9; Linux 6.12.

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

Yes. Fixed in Linux 29227cae1f938195d15c972400dd6fff0bdb384f. No fix listed yet: follow the vendor advisory.

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

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/29227cae1f938195d15c972400dd6fff0bdb384f>
- other: <https://git.kernel.org/stable/c/f778841f396c3cca0193641b1af973864efe9028>
- other: <https://git.kernel.org/stable/c/c18c8a83b95435cc32d87f3b91fed1c18f785313>
- other: <https://git.kernel.org/stable/c/f9e882ac8257bc55a8c99399e504e434d9e72eb9>

## 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-142915>

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