CVE-2026-53192 PUBLISHED

ALSA: timer: Fix UAF at snd_timer_user_params()

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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

ALSA: timer: Fix UAF at snd_timer_user_params()

At releasing a timer object, e.g. when a userspace timer (CONFIG_SND_UTIMER) gets closed and snd_timer_free() is called, it tries to detach the timer instances and release the resources. However, it's still possible that other in-flight tasks are holding the timer instance where the to-be-deleted timer object is associated, and this may lead to racy accesses.

Fortunately, most of ioctls dealing with the timer instance list already have the protection with register_mutex, and this also avoids such races. But, SNDRV_TIMER_IOCTL_PARAMS isn't protected, hence the concurrent ioctl may lead to use-after-free.

This patch just adds the guard with register_mutex to protect snd_timer_user_params() for covering the code path as a quick workaround. It's no hot-path but rather a rarely issued ioctl, so the performance penalty doesn't matter.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 92ad2d7f80cad43b046f093e808e11fe919d304a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 117743d62e1225e208568a3ffc2c07214f1347cb (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to b2214914e461d0466548a52dfe4f4ee8ce362276 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to e2331730175f74169046d2af8db1b47243df7c7a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 38034d04d4a75bbca01df2b313ced0bcd0fa3242 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 3d39da65b5c422c5e5afb7d5651b0698d060a827 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 306427adf9b97e29e5958cb9cf3096c6151fc9ff (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 053a401b592be424fea9d57c789f66cd5d8cec11 (excl.)
  • affected from 0 to 5.10.259 (excl.)
  • affected from 0 to 5.15.210 (excl.)
  • affected from 0 to 6.1.176 (excl.)
  • affected from 0 to 6.6.143 (excl.)
  • affected from 0 to 6.12.94 (excl.)
  • affected from 0 to 6.18.36 (excl.)
  • affected from 0 to 7.0.13 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 5.10.259 to 5.10.* (incl.)
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References