All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-cve-announce@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@kernel.org>
Subject: CVE-2026-142808: HID: logitech-dj: validate unnumbered keyboard reports
Date: Thu,  3 Dec 2026 04:17:50 +0100	[thread overview]
Message-ID: <2026120349-CVE-2026-142808-a91c@gregkh> (raw)

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

HID: logitech-dj: validate unnumbered keyboard reports

The HID core invokes raw_event callbacks before validating the report
length.  For an unnumbered keyboard report, logi_dj_raw_event() uses the
second byte as temporary storage while prepending a report ID.  A one-byte
report therefore makes both the initial write and the later restoration
access data beyond the received report.

Reject unnumbered keyboard reports that do not provide the temporary byte.

Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init
sequence") added the same kind of raw_event length validation to hid-asus.

The Linux kernel CVE team has assigned CVE-2026-142808 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 5.10.275 with commit e77448e2ee9eb9db9437867f6864f4af633f2aad
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 5.15.226 with commit 06a7f74be3e1bd1194ed068a92a769d17ea75c7e
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 6.1.193 with commit a588db7b31452e994408d67d14373b7048f057ff
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 6.6.163 with commit 6e08d8d75a6023c8258ede089fdf922eb6333d78
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 6.12.117 with commit 78d8c658721b1333549c4bce0fe3c33f8b542e35
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 6.18.61 with commit bf3e9e06e850c78673b373f3a6bb4baaf2949d66
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 7.3.2 with commit 28d0c18328218cc1a5ea7341bd457c658aca0f73
	Issue introduced in 5.2 with commit 74808f9115cee2bb53e7161432959f3e87b631e4 and fixed in 7.4-rc1 with commit c2deafcb4c8227771f768d77ed3c0a489250e9b2

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-142808
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-logitech-dj.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/e77448e2ee9eb9db9437867f6864f4af633f2aad
	https://git.kernel.org/stable/c/06a7f74be3e1bd1194ed068a92a769d17ea75c7e
	https://git.kernel.org/stable/c/a588db7b31452e994408d67d14373b7048f057ff
	https://git.kernel.org/stable/c/6e08d8d75a6023c8258ede089fdf922eb6333d78
	https://git.kernel.org/stable/c/78d8c658721b1333549c4bce0fe3c33f8b542e35
	https://git.kernel.org/stable/c/bf3e9e06e850c78673b373f3a6bb4baaf2949d66
	https://git.kernel.org/stable/c/28d0c18328218cc1a5ea7341bd457c658aca0f73
	https://git.kernel.org/stable/c/c2deafcb4c8227771f768d77ed3c0a489250e9b2

                 reply	other threads:[~2026-12-03  3:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026120349-CVE-2026-142808-a91c@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=cve@kernel.org \
    --cc=gregkh@kernel.org \
    --cc=linux-cve-announce@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.