GHSA-6M64-HVR2-XH58

Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30
VLAI
Details

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 ]---
Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142915"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:31Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: timer: Pin the module for userspace timer controllers\n\nThe static snd_utimer_ids IDA must remain live until a userspace timer\ncontroller has returned its ID. However, snd_utimer_fops has no owner,\nso anon_inode_getfd() does not take a reference to snd-timer for the\ncontroller file.\n\nWith CONFIG_SND_TIMER=m and CONFIG_SND_UTIMER=y, userspace can create a\ncontroller with SNDRV_TIMER_IOCTL_CREATE and close the native timer\nfile. If no timer instances or dependent modules retain snd-timer,\nordinary module unload can then overlap the controller\u0027s final release:\n\n  Controller final release              Module unload\n  snd_utimer_release()\n    snd_utimer_free()\n      snd_timer_free(): unlink provider\n      snd_utimer_put_id()\n        enter ida_free()\n                                        delete_module()\n                                          alsa_timer_exit()\n                                          free_module(): free MOD_DATA\n        access snd_utimer_ids.xa\n\nThe provider is already absent from snd_timer_free_all() when unload\nruns. Neither register_mutex nor the IDA\u0027s lock keeps module storage\nresident through the remaining IDA access. That access can therefore\nuse freed module data and fault while acquiring the XArray lock, as\nshown in the Oops below.\n\nSet snd_utimer_fops.owner to THIS_MODULE so anonymous-file creation\ntakes the existing module reference. The VFS drops it only after\nsnd_utimer_release() returns, keeping the IDA resident through\nida_free() and preventing ordinary unload during that interval.\n\nOops report as below:\n\n    BUG: unable to handle page fault for address: fffffbfff80480af\n    #PF: supervisor read access in kernel mode\n    #PF: error_code(0x0000) - not-present page\n    PGD 1a7ff6067 P4D 1a7ff6067 PUD 1a7ff2067 PMD 100ad6067 PTE 0\n    Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n    CPU: 0 UID: 0 PID: 485 Comm: alsa-utimer-fix 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    RIP: 0010:kasan_byte_accessible+0x15/0x30\n    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 \u003c0f\u003e b6 07 3c 07 0f 96 c0 e9 69 f1 2b ff 66 66 2e 0f 1f 84 00 00 00\n    RSP: 0018:ffff88811a457c48 EFLAGS: 00010086\n    RAX: dffffc0000000000 RBX: ffffffffc0240578 RCX: 0000000000000000\n    RDX: 0000000000000000 RSI: ffffffff861f111c RDI: fffffbfff80480af\n    RBP: ffffffffc0240578 R08: 0000000000000001 R09: 0000000000000000\n    R10: ffffffff891cc057 R11: ffff88811531ba00 R12: ffffffff861f111c\n    R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000\n    FS:  00007ff190ff7780(0000) GS:ffff8881fda2a000(0000) knlGS:0000000000000000\n    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n    CR2: fffffbfff80480af CR3: 0000000116890003 CR4: 0000000000770ef0\n    PKRU: 55555554\n    Call Trace:\n     \u003cTASK\u003e\n     __kasan_check_byte+0x13/0x50\n     lock_acquire+0x113/0x2f0\n     ? __pfx_pmbd_probe_hit_cookie+0x10/0x10\n     ? lock_release+0xc8/0x280\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     _raw_spin_lock_irqsave+0x3c/0x60\n     ? ida_free+0xd4/0x2b0\n     ida_free+0xd4/0x2b0\n     ? __pfx_ida_free+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_locks_remove_file+0x10/0x10\n     ? __fput+0x39f/0xa60\n     ? fput_close_sync+0xff/0x200\n     ? __pfx_fput_close_sync+0x10/0x10\n     ? dnotify_flush+0x22/0x4b0\n     ? __x64_sys_close+0x8c/0xf0\n     ? do_syscall_64+0x115/0x6a0\n     ? entry_SYSCALL_64_after_hwframe+0x77/0x7f\n     \u003c/TASK\u003e\n    Modules linked in: snd(O) [last unloaded: snd_timer(O)]\n    CR2: fffffbfff80480af\n    ---[ end trace 0000000000000000 ]---",
  "id": "GHSA-6m64-hvr2-xh58",
  "modified": "2026-12-03T06:30:38Z",
  "published": "2026-12-03T06:30:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142915"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29227cae1f938195d15c972400dd6fff0bdb384f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c18c8a83b95435cc32d87f3b91fed1c18f785313"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f778841f396c3cca0193641b1af973864efe9028"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9e882ac8257bc55a8c99399e504e434d9e72eb9"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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.