CVE-2026-100021: Input: always accept EV_SYN in input_event()
In the Linux kernel, the following vulnerability has been resolved:
Input: always accept EVSYN in inputevent()
Commit 0cd587735205 ("Input: preallocate memory to hold event values") moved allocation of dev->vals into inputallocatedevice(), which caused input core to accumulate events reported while seeding initial device state before inputregisterdevice().
However, because EVSYN is only set in dev->evbit during inputregisterdevice() (and some drivers also overwrite dev->evbit directly before registration), any EVSYN/SYNREPORT events sent before registration were dropped by iseventsupported(), leaving those seeded events stuck in dev->vals until the next SYNREPORT after registration.
Always accept EVSYN in inputevent() and inputinjectevent() without checking dev->evbit so inputsync() flushes dev->vals as intended.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux input core, always accept EV_SYN in input_event() and input_inject_event() without checking dev->evbit.
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The issue occurs when input events are reported while initial device state is being seeded before input_register_device(), and a pre-registration EV_SYN/SYN_REPORT is dropped because EV_SYN is not yet set in dev->evbit. The queued events then remain in dev->vals until a later SYN_REPORT is received after registration.
Are normal post-registration input events affected?
The described failure is limited to synchronization events sent before device registration. A SYN_REPORT received after registration flushes the accumulated events, so the condition may be transient if such a report follows registration.
What behavior does the fix change?
The fix makes input_event() and input_inject_event() accept EV_SYN without checking dev->evbit. This allows input_sync() to flush events accumulated during initial device-state seeding before registration.