All vulnerabilities

Servers and applications

CVE-2026-99313

HID: logitech-hidpp: fix race condition when accessing stale stack pointer

Severity
High 8.8
Published
18 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
18 Nov 2026
Fixed in
5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.1
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
From the same local network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

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

The driver uses hidpp->send_receive_buf to point to a stack-allocated buffer in the synchronous command path (__do_hidpp_send_message_sync). However, this pointer is not cleared when the function returns.

If an event is processed (e.g. by a different thread) while the send_mutex is held by a new command, but before that command has updated send_receive_buf, the handler (hidpp_raw_hidpp_event) will observe that the mutex is locked and dereference the stale pointer.

This results in an out-of-bounds access on a different thread's kernel stack (or a NULL pointer dereference on the very first command).

Fix this by:

  • Clearing hidpp->send_receive_buf to NULL before releasing the mutex in the synchronous command path.
  • Moving the assignment of the local 'question' and 'answer' pointers inside the mutex_is_locked() block in the handler, and adding a NULL check before dereferencing.
From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.1
  • From 6.18 before 6.18.54
  • From 6.13 before 6.18.54
  • From 6.12 before 6.12.112
All 12 release lines
  • Every version before 5.10.271
  • From 5.11 before 5.15.222
  • From 5.15 before 5.15.222
  • From 5.16 before 6.1.189
  • From 6 before 6.1.189
  • From 6.2 before 6.6.158
  • From 6.6 before 6.6.158
  • From 6.7 before 6.12.112
  • From 6.12 before 6.12.112
  • From 6.13 before 6.18.54
  • From 6.18 before 6.18.54
  • From 6.19 before 7.1

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99313