| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2023-53015: HID: betop: check shape of output reports |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| HID: betop: check shape of output reports |
| |
| betopff_init() only checks the total sum of the report counts for each |
| report field to be at least 4, but hid_betopff_play() expects 4 report |
| fields. |
| A device advertising an output report with one field and 4 report counts |
| would pass the check but crash the kernel with a NULL pointer dereference |
| in hid_betopff_play(). |
| |
| The Linux kernel CVE team has assigned CVE-2023-53015 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 4.14.305 with commit dbab4dba400d6ea9a9697fbbd287adbf7db1dac4 |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 4.19.272 with commit 7317326f685824c7c29bd80841fd18041af6bb73 |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 5.4.231 with commit d3065cc56221d1a5eda237e94eaf2a627b88ab79 |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 5.10.166 with commit 28fc6095da22dc88433d79578ae1c495ebe8ca43 |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 5.15.91 with commit 1a2a47b85cab50a3c146731bfeaf2d860f5344ee |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 6.1.9 with commit 07bc32e53c7bd5c91472cc485231ef6274db9b76 |
| Issue introduced in 4.0 with commit 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 and fixed in 6.2 with commit 3782c0d6edf658b71354a64d60aa7a296188fc90 |
| |
| 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-2023-53015 |
| 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/hid-betopff.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/dbab4dba400d6ea9a9697fbbd287adbf7db1dac4 |
| https://git.kernel.org/stable/c/7317326f685824c7c29bd80841fd18041af6bb73 |
| https://git.kernel.org/stable/c/d3065cc56221d1a5eda237e94eaf2a627b88ab79 |
| https://git.kernel.org/stable/c/28fc6095da22dc88433d79578ae1c495ebe8ca43 |
| https://git.kernel.org/stable/c/1a2a47b85cab50a3c146731bfeaf2d860f5344ee |
| https://git.kernel.org/stable/c/07bc32e53c7bd5c91472cc485231ef6274db9b76 |
| https://git.kernel.org/stable/c/3782c0d6edf658b71354a64d60aa7a296188fc90 |