CVE-2026-99313
published high CVSS 3.1 · 8.8HID: logitech-hidpp: fix race condition when accessing stale stack pointer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2f31c52529103d8f0e1485272064f982d14ce54a to < 0fe696148d2c6486e52220aab822135ed7d05f38 · 2f31c52529103d8f0e1485272064f982d14ce54a to < 88effb7680aea4fc9afaf5780a706f5f30d3de42 · 2f31c52529103d8f0e1485272064f982d14ce54a to < f427383e734e95af923ac470782ad9a3d1f0c276 · 2f31c52529103d8f0e1485272064f982d14ce54a to < 8f282d12550e3beaf3fea782b5befa65f78b3c78 · 2f31c52529103d8f0e1485272064f982d14ce54a to < e320e65900f0e3bf2874e6f5091fec29384f4a60 · 2f31c52529103d8f0e1485272064f982d14ce54a to < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d · 2f31c52529103d8f0e1485272064f982d14ce54a to < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e · bd28e66ce1fb42696c351aad8f736570938a2712 · 3.18.17 to < 3.19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.19 (affected) · 0 to < 3.19 (unaffected · semver) · 5.10.271 through 5.10.* (unaffected · semver) · 5.15.222 through 5.15.* (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.54 through 6.18.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-136 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-136 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-fips-cloud-tools-6.8.0-151 | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-fips-headers-6.8.0-151 | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-fips-lib-rust-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-fips-tools-6.8.0-151 | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-headers-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-image-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-image-hmac-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-image-unsigned-hmac-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-modules-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-modules-usbio-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Ubuntu | noble | linux-tools-6.8.0-151-fips | Advisory build | 6.8.0-151.151+fips1 | USN-9183-1 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-136 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-136 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-136 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The triggering HID++ input report (id 0x10, 0x11, or 0x12) arrives on the Bluetooth HIDP interrupt channel: hidp_session_run() dequeues the L2CAP skb, hidp_recv_intr_frame() calls hidp_process_report(), hid_input_report() calls hidpp_raw_event(), and hidpp_raw_hidpp_event() dereferences the stale send_receive_buf. HID_BLUETOOTH_DEVICE() entries bind this driver to that radio-range transport. AC:L - The same peer creates both sides. A short report with rap.sub_id 0x41 makes hidpp_report_is_connect_event() schedule hidpp_connect_event(), and hidpp_root_get_protocol_version() then locks send_mutex in hidpp_send_message_sync() before __do_hidpp_send_message_sync() stores send_receive_buf, while the peer floods 0x10/0x11/0x12 reports into that window. PR:N - hidp_recv_intr_frame() and hidpp_raw_hidpp_event() accept the bonded peer's input report with no capable() check and no host credential. The attacker is the Bluetooth HID device matched by HID_BLUETOOTH_DEVICE(), not a local process. UI:N - On a bonded Logitech HID++ link, hidpp_probe() calls hid_device_io_start() and then hidpp_get_device_name(), and a peer-sent sub_id 0x41 report schedules hidpp_connect_event(). The peer sends those reports itself; no user open or mount is on the path. S:U - The *answer = *report write in hidpp_raw_hidpp_event() lands on the kernel stack of the thread that called __do_hidpp_send_message_sync(), which is the same host kernel authority as the HID++ driver. C:H - __do_hidpp_send_message_sync() leaves send_receive_buf aimed at the caller's stack hidpp_report. hidpp_raw_hidpp_event() reads question->fap.feature_index and funcindex_clientid through that expired pointer and, on a match, *answer = *report overwrites 64 bytes of the other thread's kernel stack. I:H - When hidpp_match_answer() or hidpp_match_error() matches the stale pointer, hidpp_raw_hidpp_event() executes *answer = *report and copies the peer-controlled 64-byte hidpp_report onto the previous command's stack slot left set by __do_hidpp_send_message_sync(). A:H - send_receive_buf is NULL after the hidpp kzalloc, so the first command's hidpp_match_answer() NULL-dereferences and oopses. Later, the same path uses the expired stack pointer and faults or corrupts the command thread's stack.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2f31c52529103d8f0e1485272064f982d14ce54a to < 0fe696148d2c6486e52220aab822135ed7d05f38 (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < 88effb7680aea4fc9afaf5780a706f5f30d3de42 (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < f427383e734e95af923ac470782ad9a3d1f0c276 (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < 8f282d12550e3beaf3fea782b5befa65f78b3c78 (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < e320e65900f0e3bf2874e6f5091fec29384f4a60 (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d (affected · git)2f31c52529103d8f0e1485272064f982d14ce54a to < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e (affected · git)bd28e66ce1fb42696c351aad8f736570938a2712 (affected · git)3.18.17 to < 3.19 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 3.19 (affected)0 to < 3.19 (unaffected · semver)5.10.271 through 5.10.* (unaffected · semver)5.15.222 through 5.15.* (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.54 through 6.18.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- 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
Provider assertions
1Linux · cna
HID: logitech-hidpp: fix race condition when accessing stale stack pointer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- da2b3d91d9c3e2484de4f824dd6b7c0f03138e4d6c4cd90c36b82cea087a5cce
- Ingested
- 20 Nov 2026, 05:19:38 UTC
- Source record
- Official CVE record