CVE-2021-47281
published high CVSS 3.1 · 7.8ALSA: seq: Fix race of snd_seq_timer_open()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bd7d88b0874f82f7b29d1a53e574cedaf23166ba · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 536a7646c00a0f14fee49e5e313109e5da2f6031 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 83e197a8414c0ba545e7e3916ce05f836f349273 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.44 through 5.10.* (unaffected · semver) · 5.12.11 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kbaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kb-develaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.164.1.150300.18.96.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseppc64le | Advisory build | 5.3.18-150300.59.164.1.150300.18.96.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.164.1.150300.18.96.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.164.1.150300.18.96.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develaarch64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-devels390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-develnoarch | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-docsnoarch | Advisory build | 5.3.18-150300.59.164.1 | SUSE-SU-2024:2185-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_164-defaultppc64le | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:2185-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: Fix race of snd_seq_timer_open() The timer instance per queue is exclusive, and snd_seq_timer_open() should have managed the concurrent accesses. It looks as if it's checking the already existing timer instance at the beginning, but it's not right, because there is no protection, hence any later concurrent call of snd_seq_timer_open() may override the timer instance easily. This may result in UAF, as the leftover timer instance can keep running while the queue itself gets closed, as spotted by syzkaller recently. For avoiding the race, add a proper check at the assignment of tmr->timeri again, and return -EBUSY if it's been already registered.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached through local ioctls on /dev/snd/seq (CREATE_QUEUE, SET_QUEUE_TIMER, SET_QUEUE_CLIENT, close), not via network or adjacent protocols. AC:L - The attacker controls both sides of the race by issuing concurrent sequencer ioctls/closes from multiple threads or processes on queues they create, as syzkaller did; success does not depend on victim state outside attacker influence. PR:L - Exploitation needs only the ability to open /dev/snd/seq as an unprivileged user (audio group, seat uaccess/ACL, or MIDI-capable app on phones); snd_seq_open imposes no capability checks. UI:N - The attacker triggers the race solely with their own open/ioctl/close operations; no action by another user is required. S:U - Impact stays within the host kernel authority (local privilege escalation / kernel memory corruption); it does not cross a VM, IOMMU, or other security boundary. C:H - The race orphans a running timer whose callback retains a pointer to a freed queue, producing a use-after-free that can be leveraged for arbitrary kernel memory disclosure. I:H - The same UAF on the queue object enables heap reuse and control-flow hijacking primitives, so integrity impact is high under kernel memory-corruption guidance. A:H - The UAF is observed as a kernel oops in softirq timer context (snd_seq_timer_interrupt), which can crash or hang the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bd7d88b0874f82f7b29d1a53e574cedaf23166ba (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 536a7646c00a0f14fee49e5e313109e5da2f6031 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 83e197a8414c0ba545e7e3916ce05f836f349273 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.44 through 5.10.* (unaffected · semver)5.12.11 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
ALSA: seq: Fix race of snd_seq_timer_open()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8b65d6b5235e564e32ddebc5aab2dbaa4c76d4db653820fc50b70e7d101a728
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record