---
id: CVE-2026-98839
title: >-
  kernel: vt: selection: Fix unsigned underflow and slab-out-of-bounds read in
  paste_selection() (CVE-2026-98839)
summary: >-
  A flaw was found in the Linux kernel's virtual terminal selection subsystem.
  When pasting console selections, a race condition can occur if another process
  concurrently replaces the selection buffer with shorter content while the
  operation…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'
cvssSource: vendor
cwe: CWE-125
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 8
  - enterprise_linux 9
  - openshift_container_platform 4
published: '2026-10-18'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T21:49:06+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98839.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98839.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98839'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555258'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98839'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98839'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98839.mbox
  - url: 'https://git.kernel.org/stable/c/037d7e3ca5c593092f4b0d471eb869a85cbddde0'
  - url: 'https://git.kernel.org/stable/c/619c6d7dd76fff15a9714fbf02ce299b737f01a2'
  - url: 'https://git.kernel.org/stable/c/39495ef5d6f8019e62d65807f217a7ca8232727a'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00166
epssPercentile: 0.05775
ingestedAt: '2026-10-18T16:47:32.467Z'
---

## Overview

A flaw was found in the Linux kernel's virtual terminal selection subsystem. When pasting console selections, a race condition can occur if another process concurrently replaces the selection buffer with shorter content while the operation is temporarily paused. This situation causes an integer underflow that leads to an out-of-bounds memory read. A local user can exploit this vulnerability to cause a system crash, resulting in a Denial of Service (DoS), or potentially expose sensitive kernel memory.

## Vendor advisories

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

**kernel: vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paste_selection()** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-23.

Affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

No fix planned:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

Not affected:

- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7

## Remediation

Fix deferred
