CVE-2026-98203: Input: soc_button_array - check btns_desc->package.count
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Input: soc_button_array - check btns_desc->package.count
Check that btns_desc->package.count is not 0 before accessing btns_desc->package.elements[0].
The Linux kernel CVE team has assigned CVE-2026-98203 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 5.10.271 with commit c3a94bfedfa2e4c4d37d1181e8db1ab010f1321a Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 5.15.222 with commit ec0576dabd6bf4f6532c5f0a58c9bf57095e45a4 Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 6.1.189 with commit c62c6944c680bc4ae188ca9045daada32fcd10ec Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 6.6.158 with commit 42c7afc0e5f5b5e12e9689e9a9815b5824cf0efb Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 6.12.112 with commit eb5563386fb8c5dbb55d902a71a0ce10e4f307eb Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 6.18.54 with commit 8a70a192e3e5b3ccbeeaf149c931cf45b8e82155 Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 7.2.8 with commit 12d80e6351556cfecbdd09416e5e4c73d6ca08ba Issue introduced in 4.12 with commit 4c3362f44980aba8e1e69cd6970effbd9f17dc69 and fixed in 7.3-rc4 with commit fb5022278b6ea7f1838e3ef78028d5d5e3375f65
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-98203
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/misc/soc_button_array.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/c3a94bfedfa2e4c4d37d1181e8db1ab010f1321a https://git.kernel.org/stable/c/ec0576dabd6bf4f6532c5f0a58c9bf57095e45a4 https://git.kernel.org/stable/c/c62c6944c680bc4ae188ca9045daada32fcd10ec https://git.kernel.org/stable/c/42c7afc0e5f5b5e12e9689e9a9815b5824cf0efb https://git.kernel.org/stable/c/eb5563386fb8c5dbb55d902a71a0ce10e4f307eb https://git.kernel.org/stable/c/8a70a192e3e5b3ccbeeaf149c931cf45b8e82155 https://git.kernel.org/stable/c/12d80e6351556cfecbdd09416e5e4c73d6ca08ba https://git.kernel.org/stable/c/fb5022278b6ea7f1838e3ef78028d5d5e3375f65