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 1024B3033CB for ; Sun, 19 Jul 2026 14:59:12 +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=1784473153; cv=none; b=J9OzbBVkfoTMTodTskteUbFw7l5nfwHCI3Js7N+7+LX/XAtP93+NxhaaidMxfLGqNSNUmVMsi4USYwT7BvHEqVJiPNvmDjqgRLo2baXMHjoixAz2x1uWvZPQ+aLYls/iDsZZoi7VO7lKAvp0NYaAb20aiXudbsQd6qGDcV0p6VU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473153; c=relaxed/simple; bh=vT17orZNEI/MDo5qzVApj4gLlv5HlpkwCIlFEIvxtJA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H/oif2o0y0F47zjYaFBoar+S6kz3YYaimuOSzELeVv0F2B25/rVfFkBye052I8oTZJp/1OueCN278P/spjQpaZOinH/Mom5zGY+EAn7thdC3KdFlPyx5l+6RQgaTjkZwYerKRg7MKXesgdhNqDY2s0J9MG8FPoa99ij6eDZL4dM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1VhoAwwa; 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="1VhoAwwa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C9BB1F000E9; Sun, 19 Jul 2026 14:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473152; bh=JGzIuQdVbvx0sjSZL5GKfL9KTfPJAsont/LcxXWX1ks=; h=From:To:Cc:Subject:Date:Reply-To; b=1VhoAwwaojGTrrIgT++AnzY/I6GOt7iCUeYM//4M6HgISTXvctWWaJwBK/PJtZnfM oEXKy4R641Z8wxOQ9xPClj20NZhdUXnosUjR0EVQsVT1atJSSyI19mN6coqfKwHhm2 v1hl1jL/unRx////Pq66FLKmK1vO8DTW4V7vooLs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63916: HID: wacom: Fix OOB write in wacom_hid_set_device_mode() Date: Sun, 19 Jul 2026 16:56:16 +0200 Message-ID: <2026071947-CVE-2026-63916-5ec3@gregkh> X-Mailer: git-send-email 2.55.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=3906; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nrCG8pBfwAyGaIMi2w+SAPPdtmLc5bvHnRTU4FFuo7I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT4v73r9e2RvCLyu7IVaoqW2ZaJ6MuI0qZ3n2/N0z4 g/prJ/cEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5xMGwYNHF6pPJJ+tN1Plk n23tWxbBFBw0m2GextIq2fcH7n6Wt9ww5arn/bcnTToeAQA= 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: HID: wacom: Fix OOB write in wacom_hid_set_device_mode() wacom_hid_set_device_mode() currently assumes that the HID_DG_INPUTMODE usage is always located in the first field (field[0]) of the feature report. However, a device can specify HID_DG_INPUTMODE in a different field. If HID_DG_INPUTMODE is in a field other than the first one and the first field has a report_count smaller than the usage_index of HID_DG_INPUTMODE, this leads to an out-of-bounds write to r->field[0]->value. Fix this by storing the field index of HID_DG_INPUTMODE in 'struct hid_data' during feature mapping. In wacom_hid_set_device_mode(), use this stored field index to access the correct field and add bounds checks to ensure both the field index and the value index are within valid ranges before writing. The Linux kernel CVE team has assigned CVE-2026-63916 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 5.10.259 with commit 2add311d99646c9d235b2c44f9c169ba30f5db3a Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 5.15.210 with commit 83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 6.1.176 with commit 5716a293fb19d382ca2336e08fd28a619a5f3c25 Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 6.6.143 with commit ed598de9f61582902406d352d99f2073d8e00298 Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 6.12.93 with commit 43e7c02d6090a82fd60d63491f6871aec906345e Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 6.18.35 with commit b8338111e14183972359009c12d0dbd81d2e1e16 Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 7.0.12 with commit 5db3fca0cec7b33bc5379411d0a60d792c9f9bc0 Issue introduced in 3.18 with commit 5ae6e89f7409cb5d218bb728326eba9c650d9700 and fixed in 7.1 with commit c0a8899e02ddebd51e2589835182c239c2e224ae 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-63916 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/hid/wacom_sys.c drivers/hid/wacom_wac.h 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/2add311d99646c9d235b2c44f9c169ba30f5db3a https://git.kernel.org/stable/c/83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf https://git.kernel.org/stable/c/5716a293fb19d382ca2336e08fd28a619a5f3c25 https://git.kernel.org/stable/c/ed598de9f61582902406d352d99f2073d8e00298 https://git.kernel.org/stable/c/43e7c02d6090a82fd60d63491f6871aec906345e https://git.kernel.org/stable/c/b8338111e14183972359009c12d0dbd81d2e1e16 https://git.kernel.org/stable/c/5db3fca0cec7b33bc5379411d0a60d792c9f9bc0 https://git.kernel.org/stable/c/c0a8899e02ddebd51e2589835182c239c2e224ae