CVE-2026-99313
Description
In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: fix race condition when accessing stale stack pointer 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: 1. Clearing hidpp->send_receive_buf to NULL before releasing the mutex in the synchronous command path. 2. 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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99313 NameCVE-2026-99313 DescriptionIn the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: fix race condition when accessing stale stack pointer 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…
CVE-2026-99313
| Name | CVE-2026-99313 |
| Description | In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: fix race condition when accessing stale stack pointer 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: 1. Clearing hidpp->send_receive_buf to NULL before releasing the mutex in the synchronous command path. 2. 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-2 | fixed | |
| trixie | 6.12.107-1 | vulnerable | |
| trixie (security) | 6.12.117-1 | fixed | |
| forky | 7.3.4-1 | fixed | |
| sid | 7.3.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bookworm | 6.1.190-1 | |||
| linux | source | trixie | 6.12.113-1 | |||
| linux | source | (unstable) | 7.1.3-1 |
Notes
https://git.kernel.org/linus/e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e (7.1-rc1)
Apply commands
https://git.kernel.org/linus/e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e (7.1-rc1)
OS impact
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.113-1 |
| sid | linux |
Fixed | 7.1.3-1 |
| forky | linux |
Fixed | 7.1.3-1 |
| bookworm | linux |
Fixed | 6.1.190-1 |
Ubuntu Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| noble | linux-modules-ipu6-6.8.0-151-fips linux-modules-usbio-fips-6.8 linux-tools-fips-6.8 +33 more |
Fixed | 6.8.0-151.151+fips1 |
| jammy | linux-image-nvidia-64k-hwe-22.04-edge linux-image-nvidia-hwe-22.04 linux-image-nvidia-hwe-22.04-edge +49 more |
Fixed | 6.8.0-1068.71~22.04.1 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"3.18.17","endExcluding":"3.19"} | 3.19 |
| linux | linux | 3.19 | |
| linux | linux | {"endExcluding":"5.10.271"} | 5.10.271 |
| linux | linux | {"endExcluding":"5.15.222"} | 5.15.222 |
| linux | linux | {"endExcluding":"6.1.189"} | 6.1.189 |
| linux | linux | {"endExcluding":"6.6.158"} | 6.6.158 |
| linux | linux | {"endExcluding":"6.12.112"} | 6.12.112 |
| linux | linux | {"endExcluding":"6.18.54"} | 6.18.54 |
References
- https://git.kernel.org/stable/c/0fe696148d2c6486e52220aab822135ed7d05f38
- https://git.kernel.org/stable/c/4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d
- https://git.kernel.org/stable/c/88effb7680aea4fc9afaf5780a706f5f30d3de42
- https://git.kernel.org/stable/c/8f282d12550e3beaf3fea782b5befa65f78b3c78
- https://git.kernel.org/stable/c/e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e
- https://git.kernel.org/stable/c/e320e65900f0e3bf2874e6f5091fec29384f4a60
- https://git.kernel.org/stable/c/f427383e734e95af923ac470782ad9a3d1f0c276
- https://security-tracker.debian.org/tracker/CVE-2026-99313
- https://www.suse.com/security/cve/CVE-2026-99313.html
- https://ubuntu.com/security/notices/USN-9183-1
- https://ubuntu.com/security/notices/USN-9192-1
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.