CVE-2025-40035: Linux
EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak Struct ff_effect_compat is embedded twice inside uinput_ff_upload_compat, contains internal padding. In particular, there is a hole after struct ff_replay to satisfy alignment requirements for the following union member. Without clearing the structure, copy_to_user() may leak stack data to userspace. Initialize ff_up_compat to zero before filling valid fields.
Affected products
- Linux Linux: from 2.6.29, before 5.4.301 (fixed in 5.4.301); from 5.5, before 5.10.246 (fixed in 5.10.246); from 5.11, before 5.15.195 (fixed in 5.15.195); from 5.16, before 6.1.156 (fixed in 6.1.156); from 6.2, before 6.6.112 (fixed in 6.6.112); from 6.7, before 6.12.53 (fixed in 6.12.53); …
Published 2025-10-28. Last modified 2026-06-17.