Bug 2406751 (CVE-2025-40035) - CVE-2025-40035 kernel: Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak
Summary: CVE-2025-40035 kernel: Input: uinput - zero-initialize uinput_ff_upload_compa...
Keywords:
Status: NEW
Alias: CVE-2025-40035
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-28 12:03 UTC by OSIDB Bzimport
Modified: 2025-10-28 20:51 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-28 12:03:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.