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.
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
All 12 release lines
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- 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
Vulnerabilities in Linux kernel
- In our list
- 2,750
- Published in the last 12 months
- 2,750
- Critical, last 12 months
- 83
- High, last 12 months
- 485
- Known exploited
- 0
- CVE-2026-99565ksmbd: wait for negotiation before receiving another PDUUnrated 19 Nov 2026
- CVE-2026-99564smb: smbdirect: don't wait for RDMA_CM_EVENT_DISCONNECTED in smbdirect_socket_destroy_sync()Unrated 19 Nov 2026
- CVE-2026-99563smb: smbdirect: release failed pending sockets of a listenerUnrated 19 Nov 2026
- CVE-2026-99562ksmbd: reject FSCTL_SET_ZERO_DATA on a directory handleUnrated 19 Nov 2026
- CVE-2026-99561fork: don't create io threads once PF_POSTCOREDUMP is setUnrated 19 Nov 2026
- CVE-2026-99560wifi: mt76: mt7925: fix reset panic caused by the WM2 rx irq maskUnrated 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99313