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

Published Jul 19, 2026
·
Updated

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

vcscreen: fix null-ptr-deref in vcsnotifier() during concurrent vcswrite

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

BUG: KASAN: null-ptr-deref in vcsnotifier+0x98/0x130 Read of size 2 at addr qmpcmdname: qmpcapabilities, arguments: {}

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

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

Affected Software

20 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=4.14.327<4.15
Linux Linux kernel>=4.19.284<4.20
Linux Linux kernel>=5.4.244<5.5
Linux Linux kernel>=5.10.181<5.10.260
Linux Linux kernel>=5.15.113<5.15.211
Linux Linux kernel>=6.1.30<6.1.177
Linux Linux kernel>=6.3.4<6.4
Linux Linux kernel>=6.4.1<6.6.144
Linux Linux kernel>=6.7<6.12.95
Linux Linux kernel>=6.13<6.18.37
Linux Linux kernel>=6.19<7.0.14
Linux Linux kernel>=7.1<7.1.2
Linux Linux kernel=6.4
Linux Linux kernel=6.4-rc3
Linux Linux kernel=6.4-rc4
Linux Linux kernel=6.4-rc5
Linux Linux kernel=6.4-rc6
Linux Linux kernel=6.4-rc7
Microsoft azl3 kernel 6.6.143.1-1<6.6.150.1-1
6.6.150.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.150.1-1
  2. Configuration

    Fix the kernel race by adding a NULL check for vc before calling vcs_scr_updated() in vcs_notifier(), and ensure vcs_vc() is called again after the loop to re-validate the pointer before vcs_notifier dereferences param->vc.

    Linux kernel (vcs notifier / vcs_write) Add NULL checks and re-validate vc pointer (vcs_vc) before notifier dereference = implemented

Event History

Jul 19, 2026
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
Description
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 20, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:07 AM
Affected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-53385?

CVE-2026-53385 has a medium severity rating of 5.5 according to CVSS 3.1.

2

How do I fix CVE-2026-53385?

To fix CVE-2026-53385, update the Linux kernel to the latest version that includes the patch addressing the null pointer dereference.

3

What type of vulnerability is CVE-2026-53385?

CVE-2026-53385 is classified as a race condition and a null pointer dereference issue in the Linux kernel.

4

What happens if CVE-2026-53385 is exploited?

If CVE-2026-53385 is exploited, it may lead to a null pointer dereference resulting in a kernel crash.

5

When was CVE-2026-53385 published?

CVE-2026-53385 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203