CVE-2026-99313
HID: logitech-hidpp: fix race condition when accessing stale stack pointer
Mitigation
- Upgrade Linux to 3.19 or later.
Who should check
- Anyone running Linux >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 0fe696148d2c6486e52220aab822135ed7d05f38; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 88effb7680aea4fc9afaf5780a706f5f30d3de42; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < f427383e734e95af923ac470782ad9a3d1f0c276; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 8f282d12550e3beaf3fea782b5befa65f78b3c78; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e320e65900f0e3bf2874e6f5091fec29384f4a60; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e; bd28e66ce1fb42696c351aad8f736570938a2712; >= 3.18.17, < 3.19
- Anyone running Linux 3.19
Vulnerability facts
- Affected
- Linux >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 0fe696148d2c6486e52220aab822135ed7d05f38; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 88effb7680aea4fc9afaf5780a706f5f30d3de42; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < f427383e734e95af923ac470782ad9a3d1f0c276; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 8f282d12550e3beaf3fea782b5befa65f78b3c78; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e320e65900f0e3bf2874e6f5091fec29384f4a60; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e; bd28e66ce1fb42696c351aad8f736570938a2712; >= 3.18.17, < 3.19; Linux 3.19
- Fixed in
- Linux 0fe696148d2c6486e52220aab822135ed7d05f38, Linux 88effb7680aea4fc9afaf5780a706f5f30d3de42, Linux 8f282d12550e3beaf3fea782b5befa65f78b3c78, Linux 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d, Linux 3.19
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 0fe696148d2c6486e52220aab822135ed7d05f38; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 88effb7680aea4fc9afaf5780a706f5f30d3de42; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < f427383e734e95af923ac470782ad9a3d1f0c276; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 8f282d12550e3beaf3fea782b5befa65f78b3c78; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e320e65900f0e3bf2874e6f5091fec29384f4a60; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e; bd28e66ce1fb42696c351aad8f736570938a2712; >= 3.18.17, < 3.19 | — | cvelist |
| Linux | 3.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99313. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99313.md Affected: Linux >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 0fe696148d2c6486e52220aab822135ed7d05f38; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 88effb7680aea4fc9afaf5780a706f5f30d3de42; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < f427383e734e95af923ac470782ad9a3d1f0c276; >= 2f31c52529103d8f0e14852… Fixed in: Linux 0fe696148d2c6486e52220aab822135ed7d05f38, Linux 88effb7680aea4fc9afaf5780a706f5f30d3de42, Linux 8f282d12550e3beaf3fea782b5befa65f78b3c78, Linux 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d, Linux 3.19 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/0fe696148d2c6486e52220aab822135ed7d05f38
- https://git.kernel.org/stable/c/88effb7680aea4fc9afaf5780a706f5f30d3de42
- https://git.kernel.org/stable/c/f427383e734e95af923ac470782ad9a3d1f0c276
- https://git.kernel.org/stable/c/8f282d12550e3beaf3fea782b5befa65f78b3c78
- https://git.kernel.org/stable/c/e320e65900f0e3bf2874e6f5091fec29384f4a60
- https://git.kernel.org/stable/c/4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d
- https://git.kernel.org/stable/c/e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e
FAQ
Is CVE-2026-99313 being exploited?
There is no confirmed exploitation: CVE-2026-99313 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99313?
High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-99313?
Linux >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 0fe696148d2c6486e52220aab822135ed7d05f38; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 88effb7680aea4fc9afaf5780a706f5f30d3de42; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < f427383e734e95af923ac470782ad9a3d1f0c276; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 8f282d12550e3beaf3fea782b5befa65f78b3c78; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e320e65900f0e3bf2874e6f5091fec29384f4a60; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d; >= 2f31c52529103d8f0e1485272064f982d14ce54a, < e2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e; bd28e66ce1fb42696c351aad8f736570938a2712; >= 3.18.17, < 3.19; Linux 3.19.
Is there a fix for CVE-2026-99313?
Yes. Fixed in Linux 0fe696148d2c6486e52220aab822135ed7d05f38, Linux 88effb7680aea4fc9afaf5780a706f5f30d3de42, Linux 8f282d12550e3beaf3fea782b5befa65f78b3c78, Linux 4ed6f5d94cc86af5e1d4a2f5cdaf565d4d58300d, Linux 3.19. Upgrade Linux to 3.19 or later.
How do I check if I'm affected by CVE-2026-99313?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |