In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: Serialize compat port-info ioctls The native sequencer ioctl path… (CVE-2026-98742)
Description
A concurrency vulnerability in the Linux kernel ALSA sequencer interface was resolved. The issue involved the compat port-info ioctl path not properly serializing handler calls with the ioctl_mutex, unlike the native ioctl path. This allowed concurrent CREATE_PORT requests to bypass port-count checks, potentially causing port index wraparound and duplicate port addresses. Such duplicates could lead to subscriber teardown resolving to the wrong port and accessing freed memory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel ALSA sequencer ioctl interface had a flaw where the compat port-info ioctl path did not take the client->ioctl_mutex when invoking handlers via snd_seq_kernel_client_ctl(), unlike the native ioctl path which serialized calls with this mutex. This allowed concurrent compat CREATE_PORT requests to pass the port-count check before serialized insertion, causing the computed port index to exceed the address field range and wrap to an existing index. This resulted in duplicate port addresses, and subsequent subscriber teardown could incorrectly resolve to a wrong port, leading to use-after-free of subscriber memory. The fix involved taking the ioctl_mutex while dispatching converted port-info requests, ensuring serialized access to client port state consistent with the native ioctl path.
Potential Impact
The vulnerability could lead to use-after-free conditions due to duplicate port addresses caused by concurrent CREATE_PORT requests bypassing serialization. This may allow incorrect subscriber teardown and potential memory corruption within the ALSA sequencer subsystem of the Linux kernel. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to serialize compat port-info ioctl handler calls by taking the ioctl_mutex, matching the native ioctl path behavior. Users should update to a Linux kernel version that includes this fix. Patch status is not explicitly stated; check the vendor or Linux kernel advisories for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qq2g-8h6m-jjjf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98742"]
Threat ID: 6ad520aa2cdf04f6569939b0
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:21:58 UTC
Last updated: 10/18/2026, 22:21:58 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.