CVE-2026-99313

    Dashboard / Vulnerabilities / CVE-2026-99313

    CVE-2026-99313

    Published: 18 Nov 2026Last Modified: 20 Nov 2026

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

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 2f31c52529103d8f0e1485272064f982d14ce54a

    Affected versions

    v3.18.140
    v3.18.139
    v3.18.138
    v3.18.137
    v3.18.136
    v3.18.135
    v3.18.134
    v3.18.133
    v3.18.132
    v3.18.131
    v3.18.130
    v3.18.129
    v3.18.128
    v3.18.127
    v3.18.126
    v3.18.125
    v3.18.124
    v3.18.123
    v3.18.122
    v3.18.121
    v3.18.120
    v3.18.119
    v3.18.118
    v3.18.117
    v3.18.116
    v3.18.115
    v3.18.114
    v3.18.113
    v3.18.112
    v3.18.111
    v3.18.110
    v3.18.109
    v3.18.108
    v3.18.107
    v3.18.106
    v3.18.105
    v3.18.104
    v3.18.103
    v3.18.102
    v3.18.101
    v3.18.100
    v3.18.99
    v3.18.98
    v3.18.97
    v3.18.96
    v3.18.95
    v3.18.94
    v3.18.93
    v3.18.92
    v3.18.91
    v3.18.90
    v3.18.89
    v3.18.88
    v3.18.87
    v3.18.86
    v3.18.85
    v3.18.84
    v3.18.83
    v3.18.82
    v3.18.81
    v3.18.80
    v3.18.79
    v3.18.78
    v3.18.77
    v3.18.76
    v3.18.75
    v3.18.74
    v3.18.73
    v3.18.72
    v3.18.71
    v3.18.70
    v3.18.69
    v3.18.68
    v3.18.67
    v3.18.66
    v3.18.65
    v3.18.64
    v3.18.63
    v3.18.62
    v3.18.61
    v3.18.60
    v3.18.59
    v3.18.58
    v3.18.57
    v3.18.56
    v3.18.55
    v3.18.54
    v3.18.53
    v3.18.52
    v3.18.51
    v3.18.50
    v3.18.49
    v3.18.48
    v3.18.47
    v3.18.46
    v3.18.45
    v3.18.44
    v3.18.43
    v3.18.42
    v3.18.41
    v3.18.40
    v3.18.39
    v3.18.38
    v3.18.37
    v3.18.36
    v3.18.35
    v3.18.34
    v3.18.33
    v3.18.32
    v3.18.31
    v3.18.30
    v3.18.29
    v3.18.28
    v3.18.27
    v3.18.26
    v3.18.25
    v3.18.24
    v3.18.23
    v3.18.22
    v3.18.21
    v3.18.20
    v3.18.19
    v3.18.18
    v3.18.17

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-99313 | CVE-DB