CVE-2026-99436 in Linuxinfo

Summary

by MITRE • 11/19/2026

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

media: rc: After rc_unregister_device() timers can be re-armed

If rc_keydown() is called after rc_register_device(), then the timers can be re-armed. Delete them again for a final time.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/19/2026

The Linux kernel media subsystem contains a race condition vulnerability within the remote control input handling code that allows for improper timer management during device unregistration. This issue arises from an inconsistency in how state transitions are handled when a remote controller device is being shut down while key events are still being processed or queued by user-space applications or internal drivers. Specifically, the function rc_unregister_device() initiates the teardown process for a registered input device but does not adequately synchronize with pending timer operations that may have been triggered by prior calls to rc_keydown(). This lack of synchronization creates a window where timers associated with key repeat events can be re-armed even after the unregistration sequence has begun, leading to potential use-after-free conditions or kernel panics if the underlying hardware structures are freed while these deferred callbacks attempt to execute.

The technical flaw centers on the lifecycle management of input event processing in the rc core layer. When a remote control device is registered via rc_register_device(), it sets up various timers to handle key repeat functionality, ensuring that holding down a button generates repeated events at regular intervals. However, when rc_unregister_device() is called to remove this device from the system, it assumes that all pending timer callbacks have been safely cancelled or will not interfere with the cleanup process. In scenarios where rc_keydown() has recently been invoked but its associated timer logic has not yet fully completed or synchronized with the unregistration routine, there exists a race condition. The kernel may attempt to re-arm these timers for key repeat events after the device structure is partially deallocated, resulting in access to invalid memory addresses or execution of code paths that reference freed resources.

The operational impact of this vulnerability can range from minor input glitches to severe system instability. In less severe cases, users might experience erratic behavior with remote control inputs, such as keys repeating indefinitely or failing to register correctly after a device disconnect and reconnect cycle. However, in more critical scenarios involving kernel memory corruption due to use-after-free conditions triggered by the re-armed timers, the vulnerability can lead to system crashes, denial of service for other media subsystem components, or potentially arbitrary code execution if an attacker can manipulate the timing and content of key events to exploit specific memory layouts. This is particularly dangerous in embedded systems or set-top boxes where remote control interfaces are critical user-facing features and stability is paramount.

To mitigate this vulnerability, it is essential to ensure that all pending timers associated with a remote controller device are explicitly cancelled before proceeding with the final stages of device unregistration. The fix involves adding logic within rc_unregister_device() to flush any remaining timer callbacks and prevent them from being re-armed after the unregister process has initiated. This ensures strict ordering between input event processing and resource deallocation, eliminating the race window. System administrators should apply kernel updates that include this patch immediately, particularly on devices relying heavily on infrared or radio frequency remote control interfaces. Additionally, developers integrating media subsystem components must ensure their drivers properly synchronize state changes with unregister operations to prevent similar issues in custom implementations of input handling logic.

This vulnerability aligns with CWE-362, which describes concurrent execution errors leading to race conditions, and specifically relates to improper synchronization mechanisms that allow resources to be accessed after they have been invalidated or freed. From a defensive perspective, it also touches upon aspects covered by ATT&CK technique T1059, Command and Scripting Interpreter, as malicious actors could potentially leverage such kernel instability to escalate privileges if combined with other local exploitation techniques. Maintaining strict lifecycle management for hardware abstraction layers in the Linux kernel is crucial for preventing these types of logical flaws that compromise system integrity through subtle timing errors rather than direct buffer overflows or injection attacks.

Responsible

Linux

Reservation

09/25/2026

Disclosure

11/19/2026

Moderation

accepted

CPE

ready

EPSS

0.00176

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!