CVE-2025-40035: Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak
Vulnerability summary
CVE-2025-40035 is a medium (CVSS 4.6) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.9% of scored vulnerabilities.
Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 52 · Related 47Timeline
- 28-10-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu154 products
- linuxAll versions (No fix recorded) | < 5.15.0-170.180 | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1100.107 | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
- linux≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < 1b317796013f666ae5040edbf0f230ec61496d42 | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < 877172b97786ed1678640dff0b2d35abb328844c | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < e63aade22a33e77b93c98c9f02db504d897a76b4 | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < 933b87c4590b42500299f00ff55f555903056803 | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < fd8a23ecbc602d00e47b27f20b07350867d0ebe5 | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < 48c96b7e9e03516936d6deba54b5553097eae817 | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < f5e1f3b85aadce74268c46676772c3e9fa79897e | ≥ 2d56f3a32c0e62f99c043d2579840f9731fe5855, < d3366a04770eea807f2826cbdb96934dd8c9bf79 | 2.6.29
3 vendors · 156 products