{"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","slug":"CVE-2026-98839","body":"## Overview\n\nA 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.\n\n## Vendor advisories\n\n- **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)\n\n**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.\n\nAffected:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n- Red Hat OpenShift Container Platform 4\n\nNo fix planned:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n- Red Hat OpenShift Container Platform 4\n\nNot affected:\n\n- Red Hat Enterprise Linux 6\n- Red Hat Enterprise Linux 7\n\n## Remediation\n\nFix deferred","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":228614,"id":"CVE-2026-98839","ts":1792844814619,"field":"cvss","old":null,"new":"6.1"},{"seq":228613,"id":"CVE-2026-98839","ts":1792844814619,"field":"severity","old":"none","new":"medium"}]}