All vulnerabilities

Servers and applications

CVE-2026-53385

vc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write

Severity
Unrated
Published
19 Jul 2026
Last changed
6 Nov 2026
Added to UpHeron
6 Nov 2026
Fixed in
6.4, 6.6.144, 6.12.95, 6.18.37, 7.0.14, 7.1.2
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

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

A KASAN null-ptr-deref was observed in vcs_notifier():

BUG: KASAN: null-ptr-deref in vcs_notifier+0x98/0x130 Read of size 2 at addr qmp_cmd_name: qmp_capabilities, arguments: {}

The issue is a race condition in vcs_write(). When the console_lock is temporarily dropped (to copy data from userspace), the vc_data pointer obtained from vcs_vc() may become stale. After re-acquiring the lock, vcs_vc() is called again to re-validate the pointer. If the vc has been deallocated in the meantime, vcs_vc() returns NULL, and the while loop breaks (with written > 0). However, after the loop, vcs_scr_updated(vc) is still called with the now-NULL vc pointer, leading to a null pointer dereference in the notifier chain (vcs_notifier dereferences param->vc).

Fix this by adding a NULL check for vc before calling vcs_scr_updated().

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 7.1 before 7.1.2
  • From 6.19 before 7.0.14
  • From 6.13 before 6.18.37
  • From 6.7 before 6.12.95
All 15 release lines
  • From 4.14.327 before 4.15
  • From 4.19.284 before 4.20
  • From 5.4.244 before 5.5
  • From 5.10.181 before 5.10.260
  • From 5.11 before 5.15.211
  • From 5.15.113 before 5.15.211
  • From 5.16 before 6.1.177
  • From 6.1.30 before 6.1.177
  • From 6.2 before 6.6.144
  • From 6.3.4 before 6.4
  • From 6.4 before 5.10.260
  • From 6.7 before 6.12.95
  • From 6.13 before 6.18.37
  • From 6.19 before 7.0.14
  • From 7.1 before 7.1.2

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53385