CVE-2026-100042: ALSA: seq: oss: Skip events until fully initialized
In the Linux kernel, the following vulnerability has been resolved:
ALSA: seq: oss: Skip events until fully initialized
When an OSS sequencer device is opened, it creates a sequencer port, then further initializes the internal states like a timer instance, etc. Since the sequencer port is published, an event can be already delivered, and this may hit unexpected event handling, which can eventually cause a NULL dereference (like the timer start/stop event triggered before the timer initialization).
For avoiding such a race, introduce a simple guard and skips the event processing until the port is fully initialized. At releasing the device, in turn, clear this guard, so that any input events will be discarded during the teardown.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Add a guard that skips sequencer event processing until the OSS sequencer port is fully initialized, and clear the guard when releasing the device so input events are discarded during teardown.
Event History
Frequently Asked Questions
Which systems are exposed to the race condition?
Systems using the Linux kernel's ALSA OSS sequencer path are exposed when an OSS sequencer device is opened and sequencer events can be delivered before its internal state, including the timer instance, has finished initializing.
What is required to trigger the failure?
An event must reach the newly published sequencer port during the initialization window. A timer start or stop event delivered before timer initialization is specifically identified as a case that can lead to a NULL dereference.
What behavior does the fix introduce?
The fix prevents event processing until the sequencer port is fully initialized. It also clears the guard during device release so that input events are discarded while teardown is in progress.