---
id: CVE-2026-98181
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/gud: fix out-of-bounds write in gud_plane_atomic_check()

  The plane property loop uses req->properties[num_properties + i] as write
  index while simultaneously incre…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/gud: fix out-of-bounds write in gud_plane_atomic_check()

  The plane property loop uses req->properties[num_properties + i] as write
  index while simultaneously incre…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    ee04903fe6a098160d20dde4fc5af4cb42846735
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    4153a9e008f2512bd3cf90a319436865847369b9
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    5f5e565410b4987e9663f599f9ab0c350f8338d4
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    7e630edb22088df7aa0d55b02237a71e4c9a523d
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    2c92af27ad23e2fbc0367b11a9027d36d94ef4b3
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    ea57100955c1c2a525ba1a98c18d9a05b25aeedb
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    59ced288fcba9e91bd38e61a972ad782c4edb7d0
  - Linux 5.13
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T09:18:02.807'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98181'
references:
  - url: 'https://git.kernel.org/stable/c/2c92af27ad23e2fbc0367b11a9027d36d94ef4b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4153a9e008f2512bd3cf90a319436865847369b9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/59ced288fcba9e91bd38e61a972ad782c4edb7d0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5f5e565410b4987e9663f599f9ab0c350f8338d4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7e630edb22088df7aa0d55b02237a71e4c9a523d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ea57100955c1c2a525ba1a98c18d9a05b25aeedb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ee04903fe6a098160d20dde4fc5af4cb42846735'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98181.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98181'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2546485'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98181'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98181'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98181.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-10-06T08:50:17.451Z'
epss: 0.00173
epssPercentile: 0.06631
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-787
---

## Overview

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

drm/gud: fix out-of-bounds write in gud_plane_atomic_check()

The plane property loop uses req->properties[num_properties + i] as write
index while simultaneously incrementing `num_properties` inside the loop.
At iteration i, num_properties has also incremented by i, so the write
is done at `initial_num_properties + 2*i`, skipping every other index and
advancing by 2 per iteration.

With just 2 connector and 32 plane properties the last write happens at
index 64, one slot past the end of the 64-slot (indices 0–63)
allocation. A USB device can trigger OOB by advertising the maximum
number of properties.

Fix by dropping the redundant `+ i`; num_properties is already the correct
running index, as gud_connector_fill_properties() fills the preceding
slots.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98181.json)
