Description
In the Linux kernel, the following vulnerability has been resolved:

Input: evdev - sanitize event type index when fetching event masks

The user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK
ioctls is used to index the static counts array in evdev_get_mask_cnt()
and client evmasks array in evdev_get_mask().

While the event type is architecturally bounded by EV_CNT, speculative
execution may mispredict bounds checks and perform out-of-bounds loads.

Sanitize the event type index in evdev_get_mask_cnt() branchlessly using
array_index_mask_nospec(). This clamps the index to 0 for safe array
access and forces the returned count to 0 speculatively when the index
is out of bounds.

We do not need additional array_index_nospec() calls in evdev_get_mask()
because evdev_get_mask_cnt() speculatively forces the count (and
resulting xfer_size) to 0 for out-of-bounds types, preventing any
speculative memory access to client evmasks array.
Published: 2026-08-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Speculative bounds‑check bypass leading to out‑of‑bounds read
Action: Patch immediately
AI Analysis

Impact

A vulnerability in the Linux kernel allows user‑supplied input to the EVIOCGMASK and EVIOCSMASK ioctl calls to be used as an index for internal arrays that are not properly sanitized. This attack permits out‑of‑bounds load operations during speculative execution, potentially leaking data from memory that the user should not be able to read. The weakness could lead to confidentiality compromise by exposing kernel or user data through side‑channel or direct read paths. The vulnerability is expressed via a missing bounds check in the function that counts event masks, creating a narrow attack surface that can be triggered by any user with access to the relevant ioctl.

Affected Systems

All Linux kernel users are affected because the vulnerability exists in the core evdev subsystem and there are no version restrictions listed. Kernel packages that expose the EVIOCGMASK/EVIOCSMASK ioctls, such as those built with standard input devices, will be impacted.

Risk and Exploitability

The exploitability requires local user access to the evdev ioctl interface. The CVSS score is 5.5, and the EPSS indicates a probability of exploitation of less than 1%, with the vulnerability not listed in the CISA KEV catalog. The lack of a bounds check in the kernel evdev subsystem suggests a medium severity if exploited; the speculative execution vector allows potential side‑channel leakage of kernel memory contents. Consequently, the risk warrants immediate attention and remediation.

Generated by OpenCVE AI on August 24, 2026 at 20:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch that sanitizes the event type index, ensuring the affected functions use branchless bounds checking.
  • Identify and patch any downstream kernel modules or custom drivers that reexport or depend upon the evdev subsystem, ensuring they incorporate the same index sanitization changes.
  • Reboot the system to ensure the updated kernel and modules are loaded, and disable any unused EVDEV devices to limit potential attack surface.

Generated by OpenCVE AI on August 24, 2026 at 20:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Mon, 24 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-204
CWE-788

Mon, 24 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 22 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-204
CWE-788

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Input: evdev - sanitize event type index when fetching event masks The user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK ioctls is used to index the static counts array in evdev_get_mask_cnt() and client evmasks array in evdev_get_mask(). While the event type is architecturally bounded by EV_CNT, speculative execution may mispredict bounds checks and perform out-of-bounds loads. Sanitize the event type index in evdev_get_mask_cnt() branchlessly using array_index_mask_nospec(). This clamps the index to 0 for safe array access and forces the returned count to 0 speculatively when the index is out of bounds. We do not need additional array_index_nospec() calls in evdev_get_mask() because evdev_get_mask_cnt() speculatively forces the count (and resulting xfer_size) to 0 for out-of-bounds types, preventing any speculative memory access to client evmasks array.
Title Input: evdev - sanitize event type index when fetching event masks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-25T05:23:19.336Z

Reserved: 2026-08-15T05:44:03.926Z

Link: CVE-2026-74683

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:42.617

Modified: 2026-08-25T06:18:51.003

Link: CVE-2026-74683

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74683 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T20:15:04Z

Weaknesses