CVE-2021-47281
Last modified
CVE-2021-47281 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 5.10.44 | — |
| Linux | Linux Kernel | >= 5.11, < 5.12.11 | — |
| Linux | Linux Kernel | 5.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47281?
How severe is CVE-2021-47281?
How do I fix CVE-2021-47281?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47275In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47276In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47277In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-47278In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47279In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47280In the Linux kernel, the following vulnerability has been re…7
- CVE-2021-47282In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47283In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47284In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2021-47285Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2021-47286In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47287In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47281?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
