Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 879CA3E1D11 for ; Tue, 6 Oct 2026 08:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791276439; cv=none; b=dCM9+3OLJWVlpqqSQZqtX0iS6FIiQ5dh/Q7i70Msr9B9Wh+txl0ytcRJKnImo0kt8J5QkW8bbPbzd5LCU31TfFhEGDPlnYo/Ly0GFjHEJD04L8xSvy+DV0U1QN7oxZwy9GLK9YiFTKKzRr/uw7cvTeFTmSaW3ZxZwYXKKzYcvSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791276439; c=relaxed/simple; bh=L4wfnR56x9E+xYF+3WyQP4BiYNBs/nzsjRysl8n4rOo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RWU6WPAgZdUm3hpICweoMMsC4WipxySLPie993WG/9vu13NabD8qnkrPcA4V0yuxq104bGKJJepPuuZG/rxqHsbZdIl+IzSg5so8h801v8rfA3KbLy+zmS62/g76xIfRo688U6ZNzU4LYTxHFCyhoSdnipoowihh3SpD4aKA9LI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k3OPfM+R; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="k3OPfM+R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 465801F000FF; Tue, 6 Oct 2026 08:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791276438; bh=YzyWqKTfQN/0SMbgqFuKBFFG6RSyKLAckcUXEr3wrdk=; h=From:To:Cc:Subject:Date:Reply-To; b=k3OPfM+RW0FhdsreQW3rtS5AVV0xqE3vB8hHpiS/l8QRv/AHgyf490JIO5ECq+Spg b7lr7fzoonb61jMHUADZuC/pGRw+MwGwJmKd0JpJeF6R3mDkgGdC4YccWzegLn1VYT Qi7uQ2tTc2RSuJdSceFAAli14boiI/6xiaqkLYQg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98201: Input: zero ff_effect before compat copy in input_ff_effect_from_user Date: Tue, 6 Oct 2026 10:45:02 +0200 Message-ID: <2026100637-CVE-2026-98201-6ff8@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3947; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O5KrEQCxXd1MHJclrVkpMV0CJcdaO+xutty651DYX04=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtnydFNWqWqr5vUf5bPbLHVYNXx56vVxraa1atHz7m 56J4Y/5OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi16cyLJhntFxy1sOZq5Zk 8C3sFD8b1r9dRY9hftCk2imMonpxJrIvy5I6lkU0vzDdDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: Input: zero ff_effect before compat copy in input_ff_effect_from_user In the compat path input_ff_effect_from_user() aliases the caller's native struct ff_effect with the smaller struct ff_effect_compat and copies only the compat sized prefix: compat_effect = (struct ff_effect_compat *)effect; if (copy_from_user(compat_effect, buffer, sizeof(struct ff_effect_compat))) The tail of the native structure is never written. Callers pass an uninitialized on-stack object, for example evdev_do_ioctl() for EVIOCSFF, so those bytes keep their previous stack contents. input_ff_upload() then stores the full native structure in ff->effects[id], from where a uinput based force feedback daemon can read it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to userspace. Zero the effect before the compat copy. The Linux kernel CVE team has assigned CVE-2026-98201 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 5.10.271 with commit ed0905fda39682d3da7937184397d3276abbffa8 Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 5.15.222 with commit ec174c2ab1abb76b20fa167c6db848c3d97aa838 Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 6.1.189 with commit 6c26681c5668c973bd0e951407d670ac60d9cd66 Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 6.6.158 with commit c5e573bb095d502be7cbbaa99c26a20984111c6d Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 6.12.112 with commit b878720e8bcaa4cf7163a5081f904dd6baf11b2c Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 6.18.54 with commit 0d05b43b55d4784a42ce8fb318175f8ad7d9af5a Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 7.2.8 with commit ed0406e490f48ed180df140fe2a81be26bccb1a9 Issue introduced in 2.6.29 with commit 2d56f3a32c0e62f99c043d2579840f9731fe5855 and fixed in 7.3-rc4 with commit f84819ef8d66931ee3998fee3c4f03230f4cb6cc Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98201 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/input/input-compat.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8 https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838 https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66 https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9 https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc