Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98839

published

vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paste_selection()

Published
18 Oct 2026, 15:50:11 UTC
Updated
19 Oct 2026, 09:26:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 037d7e3ca5c593092f4b0d471eb869a85cbddde0 · e8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 619c6d7dd76fff15a9714fbf02ce299b737f01a2 · e8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 39495ef5d6f8019e62d65807f217a7ca8232727a · 54c522782fd11a720f959ee9cb5a15bb9580343d · 05c508edc9d0b44e4706d3c2cf14ee12aac210d2 · e5be0e24ffc7f5783a3864b5b958088ed15be9e8 · a4719f6d07b2c63223f7452c435c5f578f105cfe · b4492f1e7456bd162714c0ec2815c2749d930844 · 9a9c13ad21a8220cb70c9807a920f43520515f94 · 8c368d36878e2fc99285279fc5e14b3d3cb8947c · 3.16.83 to < 3.17 · 4.4.216 to < 4.5 · 4.9.216 to < 4.10 · 4.14.173 to < 4.15 · 4.19.109 to < 4.20 · 5.4.25 to < 5.5 · 5.5.9 to < 5.6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 6.18.56 through 6.18.* (unaffected · semver) · 7.2.10 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3251 Fixed Not stated Amazon Linux assessment
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-headers-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-fde-7.0 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-headers-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-buildinfo-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-headers-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-headers-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-lib-rust-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-iwlwifi-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-tools-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-43.43 USN-9018-1
Ubuntu resolute linux Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-headers-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-headers-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paste_selection() In paste_selection(), the loop copies min_t(unsigned int, vc_sel.buf_len - pasted,tty->receive_room) bytes per iteration into tty_ldisc_receive_buf() and increments pasted += count. Because the selection mutex (vc_sel.lock) is dropped inside the loop Whenever the line discipline buffer fills up and paste_selection() sleeps on tty->write_wait, a concurrent TIOCLINUX (TIOCL_SETSEL) ioctl can replace vc_sel.buffer with a shorter selection and reduce vc_sel.buf_len below pasted. When paste_selection() resumes, vc_sel.buf_len - pasted underflows as an unsigned integer to a large positive value, causing tty_ldisc_receive_buf(ld, vc_sel.buffer + pasted, NULL, count) to read up to 4094 bytes out-of-bounds past the newly allocated vc_sel.buffer. Fix this by terminating the loop when pasted >= vc_sel.buf_len. Kernel stack trace (Linux 7.3.0-rc3): ================================================================== BUG: KASAN: slab-out-of-bounds in n_tty_receive_buf_common+0xa01/0x1650 Read of size 4094 at addr ffff888101c58010 by task kworker/u17:1/65 Workqueue: events_unbound flush_to_ldisc Call Trace: <TASK> dump_stack_lvl+0x70/0xa0 print_report+0x153/0x4c6 kasan_report+0xf1/0x120 kasan_check_range+0x11c/0x200 __asan_memcpy+0x29/0x70 n_tty_receive_buf_common+0xa01/0x1650 tty_ldisc_receive_buf+0x66/0x110 tty_port_default_receive_buf+0x6b/0xb0 flush_to_ldisc+0x1b4/0x410 process_one_work+0x6ff/0x1110 worker_thread+0x4a8/0xb70 kthread+0x307/0x3e0 ret_from_fork+0x3ed/0x680 </TASK> ==================================================================

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 037d7e3ca5c593092f4b0d471eb869a85cbddde0 (affected · git)e8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 619c6d7dd76fff15a9714fbf02ce299b737f01a2 (affected · git)e8c75a30a23c6ba63f4ef6895cbf41fd42f21aa2 to < 39495ef5d6f8019e62d65807f217a7ca8232727a (affected · git)54c522782fd11a720f959ee9cb5a15bb9580343d (affected · git)05c508edc9d0b44e4706d3c2cf14ee12aac210d2 (affected · git)e5be0e24ffc7f5783a3864b5b958088ed15be9e8 (affected · git)a4719f6d07b2c63223f7452c435c5f578f105cfe (affected · git)b4492f1e7456bd162714c0ec2815c2749d930844 (affected · git)9a9c13ad21a8220cb70c9807a920f43520515f94 (affected · git)8c368d36878e2fc99285279fc5e14b3d3cb8947c (affected · git)3.16.83 to < 3.17 (affected · semver)4.4.216 to < 4.5 (affected · semver)4.9.216 to < 4.10 (affected · semver)4.14.173 to < 4.15 (affected · semver)4.19.109 to < 4.20 (affected · semver)5.4.25 to < 5.5 (affected · semver)5.5.9 to < 5.6 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.6 (affected)0 to < 5.6 (unaffected · semver)6.18.56 through 6.18.* (unaffected · semver)7.2.10 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paste_selection()

Provenance

Schema
5.2
Searchable
yes
Content hash
a09d6d30698f7c7462d98a1361bb06b9cc069e00b2c018ad3ea78aa1850b6595
Ingested
19 Oct 2026, 09:36:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected