NONE · 0

CVE-2025-40035

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...

Vulnerability Description

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.

References

FAQ

What is CVE-2025-40035?

CVE-2025-40035 is a documented vulnerability. 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...

How severe is CVE-2025-40035?

CVSS scoring is not yet available for CVE-2025-40035. Check NVD for updates.

Is there a patch for CVE-2025-40035?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.