CVE-2026-74683 (GCVE-0-2026-74683)

Vulnerability from cvelistv5 – Published: 2026-08-22 15:32 – Updated: 2026-08-25 05:23
VLAI
Title
Input: evdev - sanitize event type index when fetching event masks
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < c79b08d8fa230871a3634e34a66e591ac2d084ef (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < f27fa9b39f925d26e034a1f382cb45523138f4ae (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < f3fc329acad9a71b3c077237cbac20670d2358c8 (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < 5db341189bb7ff041d570dbe36ecca7e32913927 (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < 433913b4a92214d76e9f0c03ad9128fec943d5f8 (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < 4034ef247a9dde3f56660b01f0c3280dac6b1274 (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < 810e1883d4815f29c30d900ad7333d03cc2515d1 (git)
Affected: 06a16293f71927f756dcf37558a79c0b05a91641 , < 3abd29c61d2ef37c4102cf755b18be53bb9dbea6 (git)
Create a notification for this product.
Linux Linux Affected: 4.4
Unaffected: 0 , < 4.4 (semver)
Unaffected: 5.10.265 , ≤ 5.10.* (semver)
Unaffected: 5.15.216 , ≤ 5.15.* (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.152 , ≤ 6.6.* (semver)
Unaffected: 6.12.104 , ≤ 6.12.* (semver)
Unaffected: 6.18.45 , ≤ 6.18.* (semver)
Unaffected: 7.1.9 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/evdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c79b08d8fa230871a3634e34a66e591ac2d084ef",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "f27fa9b39f925d26e034a1f382cb45523138f4ae",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "f3fc329acad9a71b3c077237cbac20670d2358c8",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "5db341189bb7ff041d570dbe36ecca7e32913927",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "433913b4a92214d76e9f0c03ad9128fec943d5f8",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "4034ef247a9dde3f56660b01f0c3280dac6b1274",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "810e1883d4815f29c30d900ad7333d03cc2515d1",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            },
            {
              "lessThan": "3abd29c61d2ef37c4102cf755b18be53bb9dbea6",
              "status": "affected",
              "version": "06a16293f71927f756dcf37558a79c0b05a91641",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/evdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.4"
            },
            {
              "lessThan": "4.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.265",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.152",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.104",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.45",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.265",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.216",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.152",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.104",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.45",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.9",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: evdev - sanitize event type index when fetching event masks\n\nThe user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK\nioctls is used to index the static counts array in evdev_get_mask_cnt()\nand client evmasks array in evdev_get_mask().\n\nWhile the event type is architecturally bounded by EV_CNT, speculative\nexecution may mispredict bounds checks and perform out-of-bounds loads.\n\nSanitize the event type index in evdev_get_mask_cnt() branchlessly using\narray_index_mask_nospec(). This clamps the index to 0 for safe array\naccess and forces the returned count to 0 speculatively when the index\nis out of bounds.\n\nWe do not need additional array_index_nospec() calls in evdev_get_mask()\nbecause evdev_get_mask_cnt() speculatively forces the count (and\nresulting xfer_size) to 0 for out-of-bounds types, preventing any\nspeculative memory access to client evmasks array."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-25T05:23:19.336Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c79b08d8fa230871a3634e34a66e591ac2d084ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/f27fa9b39f925d26e034a1f382cb45523138f4ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/f3fc329acad9a71b3c077237cbac20670d2358c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/5db341189bb7ff041d570dbe36ecca7e32913927"
        },
        {
          "url": "https://git.kernel.org/stable/c/433913b4a92214d76e9f0c03ad9128fec943d5f8"
        },
        {
          "url": "https://git.kernel.org/stable/c/4034ef247a9dde3f56660b01f0c3280dac6b1274"
        },
        {
          "url": "https://git.kernel.org/stable/c/810e1883d4815f29c30d900ad7333d03cc2515d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/3abd29c61d2ef37c4102cf755b18be53bb9dbea6"
        }
      ],
      "title": "Input: evdev - sanitize event type index when fetching event masks",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74683",
    "datePublished": "2026-08-22T15:32:50.192Z",
    "dateReserved": "2026-08-15T05:44:03.926Z",
    "dateUpdated": "2026-08-25T05:23:19.336Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74683",
      "date": "2026-10-14",
      "epss": "0.0019",
      "percentile": "0.08073"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/input/evdev.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c79b08d8fa230871a3634e34a66e591ac2d084ef",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f27fa9b39f925d26e034a1f382cb45523138f4ae",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f3fc329acad9a71b3c077237cbac20670d2358c8",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5db341189bb7ff041d570dbe36ecca7e32913927",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "433913b4a92214d76e9f0c03ad9128fec943d5f8",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4034ef247a9dde3f56660b01f0c3280dac6b1274",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "810e1883d4815f29c30d900ad7333d03cc2515d1",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3abd29c61d2ef37c4102cf755b18be53bb9dbea6",
                    "status": "affected",
                    "version": "06a16293f71927f756dcf37558a79c0b05a91641",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/input/evdev.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.4"
                  },
                  {
                    "lessThan": "4.4",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.265",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.216",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.183",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.152",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.104",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.45",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: evdev - sanitize event type index when fetching event masks\n\nThe user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK\nioctls is used to index the static counts array in evdev_get_mask_cnt()\nand client evmasks array in evdev_get_mask().\n\nWhile the event type is architecturally bounded by EV_CNT, speculative\nexecution may mispredict bounds checks and perform out-of-bounds loads.\n\nSanitize the event type index in evdev_get_mask_cnt() branchlessly using\narray_index_mask_nospec(). This clamps the index to 0 for safe array\naccess and forces the returned count to 0 speculatively when the index\nis out of bounds.\n\nWe do not need additional array_index_nospec() calls in evdev_get_mask()\nbecause evdev_get_mask_cnt() speculatively forces the count (and\nresulting xfer_size) to 0 for out-of-bounds types, preventing any\nspeculative memory access to client evmasks array."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nInput: evdev - sanear el \u00edndice del tipo de evento al obtener m\u00e1scaras de evento\n\nEl \u00edndice del tipo de evento proporcionado por el usuario pasado a los ioctls EVIOCGMASK / EVIOCSMASK se utiliza para indexar el array est\u00e1tico counts en evdev_get_mask_cnt() y el array evmasks del cliente en evdev_get_mask().\n\nSi bien el tipo de evento est\u00e1 arquitect\u00f3nicamente limitado por EV_CNT, la ejecuci\u00f3n especulativa puede predecir err\u00f3neamente las comprobaciones de l\u00edmites y realizar cargas fuera de l\u00edmites.\n\nSanear el \u00edndice del tipo de evento en evdev_get_mask_cnt() sin ramificaciones usando array_index_mask_nospec(). Esto fija el \u00edndice a 0 para un acceso seguro al array y fuerza el recuento devuelto a 0 especulativamente cuando el \u00edndice est\u00e1 fuera de l\u00edmites.\n\nNo necesitamos llamadas adicionales a array_index_nospec() en evdev_get_mask() porque evdev_get_mask_cnt() fuerza especulativamente el recuento (y el xfer_size resultante) a 0 para tipos fuera de l\u00edmites, evitando cualquier acceso especulativo a la memoria al array evmasks del cliente."
          }
        ],
        "id": "CVE-2026-74683",
        "lastModified": "2026-10-14T13:10:00.187",
        "metrics": {},
        "published": "2026-08-22T16:16:42.617",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3abd29c61d2ef37c4102cf755b18be53bb9dbea6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4034ef247a9dde3f56660b01f0c3280dac6b1274"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/433913b4a92214d76e9f0c03ad9128fec943d5f8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5db341189bb7ff041d570dbe36ecca7e32913927"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/810e1883d4815f29c30d900ad7333d03cc2515d1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c79b08d8fa230871a3634e34a66e591ac2d084ef"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f27fa9b39f925d26e034a1f382cb45523138f4ae"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f3fc329acad9a71b3c077237cbac20670d2358c8"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-24T09:21:44+00:00",
      "cve": "CVE-2026-74683",
      "id": "CVE-2026-74683",
      "initial_release_date": "2026-08-22T00:00:00+00:00",
      "product_status:known_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Input: evdev - sanitize event type index when fetching event masks",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74683.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…