{"id":"CVE-2026-98201","aliases":["CVE-2026-98201"],"related":[],"kind":"vulnerability","state":"published","title":"Input: zero ff_effect before compat copy in input_ff_effect_from_user","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: zero ff_effect before compat copy in input_ff_effect_from_user\n\nIn the compat path input_ff_effect_from_user() aliases the caller's\nnative struct ff_effect with the smaller struct ff_effect_compat and\ncopies only the compat sized prefix:\n\n\tcompat_effect = (struct ff_effect_compat *)effect;\n\n\tif (copy_from_user(compat_effect, buffer,\n\t\t\t   sizeof(struct ff_effect_compat)))\n\nThe tail of the native structure is never written. Callers pass an\nuninitialized on-stack object, for example evdev_do_ioctl() for\nEVIOCSFF, so those bytes keep their previous stack contents.\ninput_ff_upload() then stores the full native structure in\nff->effects[id], from where a uinput based force feedback daemon can\nread it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to\nuserspace.\n\nZero the effect before the compat copy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: zero ff_effect before compat copy in input_ff_effect_from_user\n\nIn the compat path input_ff_effect_from_user() aliases the caller's\nnative struct ff_effect with the smaller struct ff_effect_compat and\ncopies only the compat sized prefix:\n\n\tcompat_effect = (struct ff_effect_compat *)effect;\n\n\tif (copy_from_user(compat_effect, buffer,\n\t\t\t   sizeof(struct ff_effect_compat)))\n\nThe tail of the native structure is never written. Callers pass an\nuninitialized on-stack object, for example evdev_do_ioctl() for\nEVIOCSFF, so those bytes keep their previous stack contents.\ninput_ff_upload() then stores the full native structure in\nff->effects[id], from where a uinput based force feedback daemon can\nread it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to\nuserspace.\n\nZero the effect before the compat copy.","source":"cvelist"}],"published":"2026-10-06T08:44:38.952Z","modified":"2026-10-19T10:18:20.737Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"ed0905fda39682d3da7937184397d3276abbffa8","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"ec174c2ab1abb76b20fa167c6db848c3d97aa838","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"6c26681c5668c973bd0e951407d670ac60d9cd66","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"c5e573bb095d502be7cbbaa99c26a20984111c6d","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"b878720e8bcaa4cf7163a5081f904dd6baf11b2c","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"0d05b43b55d4784a42ce8fb318175f8ad7d9af5a","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"ed0406e490f48ed180df140fe2a81be26bccb1a9","status":"affected"},{"type":"git","introduced":"2d56f3a32c0e62f99c043d2579840f9731fe5855","fixed":"f84819ef8d66931ee3998fee3c4f03230f4cb6cc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98201","url":"https://www.cve.org/CVERecord?id=CVE-2026-98201","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:32.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98201","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98201","licence":"Public domain","modified":"2026-10-19T10:18:20.737Z"}],"updatedAt":"2026-11-25T22:59:42.286Z","epss":{"score":0.00177,"percentile":0.0751,"date":"2026-12-02T12:00:21.000Z"}}