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

No CVSS.

Configurations

No configuration.

History

No history.

Information

Published : 2025-10-28 12:15

Updated : 2026-06-17 09:21


NVD link : CVE-2025-40035

Mitre link : CVE-2025-40035

CVE.ORG link : CVE-2025-40035


JSON object : View

Products Affected

No product.

CWE

No CWE.