PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31742 Linux CVE debrief

A Linux kernel vulnerability allows for a kernel oops when handling console resize operations after switching between alternate screens. The issue arises when the console dimensions change while in the alternate screen, causing a stale unicode buffer to be restored. This leads to a kernel oops when operations iterate over the unicode buffer using the current dimensions. System administrators and security teams should assess exposure and apply patches or updates. The vulnerability impacts system stability and security, particularly in environments with untrusted input or elevated privileges.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-01
Original CVE updated
2026-10-19
Advisory published
2026-05-01
Advisory updated
2026-10-19

Who should care

System administrators and security teams responsible for Linux systems, particularly those with untrusted input or elevated privileges, should assess exposure and apply patches or updates. The vulnerability impacts system stability and security, especially in environments where console resize operations are common or where system uptime is critical. Security teams should prioritize patching systems with untrusted input or elevated privileges.

Why it matters

The Linux kernel vulnerability CVE-2026-31742 allows for a kernel oops when handling console resize operations after switching between alternate screens, impacting system stability and security.

  • Verify console resize operations are properly handled
  • Assess exposure of Linux systems to potential kernel oops
  • Prioritize patching systems with untrusted input or elevated privileges

Technical summary

The Linux kernel vulnerability occurs when the console dimensions change while in the alternate screen, causing a stale unicode buffer to be restored, leading to a kernel oops. The vulnerability allows for a kernel oops when handling console resize operations after switching between alternate screens. This happens because vc_do_resize() skips reallocating the unicode buffer when vc_uni_lines is NULL, but vc_saved_uni_lines still points to the old buffer allocated for the original dimensions. When leave_alt_screen() restores vc_saved_uni_lines, the buffer dimensions no longer match vc_rows/vc_cols.

Defensive priority

Apply patches or updates from Linux to address the vulnerability, prioritizing systems with untrusted input or elevated privileges.

Recommended defensive actions

  • Apply patches or updates from Linux to address the vulnerability
  • Prioritize patching systems with untrusted input or elevated privileges
  • Review system logs for signs of exploitation
  • Verify console resize operations are properly handled
  • Assess exposure of Linux systems to potential kernel oops
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including a description of the issue and affected versions. The Linux kernel vulnerability occurs when the console dimensions change while in the alternate screen, causing a stale unicode buffer to be restored, leading to a kernel oops. The vulnerability allows for a kernel oops when handling console resize operations after switching between alternate screens. The issue is resolved by checking whether the console dimensions changed while in the alternate screen and,

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31742 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31742

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31742 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31742

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • vt: discard stale unicode buffer on alt screen exit after resize

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/31xxx/CVE-2026-31742.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/891d790fdb5c96c6e1d2841e06ee6c360f2d1288

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/428fdf55301e6c8fa5a36b426240797b1cf86570

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/40014493cece72a0be5672cd86763e53fb3ec613

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.