CVE-2026-98201
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/10/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Input: zero ff_effect before compat copy in input_ff_effect_from_user<br />
<br />
In the compat path input_ff_effect_from_user() aliases the caller&#39;s<br />
native struct ff_effect with the smaller struct ff_effect_compat and<br />
copies only the compat sized prefix:<br />
<br />
compat_effect = (struct ff_effect_compat *)effect;<br />
<br />
if (copy_from_user(compat_effect, buffer,<br />
sizeof(struct ff_effect_compat)))<br />
<br />
The tail of the native structure is never written. Callers pass an<br />
uninitialized on-stack object, for example evdev_do_ioctl() for<br />
EVIOCSFF, so those bytes keep their previous stack contents.<br />
input_ff_upload() then stores the full native structure in<br />
ff->effects[id], from where a uinput based force feedback daemon can<br />
read it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to<br />
userspace.<br />
<br />
Zero the effect before the compat copy.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a
- https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66
- https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c
- https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d
- https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838
- https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9
- https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8
- https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc


